From fcfc7c0510592aade38d4ef84070e0445964334c Mon Sep 17 00:00:00 2001
From: fhx <308050795@qq.com>
Date: 星期一, 01 四月 2024 18:57:06 +0800
Subject: [PATCH] Merge branch 'fhx-prod-FDD' into master-prod-new

---
 phis-feign/src/main/java/com/hz/his/dto/user/UserTreatRecordDto.java                        |   28 +++++++
 phis-feign/src/main/java/com/hz/his/feign/service/platform/fdd/SPhipFddService.java         |   40 ++++++++++
 phis-feign/src/main/java/com/hz/his/feign/service/platform/fdd/SPhipFddSignTaskService.java |   51 ++++++++++++
 phis-feign/src/main/java/com/hz/his/dto/fdd/FddTemplateDto.java                             |   21 +++++
 phis-feign/src/main/java/com/hz/his/dto/fdd/FddDto.java                                     |   52 +++++++++++++
 phis-feign/src/main/java/com/hz/his/feign/service/platform/fdd/SPhipFddTemplateService.java |   36 +++++++++
 6 files changed, 228 insertions(+), 0 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/dto/fdd/FddDto.java b/phis-feign/src/main/java/com/hz/his/dto/fdd/FddDto.java
new file mode 100644
index 0000000..3c6f3f0
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/fdd/FddDto.java
@@ -0,0 +1,52 @@
+package com.hz.his.dto.fdd;
+
+import com.hz.his.dto.PageDto;
+import lombok.Data;
+
+/**
+ * @USER: fhx
+ * @DATE: 2024/3/6
+ **/
+@Data
+public class FddDto extends PageDto {
+
+    /** 鐢ㄦ埛鏍囪瘑 */
+    private String userId;
+    /** 鍒拌璁㈠崟id */
+    private String visitOrderId;
+    /** 闂ㄥ簵鏍囪瘑 */
+    private String shopId;
+
+    /** 绛剧讲妯℃澘ID */
+    private String signTemplateId;
+    /** 绛剧讲浠诲姟妯℃澘鍚嶇О */
+    private String signTemplateName;
+
+    /** 鐧诲綍鎿嶄綔浜鸿鑹瞚d */
+    private String loginRoleId;
+
+    /** 绛惧悕鍥剧墖璺緞 */
+    private String signImg;
+    /** 鐢ㄦ埛绫诲瀷 */
+    private Integer userType;
+    /** 鍏宠仈鏍囪瘑 */
+    private String commonId;
+
+    /** 閲嶅畾鍚戝湴鍧� */
+    private String redirectUrl;
+    /** 缂栫爜 */
+    private String codeNo;
+
+    /** 浣滃簾鍘熷洜锛岄暱搴︽渶澶�200瀛楃 */
+    private String reason;
+
+    /** 绛剧珷id */
+    private String sealId;
+
+    /** 瀹氫綅X杞翠綅缃� */
+    private String positionX;
+    /** 瀹氫綅Y杞翠綅缃� */
+    private String positionY;
+    /** 瀹氫綅椤电爜.棣栭〉浠�1寮�濮� */
+    private int positionPageNo = 1;
+}
diff --git a/phis-feign/src/main/java/com/hz/his/dto/fdd/FddTemplateDto.java b/phis-feign/src/main/java/com/hz/his/dto/fdd/FddTemplateDto.java
new file mode 100644
index 0000000..a7576c2
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/fdd/FddTemplateDto.java
@@ -0,0 +1,21 @@
+package com.hz.his.dto.fdd;
+
+import com.hz.his.dto.PageDto;
+import lombok.Data;
+
+/**
+ * @USER: fhx
+ * @DATE: 2024/3/6
+ **/
+@Data
+public class FddTemplateDto extends PageDto {
+
+    /** 妯℃澘绫诲瀷锛歞oc:鏂囨。妯℃澘/sign:绛剧讲妯℃澘 */
+    private String type;
+    /** 妯℃澘ID */
+    private String templateId;
+    /** 绛剧讲妯℃澘ID */
+    private String signTemplateId;
+    /** 鏂囨。妯℃澘ID */
+    private String docTemplateId;
+}
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..615e26d
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/user/UserTreatRecordDto.java
@@ -0,0 +1,28 @@
+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;
+
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/fdd/SPhipFddService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/fdd/SPhipFddService.java
new file mode 100644
index 0000000..76b6456
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/fdd/SPhipFddService.java
@@ -0,0 +1,40 @@
+package com.hz.his.feign.service.platform.fdd;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.PageDto;
+import com.hz.his.dto.fdd.FddDto;
+import com.hz.his.dto.marketing.MarketActivityDto;
+import com.hz.his.dto.user.UserTreatRecordDto;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.http.MediaType;
+import org.springframework.web.bind.annotation.*;
+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 = "/fdd/userFddAuthData")
+    Result userFddAuthData(@RequestBody FddDto dto);
+
+    /** 娉曞ぇ澶ф巿鏉冭璇侀摼鎺� */
+    @PostMapping(value = "/fdd/authUrl")
+    Result fddAuthUrl(@RequestBody FddDto dto);
+
+    /** 鎺堟潈鍚屾剰鍏嶉獙璇佺缃� */
+    @PostMapping(value = "/fdd/authFreeVisa")
+    Result authFreeVisa(@RequestBody FddDto dto);
+
+    /** 鏌ヨ涓汉绛惧悕鍒楄〃 */
+    @RequestMapping("/fdd/getPersonalSealList")
+    Result getPersonalSealList(@RequestBody FddDto dto);
+
+    /** 鑾峰彇绛惧悕璁剧疆鍏嶉獙璇佺閾炬帴 */
+    @RequestMapping("/fdd/getPersonalSealFreeSignUrl")
+    Result getPersonalSealFreeSignUrl(@RequestBody FddDto dto);
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/fdd/SPhipFddSignTaskService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/fdd/SPhipFddSignTaskService.java
new file mode 100644
index 0000000..99fb1fe
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/fdd/SPhipFddSignTaskService.java
@@ -0,0 +1,51 @@
+package com.hz.his.feign.service.platform.fdd;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.PageDto;
+import com.hz.his.dto.fdd.FddDto;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.http.MediaType;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.multipart.MultipartFile;
+
+/**
+ * 娉曞ぇ澶х缃蹭换鍔ervice
+ * @USER: fhx
+ * @DATE: 2023/8/2
+ **/
+@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-fdd-sign-task")
+public interface SPhipFddSignTaskService {
+
+    /** 鑾峰彇绛剧讲闂ㄥ簵淇℃伅 */
+    @PostMapping(value = "/fdd/sign/task/getSignShop")
+    Result getSignShop(@RequestBody FddDto dto);
+
+    /** 鍙戣捣妯℃澘绛剧讲浠诲姟 */
+    @PostMapping(value = "/fdd/sign/task/template/signTask")
+    Result templateSignTask(@RequestBody FddDto dto);
+
+    /** 鑾峰彇绛剧讲浠诲姟鍙備笌浜洪摼鎺� to codeNo */
+    @PostMapping(value = "/fdd/sign/task/getSignTaskActorUrlToCodeNo")
+    Result getSignTaskActorUrlToCodeNo(@RequestBody FddDto dto);
+
+    /** 鐢靛瓙鐥呭巻 - 鍙戣捣娉曞ぇ澶х缃蹭换鍔� */
+    @RequestMapping(value="/fdd/sign/task/medicalRecords/signTask",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
+    Result medicalRecordsSignTask(@RequestPart("file") MultipartFile file, @RequestParam("dataJson") String dataJson);
+
+    /** 澶勬柟鍗� - 鍙戣捣娉曞ぇ澶х缃蹭换鍔� */
+    @RequestMapping(value="/fdd/sign/task/prescription/signTask",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
+    Result prescriptionSignTask(@RequestPart("file") MultipartFile file, @RequestParam("dataJson") String dataJson);
+
+    /** 浣滃簾(鎾ら攢绛剧讲浠诲姟) */
+    @RequestMapping("/fdd/sign/task/cancelSignTask")
+    Result cancelSignTask(@RequestBody FddDto dto);
+
+    /** 鑾峰彇绛剧讲浠诲姟鏂囦欢涓嬭浇鍦板潃 */
+    @PostMapping(value = "/fdd/sign/task/getSignTaskFileUrl")
+    Result getSignTaskFileUrl(@RequestBody FddDto dto);
+
+    /** 鏌ヨ绛剧讲瀹屾垚鐨勬枃浠� */
+    @PostMapping(value = "/fdd/sign/task/signTaskGetFile")
+    Result signTaskGetFile(@RequestBody FddDto dto);
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/fdd/SPhipFddTemplateService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/fdd/SPhipFddTemplateService.java
new file mode 100644
index 0000000..9c2e47a
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/fdd/SPhipFddTemplateService.java
@@ -0,0 +1,36 @@
+package com.hz.his.feign.service.platform.fdd;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.PageDto;
+import com.hz.his.dto.fdd.FddDto;
+import com.hz.his.dto.fdd.FddTemplateDto;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.http.MediaType;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.multipart.MultipartFile;
+
+/**
+ * 娉曞ぇ澶фā鏉跨鐞唖ervice
+ * @USER: fhx
+ * @DATE: 2023/8/2
+ **/
+@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-fdd-template")
+public interface SPhipFddTemplateService {
+
+    /** 娉曞ぇ澶х缃叉ā鏉垮垪琛� */
+    @PostMapping(value = "/fdd/template/signTemplateList")
+    Result signTemplateList(@RequestBody FddTemplateDto dto);
+
+    /** 鑾峰彇妯℃澘棰勮閾炬帴 */
+    @PostMapping(value = "/fdd/template/getTemplatePreviewUrl")
+    Result getTemplatePreviewUrl(@RequestBody FddTemplateDto dto);
+
+    /** 绛剧讲浠诲姟妯℃澘璇︽儏 */
+    @PostMapping(value = "/fdd/template/signTemplateDetail")
+    Result signTemplateDetail(@RequestBody FddTemplateDto dto);
+
+    /** 鏂囨。妯℃澘璇︽儏 */
+    @PostMapping(value = "/fdd/template/docTemplateDetail")
+    Result docTemplateDetail(@RequestBody FddTemplateDto dto);
+
+}

--
Gitblit v1.8.0