From a156ddbb26693b8040f9dbbd7582a12c1fc8d61b Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 07 十一月 2024 17:04:47 +0800
Subject: [PATCH] 预约序号

---
 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/AppointmentController.java |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/AppointmentController.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/AppointmentController.java
index fa03b89..4bc8001 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/AppointmentController.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/AppointmentController.java
@@ -143,9 +143,19 @@
     @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);
     }
 
 }

--
Gitblit v1.9.3