From 916ef47a95bb8515f90b407dc80a96a804cc3a5e Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期二, 01 四月 2025 14:11:49 +0800
Subject: [PATCH] just comment
---
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/appointment/AppointmentService.java | 33 ++++++++++++++++++++++++++-------
1 files changed, 26 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 b2b19a1..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
@@ -1,11 +1,11 @@
package cn.lihu.jh.module.ecg.service.appointment;
-import java.util.*;
-import jakarta.validation.*;
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;
+import java.util.List;
/**
* 棰勭害 Service 鎺ュ彛
@@ -20,7 +20,7 @@
* @param createReqVO 鍒涘缓淇℃伅
* @return 缂栧彿
*/
- Integer createAppointment(@Valid AppointmentSaveReqVO createReqVO);
+ Long createAppointment(@Valid AppointmentSaveReqVO createReqVO);
/**
* 鏇存柊棰勭害
@@ -34,7 +34,7 @@
*
* @param id 缂栧彿
*/
- void deleteAppointment(Integer id);
+ void deleteAppointment(Long id);
/**
* 鑾峰緱棰勭害
@@ -42,7 +42,23 @@
* @param id 缂栧彿
* @return 棰勭害
*/
- AppointmentDO getAppointment(Integer id);
+ AppointmentDO getAppointment(Long id);
+
+ /**
+ * 鑾峰緱褰撳ぉ鐨勯绾� 鏍规嵁PatID and CheckType
+ *
+ * @param patId 缂栧彿
+ * @return 棰勭害
+ */
+ AppointmentDO getCurAppointmentByPatIdAndCheckType(String patId, Integer checkType);
+
+ /**
+ * 鑾峰緱棰勭害
+ *
+ * @param patId 缂栧彿
+ * @return 棰勭害
+ */
+ List<AppointmentDO> queryAndCreateAppointmentByPatId(String patCode);
/**
* 鑾峰緱棰勭害鍒嗛〉
@@ -52,4 +68,7 @@
*/
PageResult<AppointmentDO> getAppointmentPage(AppointmentPageReqVO pageReqVO);
-}
\ No newline at end of file
+ List<AppointmentDO> getAppointmentExtermal(String patId);
+
+ Integer appoitmentConfirm(AppointmentConfirmReqVO appointmentConfirmReqVO);
+}
--
Gitblit v1.9.3