@Repository public interface CoreRightResMapper extends BaseMapper<CoreRightRes>
限定符和类型 | 方法和说明 |
---|---|
void |
deleyeByCron(CoreRightRes record)
通过条件删除资源
(注意这个必须得有条件,否则会出现清空权限)
|
void |
deleyeByCronEx(CoreRightRes record)
通过条件删除资源
(注意这个必须得有条件,否则会出现清空权限)
|
java.util.List<CoreRightRes> |
selectByUser(CoreRightRes record)
查询用户权限
|
java.util.List<CoreRightRes> |
selectListByCondition(CoreRightRes record)
根据条件查询权限
|
java.util.List<CoreRightRes> |
selectNoAuthResByOrgid(java.lang.String orgid)
获取无权限资源
|
java.util.List<CoreRightRes> |
selectOrgidRightRes(java.lang.String orgid)
查询机构权限
|
java.util.List<CoreRightRes> |
selectUserRights(java.lang.String userId)
查询个人权限
|
deleteByPrimaryKey, insert, insertSelective, selectAll, selectByPrimaryKey, selectList, selectTotalCount, updateByPrimaryKey, updateByPrimaryKeySelective
java.util.List<CoreRightRes> selectByUser(CoreRightRes record)
record
- 资源权限实体实例void deleyeByCron(CoreRightRes record)
record
- 资源权限实体实例java.util.List<CoreRightRes> selectNoAuthResByOrgid(java.lang.String orgid)
orgid
- 机构idjava.util.List<CoreRightRes> selectOrgidRightRes(java.lang.String orgid)
orgid
- 机构idjava.util.List<CoreRightRes> selectListByCondition(CoreRightRes record)
record
- 资源权限实体实例java.util.List<CoreRightRes> selectUserRights(java.lang.String userId)
userId
- 用户IDvoid deleyeByCronEx(CoreRightRes record)
record
- 资源权限实体实例