| | |
| | | /** |
| | | * 消防自查记任务表 修改 |
| | | */ |
| | | @PostMapping("/examine") |
| | | @PostMapping("/updateTaskPlaceSelfCheck") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "审核接口", notes = "传入taskPlaceSelfCheck") |
| | | public R examine(@Valid @RequestBody TaskPlaceSelfCheckVO taskPlaceSelfCheck) throws Exception { |
| | | return R.status(taskPlaceSelfCheckService.examine(taskPlaceSelfCheck)); |
| | | @ApiOperation(value = "更新自查详情接口", notes = "传入taskPlaceSelfCheck") |
| | | public R updateTaskPlaceSelfCheck(@Valid @RequestBody TaskPlaceSelfCheckVO taskPlaceSelfCheck) throws Exception { |
| | | return R.status(taskPlaceSelfCheckService.updateTaskPlaceSelfCheck(taskPlaceSelfCheck)); |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | Boolean savePlace(TaskPlaceSelfCheckVO taskPlaceSelfCheck) throws Exception; |
| | | |
| | | Boolean examine(TaskPlaceSelfCheckVO taskPlaceSelfCheck) throws Exception; |
| | | Boolean updateTaskPlaceSelfCheck(TaskPlaceSelfCheckVO taskPlaceSelfCheck) throws Exception; |
| | | } |
| | |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public Boolean examine(TaskPlaceSelfCheckVO taskPlaceSelfCheck) throws Exception { |
| | | public Boolean updateTaskPlaceSelfCheck(TaskPlaceSelfCheckVO taskPlaceSelfCheck) throws Exception { |
| | | // 1.更新任务表 |
| | | ITaskService bean2 = SpringUtils.getBean(ITaskService.class); |
| | | Long aLong = bean2.updateTask(null, null, null, taskPlaceSelfCheck.getReasonFailure(), AuthUtil.getUserId(), taskPlaceSelfCheck.getTaskId(), taskPlaceSelfCheck.getStatus()); |