| | |
| | | |
| | | @GetMapping("/detail") |
| | | @ApiOperation("工单详情") |
| | | public R<ComplaintVO> detail(@ApiParam(name = "id", value = "工单id", required = true) Long id) { |
| | | public R<ComplaintVO> detail(Long id) { |
| | | return R.ok(complaintService.detail(id,getLoginUserInfo())); |
| | | } |
| | | |
| | |
| | | @ApiOperation(value = "分配诉求") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "complainId", value = "诉求id", required = true), |
| | | @ApiImplicitParam(name = "userId", value = "单位id", required = true) |
| | | @ApiImplicitParam(name = "deptId", value = "单位id", required = true) |
| | | }) |
| | | public R<?> assignComplain(@RequestParam Long complainId,@RequestParam Integer deptId) { |
| | | complaintService.assignComplain(getLoginUserInfo(),complainId,deptId); |