liujie
2025-05-30 535223079f6fa155feb492e1b48786ece31d3467
springcloud_k8s_panzhihuazhihuishequ/service_westcommittee/src/main/java/com/panzhihua/westcommittee/api/ProblemTypeController.java
@@ -40,8 +40,8 @@
   
   
   @GetMapping("/list")
   @ApiOperation(value = "获取问题类型列表", tags = {"三个身边后台-问题类型管理"})
   @OperLog(operModul = "三个身边后台",operType = 0, businessType = "获取问题类型列表")
   @ApiOperation(value = "获取问题类型列表", tags = {"西区纪委后台-问题类型管理"})
   @OperLog(operModul = "西区纪委后台",operType = 0, businessType = "获取问题类型列表")
   public R<IPage<ProblemType>> list(String name, Integer pageNum, Integer pageSize){
      Integer id = this.getLoginUserInfoWest().getId();
      SystemUser systemUser = systemUserService.getById(id);
@@ -54,7 +54,7 @@
   
   
   @PostMapping("/add")
   @ApiOperation(value = "添加问题类型", tags = {"三个身边后台-问题类型管理"})
   @ApiOperation(value = "添加问题类型", tags = {"西区纪委后台-问题类型管理"})
   @SysLog(operatorCategory = "添加问题类型",operId = 6)
   public R add(@RequestBody ProblemType problemType){
      Integer id = this.getLoginUserInfoWest().getId();
@@ -74,7 +74,7 @@
   
   
   @PostMapping("/edit")
   @ApiOperation(value = "编辑问题类型", tags = {"三个身边后台-问题类型管理"})
   @ApiOperation(value = "编辑问题类型", tags = {"西区纪委后台-问题类型管理"})
   @SysLog(operatorCategory = "编辑问题类型",operId = 6)
   public R edit(@RequestBody ProblemType problemType){
      Integer id = this.getLoginUserInfoWest().getId();
@@ -92,7 +92,7 @@
   
   
   @DeleteMapping("/delete/{id}")
   @ApiOperation(value = "删除问题类型", tags = {"三个身边后台-问题类型管理"})
   @ApiOperation(value = "删除问题类型", tags = {"西区纪委后台-问题类型管理"})
   @SysLog(operatorCategory = "删除问题类型",operId = 6)
   public R delete(@PathVariable("id") Integer id){
      Integer userid = this.getLoginUserInfoWest().getId();
@@ -106,11 +106,11 @@
   }
   
   @GetMapping("/getProblemTypeInfo/{id}")
   @ApiOperation(value = "获取问题类型信息", tags = {"三个身边后台-问题类型管理"})
   @ApiOperation(value = "获取问题类型信息", tags = {"西区纪委后台-问题类型管理"})
   @ApiImplicitParams({
         @ApiImplicitParam(name = "id", value = "问题类型ID", required = true, dataType = "Integer")
   })
   @OperLog(operModul = "三个身边后台",operType = 0, businessType = "获取问题类型信息")
   @OperLog(operModul = "西区纪委后台",operType = 0, businessType = "获取问题类型信息")
   public R<ProblemType> getProblemTypeInfo(@PathVariable("id") Integer id){
      ProblemType problemType = problemTypeService.getById(id);
      return R.ok(problemType);