199 Star 2 Fork 0

冰河/NUC202201

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
IUserDao.java 889 Bytes
一键复制 编辑 原始数据 按行查看 历史
史霈泽 提交于 2024-09-18 01:54 . 2213040731史霈泽day6
package com.zbdx.dao;
import com.zbdx.domain.User;
import java.sql.SQLException;
import java.util.List;
/**
* TODO 定义用户数据访问层接口
*
* @author shengyuee
* @version 1.0
* 2024/9/10 14:55
*/
public interface IUserDao {
/**
* 添加用户
* @param user
* @return
*/
int insert(User user) throws SQLException;
/**
* 修改用户
* @param user
* @return
*/
int update(User user) throws SQLException;
/**
* 根据ID删除用户信息
* @param id
* @return
*/
int deleteById(int id) throws SQLException;
/**
* 根据Id查询用户
* @param id
* @return
*/
User selectById(int id) throws SQLException;
/**
* 查询所有
* @return
*/
List<User> selectAll() throws SQLException;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wzj188/nuc202201.git
git@gitee.com:wzj188/nuc202201.git
wzj188
nuc202201
NUC202201
master

搜索帮助