From eb18b583a1d923e7b0de24597d6c72a64f2411da Mon Sep 17 00:00:00 2001
From: fhx <308050795@qq.com>
Date: 星期一, 26 二月 2024 11:03:32 +0800
Subject: [PATCH] 1.新增法大大功能代码

---
 phis-feign/src/main/java/com/hz/his/dto/user/UserTreatRecordDto.java            |   35 +++++++++++++++++
 phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipFddService.java |   42 +++++++++++++++++++++
 2 files changed, 77 insertions(+), 0 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/dto/user/UserTreatRecordDto.java b/phis-feign/src/main/java/com/hz/his/dto/user/UserTreatRecordDto.java
new file mode 100644
index 0000000..82afb18
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/user/UserTreatRecordDto.java
@@ -0,0 +1,35 @@
+package com.hz.his.dto.user;
+
+import com.hz.his.dto.PageDto;
+import lombok.Data;
+
+/**
+ * 鐢ㄦ埛娌荤枟妗fdto
+ * @USER: fhx
+ * @DATE: 2024/2/23
+ **/
+@Data
+public class UserTreatRecordDto extends PageDto {
+
+    /** 鐢ㄦ埛鏍囪瘑 */
+    private String userId;
+    /** 鍒拌璁㈠崟id */
+    private String visitOrderId;
+    /** 寮�濮嬫椂闂� */
+    private String startTime;
+    /** 缁撴潫鏃堕棿 */
+    private String endTime;
+    /** 鐥呭巻绫诲瀷(瀛楀吀鑾峰彇) */
+    private String recordsType;
+    /** 澶勬柟绫诲瀷锛�1:鏅�氬鏂� 2:闈炴櫘閫氬鏂癸級 */
+    private Integer prescriptionType;
+
+    /** 绛剧讲妯℃澘ID */
+    private String signTemplateId;
+    /** 绛剧讲浠诲姟妯℃澘鍚嶇О */
+    private String signTemplateName;
+
+    /** 鐧诲綍鎿嶄綔浜鸿鑹瞚d */
+    private String loginRoleId;
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipFddService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipFddService.java
new file mode 100644
index 0000000..02da85c
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipFddService.java
@@ -0,0 +1,42 @@
+package com.hz.his.feign.service.platform;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.PageDto;
+import com.hz.his.dto.marketing.MarketActivityDto;
+import com.hz.his.dto.user.UserTreatRecordDto;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.multipart.MultipartFile;
+
+/**
+ * 娉曞ぇ澶ervice
+ * @USER: fhx
+ * @DATE: 2023/8/2
+ **/
+@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-fdd")
+public interface SPhipFddService {
+
+    /** 娉曞ぇ澶х缃叉ā鏉垮垪琛� */
+    @PostMapping(value = "/signTemplateList")
+    Result signTemplateList(@RequestBody PageDto dto);
+
+    /** 娉曞ぇ澶ф巿鏉冭璇侀摼鎺� */
+    @PostMapping(value = "/authUrl")
+    Result fddAuthUrl(@RequestBody UserTreatRecordDto dto);
+
+    /** 鍙戣捣娌荤枟鍚屾剰涔︾缃蹭换鍔� */
+    @PostMapping(value = "/template/signTask")
+    Result templateSignTask(@RequestBody UserTreatRecordDto dto);
+
+    /** 鐢靛瓙鐥呭巻 - 鍙戣捣娉曞ぇ澶х缃蹭换鍔� */
+    @RequestMapping("/medicalRecords/signTask")
+    Result medicalRecordsSignTask(MultipartFile file, String id, String loginRoleId);
+
+    /** 澶勬柟鍗� - 鍙戣捣娉曞ぇ澶х缃蹭换鍔� */
+    @RequestMapping("/prescription/signTask")
+    Result prescriptionSignTask(MultipartFile file, String id, String loginRoleId);
+
+
+}

--
Gitblit v1.8.0