From 12c97309b50530c8c7f9c6d48641c79d07a44b2b Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 30 十月 2024 17:18:49 +0800 Subject: [PATCH] update --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/appointment/AppointmentService.java | 24 ++++++++++++++++++------ 1 files changed, 18 insertions(+), 6 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..24c35fc 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,12 @@ 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 cn.lihu.jh.module.ecg.feign.dto.AppointmentExternal; + +import javax.validation.Valid; /** * 棰勭害 Service 鎺ュ彛 @@ -20,7 +21,7 @@ * @param createReqVO 鍒涘缓淇℃伅 * @return 缂栧彿 */ - Integer createAppointment(@Valid AppointmentSaveReqVO createReqVO); + Long createAppointment(@Valid AppointmentSaveReqVO createReqVO); /** * 鏇存柊棰勭害 @@ -34,7 +35,7 @@ * * @param id 缂栧彿 */ - void deleteAppointment(Integer id); + void deleteAppointment(Long id); /** * 鑾峰緱棰勭害 @@ -42,7 +43,15 @@ * @param id 缂栧彿 * @return 棰勭害 */ - AppointmentDO getAppointment(Integer id); + AppointmentDO getAppointment(Long id); + + /** + * 鑾峰緱棰勭害 + * + * @param id 缂栧彿 + * @return 棰勭害 + */ + AppointmentDO getAppointmentByPatId(String patId); /** * 鑾峰緱棰勭害鍒嗛〉 @@ -52,4 +61,7 @@ */ PageResult<AppointmentDO> getAppointmentPage(AppointmentPageReqVO pageReqVO); -} \ No newline at end of file + AppointmentDO getAppointmentExtermal(String patId); + + String appoitmentConfirm(AppointmentConfirmReqVO appointmentConfirmReqVO); +} -- Gitblit v1.9.3