From e36c1e2363e36a69a3cc8ccbc00d28b16f926abd Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期四, 07 十一月 2024 14:38:57 +0800 Subject: [PATCH] 序号表操作 --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/appointment/AppointmentService.java | 29 ++++++++++++++++++++++++----- 1 files changed, 24 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..06a5461 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,9 +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 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 + * + * @param patId 缂栧彿 + * @return 棰勭害 + */ + AppointmentDO getCurAppointmentByPatId(String patId); + + /** + * 鑾峰緱棰勭害 + * + * @param patId 缂栧彿 + * @return 棰勭害 + */ + AppointmentDO queryAndCreateAppointmentByPatId(String patCode); /** * 鑾峰緱棰勭害鍒嗛〉 @@ -52,4 +68,7 @@ */ PageResult<AppointmentDO> getAppointmentPage(AppointmentPageReqVO pageReqVO); -} \ No newline at end of file + List<AppointmentDO> getAppointmentExtermal(String patId); + + String appoitmentConfirm(AppointmentConfirmReqVO appointmentConfirmReqVO); +} -- Gitblit v1.9.3