@Repository public class SysRoleUserDao extends BaseDao<SysRoleUser>
idWorker, log, ORDERTYPE_ASC, ORDERTYPE_DESC, sessionFactory
构造器和说明 |
---|
SysRoleUserDao() |
限定符和类型 | 方法和说明 |
---|---|
int |
deleteByRoleId(java.lang.Integer roleId) |
int |
deleteByUserId(java.lang.Long userId) |
PageHandler |
getPage(java.lang.Integer roleId,
java.lang.Long userId,
java.lang.Integer pageIndex,
java.lang.Integer pageSize) |
protected SysRoleUser |
init(SysRoleUser entity) |
batchWork, batchWork, count, countResult, delete, delete, delete, getEntity, getEntity, getEntity, getEntityClass, getEntityList, getEntitys, getEntitys, getEntitys, getEntitys, getFacetPage, getFacetPage, getId, getList, getList, getPage, getPage, getPage, getPage, getPage, getPage, getPage, getQueryHandler, getQueryHandler, getSearchBackend, getSearchPredicateFactory, getSearchSession, getSession, higtLighter, index, like, reCreateIndex, rightLike, save, update
public PageHandler getPage(java.lang.Integer roleId, java.lang.Long userId, java.lang.Integer pageIndex, java.lang.Integer pageSize)
roleId
- userId
- pageIndex
- pageSize
- public int deleteByRoleId(java.lang.Integer roleId)
roleId
- public int deleteByUserId(java.lang.Long userId)
userId
- protected SysRoleUser init(SysRoleUser entity)
init
在类中 BaseDao<SysRoleUser>