@Repository public class SysRoleModuleDao extends BaseDao<SysRoleModule>
idWorker, log, ORDERTYPE_ASC, ORDERTYPE_DESC, sessionFactory
构造器和说明 |
---|
SysRoleModuleDao() |
限定符和类型 | 方法和说明 |
---|---|
int |
deleteByModuleId(java.lang.String moduleId) |
int |
deleteByRoleId(java.lang.Integer roleId) |
SysRoleModule |
getEntity(java.lang.Integer[] roleIds,
java.lang.String moduleId) |
java.util.List<SysRoleModule> |
getEntitys(java.lang.Integer[] roleIds,
java.lang.String[] moduleIds) |
PageHandler |
getPage(java.lang.Integer roleId,
java.lang.String moduleId,
java.lang.Integer pageIndex,
java.lang.Integer pageSize) |
protected SysRoleModule |
init(SysRoleModule 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.String moduleId, java.lang.Integer pageIndex, java.lang.Integer pageSize)
roleId
- moduleId
- pageIndex
- pageSize
- public SysRoleModule getEntity(java.lang.Integer[] roleIds, java.lang.String moduleId)
roleIds
- moduleId
- public java.util.List<SysRoleModule> getEntitys(java.lang.Integer[] roleIds, java.lang.String[] moduleIds)
roleIds
- moduleIds
- public int deleteByRoleId(java.lang.Integer roleId)
roleId
- public int deleteByModuleId(java.lang.String moduleId)
moduleId
- protected SysRoleModule init(SysRoleModule entity)
init
在类中 BaseDao<SysRoleModule>