| | |
| | | @PostMapping("/routine-finish") |
| | | @Operation(summary = "") |
| | | @PreAuthorize("@ss.hasPermission('ecg:doctor:task')") |
| | | public CommonResult<Long> routineFinish(@Valid @RequestBody DevRentSaveReqVO createReqVO) { |
| | | public CommonResult<Long> routineFinish(@Valid @RequestBody RoutineFinishReqVO routineFinishReqVO) { |
| | | try { |
| | | CommonResult<Long> result = devRentService.routineFinishOperation(createReqVO); |
| | | CommonResult<Long> result = devRentService.routineFinishOperation(routineFinishReqVO); |
| | | return result; |
| | | } catch ( RuntimeException runtimeException ) { |
| | | String err = ExceptionUtils.formatException( runtimeException ); |
| | | log.error("checkFinish: " + err); |
| | | log.error("routineFinish: " + err); |
| | | return CommonResult.error(DEV_INSTALL_EXCEPTION); |
| | | } |
| | | } |