| | |
| | | @PostMapping("/confirm") |
| | | @Operation(summary = "预约确认") |
| | | @PreAuthorize("@ss.hasPermission('ecg:appointment:confirm')") |
| | | public CommonResult<String> appointmentConfirm(@RequestBody AppointmentConfirmReqVO confirmReqVO) { |
| | | appointmentService.appoitmentConfirm( confirmReqVO ); |
| | | return success("确认成功"); |
| | | public CommonResult<Integer> appointmentConfirm(@RequestBody AppointmentConfirmReqVO confirmReqVO) { |
| | | confirmReqVO.setIsVip(0); |
| | | Integer newSeqNo = appointmentService.appoitmentConfirm( confirmReqVO ); |
| | | return success(newSeqNo); |
| | | } |
| | | |
| | | @PostMapping("/confirm-vip") |
| | | @Operation(summary = "VIP预约确认") |
| | | @PreAuthorize("@ss.hasPermission('ecg:appointment:confirm')") |
| | | public CommonResult<Integer> appointmentConfirmVip(@RequestBody AppointmentConfirmReqVO confirmReqVO) { |
| | | confirmReqVO.setIsVip(1); |
| | | Integer newSeqNo = appointmentService.appoitmentConfirm( confirmReqVO ); |
| | | return success(newSeqNo); |
| | | } |
| | | |
| | | } |