mirror of https://gitee.com/xiaonuobase/snowy
【更新】去除误提交
parent
bc37ff08d7
commit
330cd62dcc
|
@ -276,17 +276,4 @@ public class SysRoleController {
|
|||
public CommonResult<List<SysUser>> userSelector(SysRoleSelectorUserParam sysRoleSelectorUserParam) {
|
||||
return CommonResult.data(sysRoleService.userSelector(sysRoleSelectorUserParam));
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取用户选择器
|
||||
*
|
||||
* @author jax
|
||||
* @date 2022/10/18 20:00
|
||||
*/
|
||||
@ApiOperationSupport(order = 17)
|
||||
@ApiOperation("获取页面统计数据")
|
||||
@GetMapping("/sys/role/summary")
|
||||
public CommonResult<SysRole> summary(SysRolePageParam sysRolePageParam) {
|
||||
return CommonResult.data(sysRoleService.summary(sysRolePageParam));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -69,6 +69,7 @@ public class SysRoleGrantResourceTreeResult {
|
|||
/** 标题 */
|
||||
@ApiModelProperty(value = "菜单标题", position = 4)
|
||||
private String title;
|
||||
|
||||
/** 模块 */
|
||||
@ApiModelProperty(value = "菜单模块", position = 5)
|
||||
private String module;
|
||||
|
|
|
@ -169,12 +169,4 @@ public interface SysRoleService extends IService<SysRole> {
|
|||
* @date 2022/8/22 13:39
|
||||
**/
|
||||
List<SysUser> userSelector(SysRoleSelectorUserParam sysRoleSelectorUserParam);
|
||||
|
||||
/**
|
||||
* 获取页面统计数据
|
||||
*
|
||||
* @author jax
|
||||
* @date 2022/8/22 13:39
|
||||
**/
|
||||
SysRole summary(SysRolePageParam sysRolePageParam);
|
||||
}
|
||||
|
|
|
@ -405,14 +405,6 @@ public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> impl
|
|||
return sysUserService.list(lambdaQueryWrapper);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SysRole summary(SysRolePageParam sysRolePageParam) {
|
||||
// 实现自己业务逻辑计算 以下是伪代码
|
||||
SysRole sysRole = new SysRole();
|
||||
sysRole.setSortCode(2000);
|
||||
return sysRole;
|
||||
}
|
||||
|
||||
/* ====以下为各种递归方法==== */
|
||||
|
||||
public JSONObject getParentNode(List<Tree<String>> treeList, SysMenu sysMenu) {
|
||||
|
|
Loading…
Reference in New Issue