From 46ef502ded6eddfb5824f15ea1728273a68fd39c Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 31 十月 2024 17:16:16 +0800
Subject: [PATCH] update

---
 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/appointment/AppointmentService.java |   28 +++++++++++++++++++++++-----
 1 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/appointment/AppointmentService.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/appointment/AppointmentService.java
index 014ccf2..279bfe1 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/appointment/AppointmentService.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/appointment/AppointmentService.java
@@ -3,7 +3,6 @@
 import cn.lihu.jh.module.ecg.controller.admin.appointment.vo.*;
 import cn.lihu.jh.module.ecg.dal.dataobject.appointment.AppointmentDO;
 import cn.lihu.jh.framework.common.pojo.PageResult;
-import cn.lihu.jh.framework.common.pojo.PageParam;
 
 import javax.validation.Valid;
 
@@ -20,7 +19,7 @@
      * @param createReqVO 鍒涘缓淇℃伅
      * @return 缂栧彿
      */
-    Integer createAppointment(@Valid AppointmentSaveReqVO createReqVO);
+    Long createAppointment(@Valid AppointmentSaveReqVO createReqVO);
 
     /**
      * 鏇存柊棰勭害
@@ -34,7 +33,7 @@
      *
      * @param id 缂栧彿
      */
-    void deleteAppointment(Integer id);
+    void deleteAppointment(Long id);
 
     /**
      * 鑾峰緱棰勭害
@@ -42,7 +41,23 @@
      * @param id 缂栧彿
      * @return 棰勭害
      */
-    AppointmentDO getAppointment(Integer id);
+    AppointmentDO getAppointment(Long id);
+
+    /**
+     * 鑾峰緱褰撳ぉ鐨勯绾� 鏍规嵁PatID
+     *
+     * @param patId 缂栧彿
+     * @return 棰勭害
+     */
+    AppointmentDO getCurAppointmentByPatId(String patId);
+
+    /**
+     * 鑾峰緱棰勭害
+     *
+     * @param patId 缂栧彿
+     * @return 棰勭害
+     */
+    AppointmentDO queryAndCreateAppointmentByPatId(String patId);
 
     /**
      * 鑾峰緱棰勭害鍒嗛〉
@@ -52,4 +67,7 @@
      */
     PageResult<AppointmentDO> getAppointmentPage(AppointmentPageReqVO pageReqVO);
 
-}
\ No newline at end of file
+    AppointmentDO getAppointmentExtermal(String patId);
+
+    String appoitmentConfirm(AppointmentConfirmReqVO appointmentConfirmReqVO);
+}

--
Gitblit v1.9.3