|
|
|
@ -20,7 +20,8 @@ import java.util.List;
|
|
|
|
|
public interface SysRoleMapper extends BaseMapperPlus<SysRole, SysRoleVo> {
|
|
|
|
|
|
|
|
|
|
@DataPermission({
|
|
|
|
|
@DataColumn(key = "deptName", value = "d.dept_id")
|
|
|
|
|
@DataColumn(key = "deptName", value = "d.dept_id"),
|
|
|
|
|
@DataColumn(key = "userName", value = "r.create_by")
|
|
|
|
|
})
|
|
|
|
|
Page<SysRoleVo> selectPageRoleList(@Param("page") Page<SysRole> page, @Param(Constants.WRAPPER) Wrapper<SysRole> queryWrapper);
|
|
|
|
|
|
|
|
|
@ -31,12 +32,14 @@ public interface SysRoleMapper extends BaseMapperPlus<SysRole, SysRoleVo> {
|
|
|
|
|
* @return 角色数据集合信息
|
|
|
|
|
*/
|
|
|
|
|
@DataPermission({
|
|
|
|
|
@DataColumn(key = "deptName", value = "d.dept_id")
|
|
|
|
|
@DataColumn(key = "deptName", value = "d.dept_id"),
|
|
|
|
|
@DataColumn(key = "userName", value = "r.create_by")
|
|
|
|
|
})
|
|
|
|
|
List<SysRoleVo> selectRoleList(@Param(Constants.WRAPPER) Wrapper<SysRole> queryWrapper);
|
|
|
|
|
|
|
|
|
|
@DataPermission({
|
|
|
|
|
@DataColumn(key = "deptName", value = "d.dept_id")
|
|
|
|
|
@DataColumn(key = "deptName", value = "d.dept_id"),
|
|
|
|
|
@DataColumn(key = "userName", value = "r.create_by")
|
|
|
|
|
})
|
|
|
|
|
SysRoleVo selectRoleById(Long roleId);
|
|
|
|
|
|
|
|
|
|