From f8c5293547cffbc8fa24cbf4f15e990b8147cb0e Mon Sep 17 00:00:00 2001
From: rx <auster_i@163.com>
Date: 星期五, 30 八月 2024 19:36:05 +0800
Subject: [PATCH] 批量回访新增

---
 phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipReturnVisitRecordService.java |    7 +++
 phis-feign/src/main/java/com/hz/phis/vo/returnVisitRecord/ReturnVisitBatchVo.java             |   58 +++++++++++++++++++++++++++++
 phis-feign/src/main/java/com/hz/phis/vo/returnVisitRecord/ReturnVisitBatchProjectVo.java      |   22 +++++++++++
 phis-feign/src/main/java/com/hz/phis/vo/returnVisitRecord/ReturnVisitBatchAllotVo.java        |   22 +++++++++++
 4 files changed, 109 insertions(+), 0 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipReturnVisitRecordService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipReturnVisitRecordService.java
index fc9ab0d..7dad174 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipReturnVisitRecordService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipReturnVisitRecordService.java
@@ -1,6 +1,7 @@
 package com.hz.his.feign.service.platform;
 
 import com.hx.resultTool.Result;
+import com.hz.phis.vo.returnVisitRecord.ReturnVisitBatchVo;
 import com.hz.phis.vo.returnVisitRecord.ReturnVisitRecordInsertVo;
 import com.hz.phis.vo.returnVisitRecord.ReturnVisitVisitVo;
 import org.springframework.cloud.openfeign.FeignClient;
@@ -70,4 +71,10 @@
     @PostMapping(value = "/return/visit/record/v2/access")
     Result access(@RequestBody ReturnVisitVisitVo dto);
 
+    /**
+     * 寮�鏀惧钩鍙�-鎵归噺鏂板
+     */
+    @PostMapping(value = "/return/visit/record/v2/batch/add")
+    Result batchAddData(@RequestBody ReturnVisitBatchVo dto);
+
 }
\ No newline at end of file
diff --git a/phis-feign/src/main/java/com/hz/phis/vo/returnVisitRecord/ReturnVisitBatchAllotVo.java b/phis-feign/src/main/java/com/hz/phis/vo/returnVisitRecord/ReturnVisitBatchAllotVo.java
new file mode 100644
index 0000000..973a7ee
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/phis/vo/returnVisitRecord/ReturnVisitBatchAllotVo.java
@@ -0,0 +1,22 @@
+package com.hz.phis.vo.returnVisitRecord;
+
+import lombok.Data;
+
+
+/**
+ * 鍥炶璁″垝鎵归噺鏂板-鍒嗛厤鍛樺伐/瑙掕壊
+ *
+ * @author rx
+ */
+@Data
+public class ReturnVisitBatchAllotVo {
+
+
+    /*** 瑙掕壊鎴栧憳宸D **/
+    private String commonId;
+    /*** 瑙掕壊鍚嶇О/鍛樺伐鍚嶇О**/
+    private String commonName;
+    /*** 鍒嗛厤鏁伴噺 鍒嗛厤绫诲瀷涓哄憳宸ユ椂濉啓**/
+    private Integer commonNum;
+
+}
\ No newline at end of file
diff --git a/phis-feign/src/main/java/com/hz/phis/vo/returnVisitRecord/ReturnVisitBatchProjectVo.java b/phis-feign/src/main/java/com/hz/phis/vo/returnVisitRecord/ReturnVisitBatchProjectVo.java
new file mode 100644
index 0000000..c635608
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/phis/vo/returnVisitRecord/ReturnVisitBatchProjectVo.java
@@ -0,0 +1,22 @@
+package com.hz.phis.vo.returnVisitRecord;
+
+import lombok.Data;
+
+import java.util.List;
+
+/**
+ * 鍥炶璁″垝鎵归噺鏂板 -鍥炶椤圭洰
+ *
+ * @author rx
+ */
+@Data
+public class ReturnVisitBatchProjectVo {
+
+    /*** 鍒嗙被ID **/
+    private String projectCategoryId;
+    /*** spuId **/
+    private String projectId;
+    /*** sku 澶氫釜 **/
+    private List<String> skuIdList;
+
+}
\ No newline at end of file
diff --git a/phis-feign/src/main/java/com/hz/phis/vo/returnVisitRecord/ReturnVisitBatchVo.java b/phis-feign/src/main/java/com/hz/phis/vo/returnVisitRecord/ReturnVisitBatchVo.java
new file mode 100644
index 0000000..daf4ee3
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/phis/vo/returnVisitRecord/ReturnVisitBatchVo.java
@@ -0,0 +1,58 @@
+package com.hz.phis.vo.returnVisitRecord;
+
+import lombok.Data;
+
+import java.util.Date;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * 鎵归噺鍥炶璁″垝- 鏂板 浣跨敤
+ *
+ * @author rx
+ */
+@Data
+public class ReturnVisitBatchVo {
+
+    /*** 鍔犲瘑鏌ヨsql璇彞 **/
+    private String sql;
+    /*** sql 鍙傛暟 **/
+    private Map<String,Object> params;
+    /*** 鍓旈櫎鐢ㄦ埛ID List**/
+    private  List<String> userIdRemoveList;
+    /*** 鐢ㄦ埛ID List**/
+    private List<String> userIdList;
+
+    /*** 闂ㄥ簵**/
+    private String shopId;
+    /*** 鍥炶绫诲瀷 **/
+    private String returnVisitType;
+    /*** 鍥炶鏂瑰紡 **/
+    private String returnVisitMethod;
+
+    /*** 鍒嗛厤瑙掕壊**/
+    private List<ReturnVisitBatchAllotVo> allotRoleList;
+    /*** 鍒嗛厤鍛樺伐鏁版嵁**/
+    private List<ReturnVisitBatchAllotVo> allotEmployeeList;
+
+    /*** 鍥炶璁″垝鍐呭**/
+    private String content;
+
+    /*** 璁″垝寮�濮嬫椂闂�**/
+    private Date startTime;
+    /*** 璁″垝寮�濮嬫椂闂�**/
+    private Date endTime;
+
+    /*** 椤圭洰鏁版嵁 **/
+    private List<ReturnVisitBatchProjectVo> projectDataList;
+
+    /*** 澶囨敞**/
+    private String remark;
+
+    /*** 鍒涘缓浜虹被鍨� 0 绗笁鏂瑰钩鍙�(鍛樺伐淇℃伅) 1 鍚庡彴 (鍚庡彴鐢ㄦ埛淇℃伅)锛�2 绯荤粺鍒涘缓**/
+    private Integer createPersonType;
+    /*** 鍒涘缓浜篿d**/
+    private String createPersonId;
+
+
+}
\ No newline at end of file

--
Gitblit v1.8.0