liujie
2025-05-30 535223079f6fa155feb492e1b48786ece31d3467
springcloud_k8s_panzhihuazhihuishequ/service_westcommittee/src/main/java/com/panzhihua/westcommittee/api/SystemRoleController.java
@@ -38,8 +38,8 @@
   
   
   @GetMapping("/list")
   @ApiOperation(value = "获取列表数据", tags = {"三个身边后台-角色管理"})
   @OperLog(operModul = "三个身边后台",operType = 0,businessType = "获取角色列表数据")
   @ApiOperation(value = "获取列表数据", tags = {"西区纪委后台-角色管理"})
   @OperLog(operModul = "西区纪委后台",operType = 0,businessType = "获取角色列表数据")
   public R<IPage<SystemRoleListVo>> list(SystemRoleList systemRoleList){
      IPage<SystemRoleListVo> list = systemRoleService.list(systemRoleList);
      return R.ok(list);
@@ -48,7 +48,7 @@
   
   
   @PostMapping("/add")
   @ApiOperation(value = "添加角色", tags = {"三个身边后台-角色管理"})
   @ApiOperation(value = "添加角色", tags = {"西区纪委后台-角色管理"})
   @SysLog(operatorCategory = "添加角色",operId = 3)
   public R add(@RequestBody AddSystemRole addSystemRole){
      long count = systemRoleService.count(new LambdaQueryWrapper<SystemRole>().eq(SystemRole::getDel, 0).eq(SystemRole::getName, addSystemRole.getName()));
@@ -72,7 +72,7 @@
   }
   
   @PostMapping("/edit")
   @ApiOperation(value = "编辑角色", tags = {"三个身边后台-角色管理"})
   @ApiOperation(value = "编辑角色", tags = {"西区纪委后台-角色管理"})
   @SysLog(operatorCategory = "编辑角色",operId = 3)
   public R edit(@RequestBody EditSystemRole editSystemRole){
      long count = systemRoleService.count(new LambdaQueryWrapper<SystemRole>().eq(SystemRole::getDel, 0)
@@ -100,7 +100,7 @@
   
   
   @DeleteMapping("/delete/{id}")
   @ApiOperation(value = "删除角色", tags = {"三个身边后台-角色管理"})
   @ApiOperation(value = "删除角色", tags = {"西区纪委后台-角色管理"})
   @SysLog(operatorCategory = "删除角色",operId = 3)
   public R delete(@PathVariable("id") Integer id){
      SystemRole systemRole = systemRoleService.getById(id);
@@ -114,8 +114,8 @@
   
   
   @GetMapping("/getSystemRoleInfo/{id}")
   @ApiOperation(value = "获取角色详情", tags = {"三个身边后台-角色管理"})
   @OperLog(operModul = "三个身边后台",operType = 0,businessType = "获取角色详情")
   @ApiOperation(value = "获取角色详情", tags = {"西区纪委后台-角色管理"})
   @OperLog(operModul = "西区纪委后台",operType = 0,businessType = "获取角色详情")
   public R<SystemRoleInfo> getSystemRoleInfo(@PathVariable("id") Integer id){
      SystemRole systemRole = systemRoleService.getById(id);
      if(null == systemRole){