Package cn.xuanyuanli.jdbc.persistence
Interface DepartmentDao
- All Superinterfaces:
cn.xuanyuanli.jdbc.base.BaseDao<Department,BigInteger>
- Author:
- John Li
-
Method Summary
Modifier and TypeMethodDescriptionfindIdByNameLike(String name) 根据查询条件获得对象集合findIdByNameLikeAndIdIn(String name, List<Long> ids) 找到id,根据名称和idfindIdByNameLikeAndIdNotIn(String name, List<Long> ids) 根据查询条件获得对象集合longgetCountByIdGt(int id) 根据查询条件获得 总数default String获得表名字Methods inherited from interface cn.xuanyuanli.jdbc.base.BaseDao
batchUpdate, deleteById, exists, findAll, findById, findById, findIds, getPrimaryKeyName, save, saveOrUpdate, update
-
Method Details
-
getTableName
获得表名字- Specified by:
getTableNamein interfacecn.xuanyuanli.jdbc.base.BaseDao<Department,BigInteger> - Returns:
String
-
getCountByIdGt
long getCountByIdGt(int id) 根据查询条件获得 总数- Parameters:
id-invalid reference
id- Returns:
- 总数
-
findIdByNameLike
根据查询条件获得对象集合 -
findIdByNameLikeAndIdIn
找到id,根据名称和id -
findIdByNameLikeAndIdNotIn
根据查询条件获得对象集合
-