| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | /** |
| | | * 诉求录入并上报 |
| | | */ |
| | | @PostMapping("/saveAndReport") |
| | | @ApiOperation(value = "诉求录入并上报") |
| | | public R<?> saveAndReport(@Valid @RequestBody ComplaintVO complaintVO) { |
| | | complaintService.saveAndReport(complaintVO, getLoginUserInfo()); |
| | | return R.ok(); |
| | | } |
| | | |
| | | /** |
| | | * 诉求录入并办结 |
| | | */ |
| | | @PostMapping("/saveAndComplete") |
| | | @ApiOperation(value = "诉求录入并办结") |
| | | public R<?> saveAndComplete(@Valid @RequestBody ComplaintSaveAndCompleteDTO complaintVO) { |
| | | complaintService.saveAndComplete(complaintVO, getLoginUserInfo()); |
| | | return R.ok(); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 上报撤回 |
| | | */ |
| | | @PostMapping("/revoke") |
| | | @ApiOperation(value = "诉求上报撤回") |
| | | public R<?> reportWithdraw(@RequestBody ComplaintReportWithdrawDTO dto) { |
| | | complaintService.reportWithdraw(dto, getLoginUserInfo()); |
| | | return R.ok(); |
| | | } |
| | | |
| | | |
| | | @PostMapping("/list") |
| | | @ApiOperation("工单列表") |
| | | public R<Page<ComplaintVO>> complaintList(@RequestBody ComplaintQuery query) { |