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 |   16 +++++++++++-----
 1 files changed, 11 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 24c35fc..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,8 +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 cn.lihu.jh.module.ecg.feign.dto.AppointmentExternal;
 
 import javax.validation.Valid;
 
@@ -46,12 +44,20 @@
     AppointmentDO getAppointment(Long id);
 
     /**
-     * 鑾峰緱棰勭害
+     * 鑾峰緱褰撳ぉ鐨勯绾� 鏍规嵁PatID
      *
-     * @param id 缂栧彿
+     * @param patId 缂栧彿
      * @return 棰勭害
      */
-    AppointmentDO getAppointmentByPatId(String patId);
+    AppointmentDO getCurAppointmentByPatId(String patId);
+
+    /**
+     * 鑾峰緱棰勭害
+     *
+     * @param patId 缂栧彿
+     * @return 棰勭害
+     */
+    AppointmentDO queryAndCreateAppointmentByPatId(String patId);
 
     /**
      * 鑾峰緱棰勭害鍒嗛〉

--
Gitblit v1.9.3