From 6bef82df447efb08d05ad3d0c45585ef9b0acdb7 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期五, 01 十一月 2024 16:48:35 +0800 Subject: [PATCH] 支持 feign 处理 content-type [text/plain] 返回内容 --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/appointment/AppointmentService.java | 24 +++++++++++++++++------- 1 files changed, 17 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 bc245a7..279bfe1 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,7 +3,6 @@ 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; @@ -20,7 +19,7 @@ * @param createReqVO 鍒涘缓淇℃伅 * @return 缂栧彿 */ - Integer createAppointment(@Valid AppointmentSaveReqVO createReqVO); + Long createAppointment(@Valid AppointmentSaveReqVO createReqVO); /** * 鏇存柊棰勭害 @@ -34,7 +33,7 @@ * * @param id 缂栧彿 */ - void deleteAppointment(Integer id); + void deleteAppointment(Long id); /** * 鑾峰緱棰勭害 @@ -42,15 +41,23 @@ * @param id 缂栧彿 * @return 棰勭害 */ - AppointmentDO getAppointment(Integer id); + AppointmentDO getAppointment(Long id); + + /** + * 鑾峰緱褰撳ぉ鐨勯绾� 鏍规嵁PatID + * + * @param patId 缂栧彿 + * @return 棰勭害 + */ + AppointmentDO getCurAppointmentByPatId(String patId); /** * 鑾峰緱棰勭害 * - * @param id 缂栧彿 + * @param patId 缂栧彿 * @return 棰勭害 */ - AppointmentDO getAppointmentByPatId(String patId); + AppointmentDO queryAndCreateAppointmentByPatId(String patId); /** * 鑾峰緱棰勭害鍒嗛〉 @@ -60,4 +67,7 @@ */ PageResult<AppointmentDO> getAppointmentPage(AppointmentPageReqVO pageReqVO); -} \ No newline at end of file + AppointmentDO getAppointmentExtermal(String patId); + + String appoitmentConfirm(AppointmentConfirmReqVO appointmentConfirmReqVO); +} -- Gitblit v1.9.3