| | |
| | | |
| | | |
| | | @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); |
| | |
| | | |
| | | |
| | | @PostMapping("/add") |
| | | @ApiOperation(value = "添加问题类型", tags = {"三个身边后台-问题类型管理"}) |
| | | @ApiOperation(value = "添加问题类型", tags = {"西区纪委后台-问题类型管理"}) |
| | | @SysLog(operatorCategory = "添加问题类型",operId = 6) |
| | | public R add(@RequestBody ProblemType problemType){ |
| | | Integer id = this.getLoginUserInfoWest().getId(); |
| | |
| | | |
| | | |
| | | @PostMapping("/edit") |
| | | @ApiOperation(value = "编辑问题类型", tags = {"三个身边后台-问题类型管理"}) |
| | | @ApiOperation(value = "编辑问题类型", tags = {"西区纪委后台-问题类型管理"}) |
| | | @SysLog(operatorCategory = "编辑问题类型",operId = 6) |
| | | public R edit(@RequestBody ProblemType problemType){ |
| | | Integer id = this.getLoginUserInfoWest().getId(); |
| | |
| | | |
| | | |
| | | @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(); |
| | |
| | | } |
| | | |
| | | @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); |