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 | 25 ++++++++++++++++--------- 1 files changed, 16 insertions(+), 9 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..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 鎺ュ彛 @@ -21,7 +20,7 @@ * @param createReqVO 鍒涘缓淇℃伅 * @return 缂栧彿 */ - Integer createAppointment(@Valid AppointmentSaveReqVO createReqVO); + Long createAppointment(@Valid AppointmentSaveReqVO createReqVO); /** * 鏇存柊棰勭害 @@ -35,7 +34,7 @@ * * @param id 缂栧彿 */ - void deleteAppointment(Integer id); + void deleteAppointment(Long id); /** * 鑾峰緱棰勭害 @@ -43,15 +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 id 缂栧彿 + * @param patId 缂栧彿 * @return 棰勭害 */ - AppointmentDO getAppointmentByPatId(String patId); + List<AppointmentDO> queryAndCreateAppointmentByPatId(String patCode); /** * 鑾峰緱棰勭害鍒嗛〉 @@ -61,7 +68,7 @@ */ PageResult<AppointmentDO> getAppointmentPage(AppointmentPageReqVO pageReqVO); - AppointmentDO getAppointmentExtermal(String mzzyh); + List<AppointmentDO> getAppointmentExtermal(String patId); - String appoitmentConfirm(AppointmentConfirmReqVO appointmentConfirmReqVO); + Integer appoitmentConfirm(AppointmentConfirmReqVO appointmentConfirmReqVO); } -- Gitblit v1.9.3