From b37d55cfbc7386fa910b210790ffb5cfd490f923 Mon Sep 17 00:00:00 2001
From: zhangxu <3%usVi4iXbVkhI1c>
Date: 星期二, 30 八月 2022 16:23:53 +0800
Subject: [PATCH] 同步促销信息,单独同步用户ciq和等级到领健

---
 phis-feign/src/main/java/com/hz/his/feign/service/dcp/SUserTagInfoService.java |   30 +++++++++++++++++++-----------
 1 files changed, 19 insertions(+), 11 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/dcp/SUserTagInfoService.java b/phis-feign/src/main/java/com/hz/his/feign/service/dcp/SUserTagInfoService.java
index 9251bb7..b645b90 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/dcp/SUserTagInfoService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/dcp/SUserTagInfoService.java
@@ -1,14 +1,14 @@
 package com.hz.his.feign.service.dcp;
 
+import com.alibaba.fastjson.JSONObject;
 import com.hx.resultTool.Result;
+import com.hz.his.dto.dcp.TagRuleInfoDto;
 import com.hz.his.dto.dcp.TagRuleInfoItemDto;
 import com.hz.his.dto.dcp.UserTagInfoDto;
 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.bind.annotation.RequestMethod;
-
-import javax.servlet.http.HttpServletRequest;
 
 /**
  * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
@@ -17,8 +17,12 @@
 public interface SUserTagInfoService {
 
     /**鏌ヨ鐢ㄦ埛鏍囩鍒楄〃*/
-    @RequestMapping("/user/tag/info/list")
-    Result userTagInfoListData(@RequestBody(required = false) UserTagInfoDto userTagInfoDto);
+    @PostMapping("/user/tag/info/list")
+    Result userTagInfoListData(@RequestBody UserTagInfoDto userTagInfoDto);
+
+    /**鏌ヨ鐢ㄦ埛鏍囩鐢ㄦ埛鍒楄〃 杩斿洖(FilterUserDto)*/
+    @RequestMapping("/user/tag/info/user/list")
+    Result userListData(@RequestBody UserTagInfoDto userTagInfoDto);
 
     /**
      * 缂栬緫鐢ㄦ埛鏍囩 娣诲姞 缂栬緫 鍒犻櫎  涓夊悎涓�鎺ュ彛
@@ -40,15 +44,19 @@
      * 	(鍒犻櫎鐨勬暟鎹甶d)"deleteUserTagInfoIdList": ["62d91ec5776bca1873344066"]
      * }
      */
-    @RequestMapping(value = "/user/tag/info/edit", method = RequestMethod.POST)
-    Result edit(HttpServletRequest request, @RequestBody(required = false) String data);
+    @PostMapping(value = "/user/tag/info/edit")
+    Result edit(@RequestBody JSONObject data);
 
 
     /**鏍囩鍒嗙被鏍戝舰鏁版嵁  鏁版嵁妗堜緥锛歿"ascription":["customer","project","product","card","employee","promotion"]}*/
-    @RequestMapping("/tag/rule/info/tree/data")
-    Result tagTypeTreeData(@RequestBody(required = false) String data);
+    @PostMapping("/tag/rule/info/tree/data")
+    Result tagTypeTreeData(@RequestBody JSONObject data);
 
     /**鏍囩鍒楄〃*/
-    @RequestMapping("/tag/rule/item/list")
-    Result tagInfoListData(@RequestBody(required = false) TagRuleInfoItemDto tagRuleInfoItemDto);
+    @PostMapping("/tag/rule/item/list")
+    Result tagInfoListData(@RequestBody TagRuleInfoItemDto tagRuleInfoItemDto);
+
+    /**鏍囩鍒嗙被鏁版嵁鍒楄〃*/
+    @PostMapping("/tag/rule/info/list")
+    Result listData(@RequestBody TagRuleInfoDto tagRuleInfoDto);
 }

--
Gitblit v1.8.0