| | |
| | | unqualifiedHandlerFileService.downloadOAFile(handlerFileId,response); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "新增不合格处理") |
| | | @PostMapping("/addUnqualifiedHandler") |
| | | public Result addUnqualifiedHandler(@RequestBody UnqualifiedHandlerDto unqualifiedHandlerDto){ |
| | | return Result.success(unqualifiedHandlerService.addUnqualifiedHandler(unqualifiedHandlerDto)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "编辑不合格处理") |
| | | @PostMapping("/updateUnqualifiedHandler") |
| | | @ApiOperation(value = "编辑不合格处理并且推送OA") |
| | | @PostMapping("/reSubmitPushOa") |
| | | public Result updateUnqualifiedHandler(@RequestBody UnqualifiedHandlerDto unqualifiedHandlerDto){ |
| | | return Result.success(unqualifiedHandlerService.updateUnqualifiedHandler(unqualifiedHandlerDto)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "查看oa流程") |
| | | @GetMapping("/getOaFlow") |
| | |
| | | return Result.success(unqualifiedHandlerService.getOaFlow(id)); |
| | | } |
| | | |
| | | |
| | | |
| | | @ApiOperation(value = "查看不合格处理界面") |
| | | @GetMapping("/getUnqualifiedHandler") |
| | | public Result getUnqualifiedHandler(Integer id){ |
| | | return Result.success(unqualifiedHandlerService.getUnqualifiedHandler(id)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "删除不合格处理") |
| | | @DeleteMapping("/deleteUnqualifiedHandler") |