From 2bc90e242eceb83d9aa80d48ea9f991c0f9b99c6 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 12 十二月 2024 19:47:57 +0800
Subject: [PATCH] 工位选择界面 诊室按照room id排序

---
 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/appointment/AppointmentService.java |   21 ++++++++++++++-------
 1 files changed, 14 insertions(+), 7 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 24c35fc..3543317 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,10 +3,9 @@
 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;
+import java.util.List;
 
 /**
  * 棰勭害 Service 鎺ュ彛
@@ -46,12 +45,20 @@
     AppointmentDO getAppointment(Long id);
 
     /**
-     * 鑾峰緱棰勭害
+     * 鑾峰緱褰撳ぉ鐨勯绾� 鏍规嵁PatID and CheckType
      *
-     * @param id 缂栧彿
+     * @param patId 缂栧彿
      * @return 棰勭害
      */
-    AppointmentDO getAppointmentByPatId(String patId);
+    AppointmentDO getCurAppointmentByPatIdAndCheckType(String patId, Integer checkType);
+
+    /**
+     * 鑾峰緱棰勭害
+     *
+     * @param patId 缂栧彿
+     * @return 棰勭害
+     */
+    List<AppointmentDO> queryAndCreateAppointmentByPatId(String patCode);
 
     /**
      * 鑾峰緱棰勭害鍒嗛〉
@@ -61,7 +68,7 @@
      */
     PageResult<AppointmentDO> getAppointmentPage(AppointmentPageReqVO pageReqVO);
 
-    AppointmentDO getAppointmentExtermal(String patId);
+    List<AppointmentDO> getAppointmentExtermal(String patId);
 
-    String appoitmentConfirm(AppointmentConfirmReqVO appointmentConfirmReqVO);
+    Integer appoitmentConfirm(AppointmentConfirmReqVO appointmentConfirmReqVO);
 }

--
Gitblit v1.9.3