From 9c39ba929e5faba2123fcfb843c0a3a18bed3ee1 Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期一, 12 十二月 2022 11:51:16 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into master-test

---
 phis-feign/src/main/java/com/hz/his/dto/file/FileExportDto.java                  |   43 +++++++++++++++++++++
 phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipFileService.java |   27 +++++++++++++
 phis-feign/src/main/java/com/hz/his/dto/file/FileExUpdateDto.java                |   24 ++++++++++++
 3 files changed, 94 insertions(+), 0 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/dto/file/FileExUpdateDto.java b/phis-feign/src/main/java/com/hz/his/dto/file/FileExUpdateDto.java
new file mode 100644
index 0000000..2612ef7
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/file/FileExUpdateDto.java
@@ -0,0 +1,24 @@
+package com.hz.his.dto.file;
+
+import lombok.Data;
+
+/**
+ * 鏂囦欢瀵煎嚭鎵╁睍
+ **/
+@Data
+public class FileExUpdateDto {
+    /****************蹇呭~椤�***********************/
+    /**瀵煎嚭璁板綍鏍囪瘑*/
+    private String id;
+    /**鎿嶄綔浜烘爣璇�*/
+    private String operatorId;
+    /**鎿嶄綔浜哄悕绉�*/
+    private String operatorName;
+    /**浠诲姟鐘舵��  phi-common FileStatusEnum*/
+    private Integer status;
+    /**鎴愬姛鏂囦欢瀛樺偍鍚嶇О*/
+    private String fileName;
+    /**鎴愬姛鏂囦欢瀛樺偍鍦板潃*/
+    private String fileUrl;
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/dto/file/FileExportDto.java b/phis-feign/src/main/java/com/hz/his/dto/file/FileExportDto.java
new file mode 100644
index 0000000..98f992a
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/file/FileExportDto.java
@@ -0,0 +1,43 @@
+package com.hz.his.dto.file;
+
+import lombok.Data;
+
+/**
+ * 鏂囦欢瀵煎嚭鎵╁睍
+ **/
+@Data
+public class FileExportDto {
+    /****************蹇呭~椤�***********************/
+    /**鎿嶄綔浜烘爣璇�*/
+    private String operatorId;
+    /**鎿嶄綔浜哄悕绉�*/
+    private String operatorName;
+    /**鎿嶄綔鐩爣瀵硅薄(phi-common FileTargetEnum)*/
+    private Integer opTarget;
+    /**鎴愬姛鏂囦欢瀛樺偍鍦板潃*/
+    private String fileUrl;
+
+    /****************闈炲繀濉」*****************************/
+    /**鎿嶄綔鍐呭鍚嶇О(phi-common FileTargetEnum)*/
+    private String opName;
+    /**浠诲姟鐘舵��  phi-common FileStatusEnum*/
+    private Integer status;
+    /**鎿嶄綔鏃堕棿*/
+    private String opTime;
+    /**瀵煎叆(瀵煎嚭)鏂囦欢鍚�*/
+    private String opFileName;
+    /**瀵煎叆(瀵煎嚭)鏂囦欢鏁版嵁鏉℃暟*/
+    private Integer number;
+    /**瀵煎叆(瀵煎嚭)杩涘害*/
+    private Double percent;
+    /**瀵煎叆(瀵煎嚭)杩涘害*/
+    private String completeTime;
+    /**鎴愬姛鏂囦欢瀛樺偍鍚嶇О*/
+    private String fileName;
+    /**澶辫触鏂囦欢瀛樺偍鍚�*/
+    private String failName;
+    /**澶辫触鎻愮ず鏂囦欢瀛樺偍鍦板潃*/
+    private String failUrl;
+    /**澶囨敞淇℃伅*/
+    private String remarks;
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipFileService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipFileService.java
new file mode 100644
index 0000000..75e63c1
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipFileService.java
@@ -0,0 +1,27 @@
+package com.hz.his.feign.service.platform;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.file.FileExUpdateDto;
+import com.hz.his.dto.file.FileExportDto;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+
+/**
+ * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
+ */
+@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-file")
+public interface SPhipFileService {
+
+    /**
+     * 寮�鏀惧钩鍙�-鐢熸垚瀵煎嚭鏂囦欢璁板綍
+     */
+    @PostMapping(value = "/file/common/export/getId")
+    Result getFileExportRecord(@RequestBody FileExportDto fileExportDto);
+
+    /**
+     * 寮�鏀惧钩鍙�-鐢熸垚瀵煎嚭鏂囦欢璁板綍
+     */
+    @PostMapping(value = "/file/common/export/update")
+    Result updateRecordById(@RequestBody FileExUpdateDto fileExUpdateDto);
+}
\ No newline at end of file

--
Gitblit v1.8.0