| | |
| | | |
| | | // 常规检查 完成 |
| | | @PostMapping("/routine-finish") |
| | | @Operation(summary = "") |
| | | @Operation(summary = "常规检查完成") |
| | | @PreAuthorize("@ss.hasPermission('ecg:doctor:task')") |
| | | public CommonResult<Long> routineFinish(@Valid @RequestBody RoutineFinishReqVO routineFinishReqVO) { |
| | | CommonResult<Long> result = devRentService.routineFinishOperation(routineFinishReqVO); |
| | | |
| | | String userNickname = SecurityFrameworkUtils.getLoginUserNickname(); |
| | | String userHisId = SecurityFrameworkUtils.getLoginUserHisId(); |
| | | Long rentId = routineFinishReqVO.getId(); |
| | | devRentService.feeConfirm(rentId, userHisId, userNickname, true); // 故意 不检查返回值 |
| | | |
| | | return result; |
| | | } |
| | | |
| | |
| | | @PreAuthorize("@ss.hasPermission('ecg:doctor:task')") |
| | | public CommonResult<Long> devReady(@Valid @RequestBody DevRentSaveReqVO createReqVO) { |
| | | CommonResult<Long> result = devRentService.readyOperation(createReqVO); |
| | | |
| | | String userNickname = SecurityFrameworkUtils.getLoginUserNickname(); |
| | | String userHisId = SecurityFrameworkUtils.getLoginUserHisId(); |
| | | Long rentId = createReqVO.getId(); |
| | | devRentService.feeConfirm(rentId, userHisId, userNickname, true); // 故意 不检查返回值 |
| | | |
| | | return result; |
| | | } |
| | | |