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

---
 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/appointment/AppointmentService.java |   22 ++++++++++++++--------
 1 files changed, 14 insertions(+), 8 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 85e7c4b..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,8 +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 cn.lihu.jh.module.ecg.feign.dto.AppointmentExternal;
 
 import javax.validation.Valid;
 
@@ -21,7 +19,7 @@
      * @param createReqVO 鍒涘缓淇℃伅
      * @return 缂栧彿
      */
-    Integer createAppointment(@Valid AppointmentSaveReqVO createReqVO);
+    Long createAppointment(@Valid AppointmentSaveReqVO createReqVO);
 
     /**
      * 鏇存柊棰勭害
@@ -35,7 +33,7 @@
      *
      * @param id 缂栧彿
      */
-    void deleteAppointment(Integer id);
+    void deleteAppointment(Long id);
 
     /**
      * 鑾峰緱棰勭害
@@ -43,15 +41,23 @@
      * @param id 缂栧彿
      * @return 棰勭害
      */
-    AppointmentDO getAppointment(Integer id);
+    AppointmentDO getAppointment(Long id);
+
+    /**
+     * 鑾峰緱褰撳ぉ鐨勯绾� 鏍规嵁PatID
+     *
+     * @param patId 缂栧彿
+     * @return 棰勭害
+     */
+    AppointmentDO getCurAppointmentByPatId(String patId);
 
     /**
      * 鑾峰緱棰勭害
      *
-     * @param id 缂栧彿
+     * @param patId 缂栧彿
      * @return 棰勭害
      */
-    AppointmentDO getAppointmentByPatId(String patId);
+    AppointmentDO queryAndCreateAppointmentByPatId(String patId);
 
     /**
      * 鑾峰緱棰勭害鍒嗛〉
@@ -61,7 +67,7 @@
      */
     PageResult<AppointmentDO> getAppointmentPage(AppointmentPageReqVO pageReqVO);
 
-    AppointmentDO getAppointmentExtermal(String mzzyh);
+    AppointmentDO getAppointmentExtermal(String patId);
 
     String appoitmentConfirm(AppointmentConfirmReqVO appointmentConfirmReqVO);
 }

--
Gitblit v1.9.3