src/main/java/com/byh/biyesheji/dao/SysDao.java
(完整代码) 866Bpackage com.byh.biyesheji.dao;
/**
* 管理员模块公共方法
* @param <T>
*/
public interface SysDao<T> {
/**
* 删除数据
* @param id
* @return
*/
public int deleteByPrimaryKey(Long id);
/**
* 插入数据
* @param entity
* @return
*/
public int insert(T entity);
/**
* 动态保存数据
* @param entity
* @return
*/
public int insertSelective(T entity);
/**
* 获取单条数据
* @param id
* @return
*/
public T selectByPrimaryKey(Long id);
/**
* 更新数据
* @param entity
* @return
*/
public int updateByPrimaryKey(T entity);
/**
* 动态更新
* @param entity
* @return
*/
public int updateByPrimaryKeySelective(T entity);
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。