From aa8aaa7ba7c0959a4a1b710512e25ee0a4961c5f Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期一, 17 七月 2023 11:43:55 +0800
Subject: [PATCH] 用户同步优化

---
 phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java |   65 ++++++++++++++++++++++++++++++++
 1 files changed, 65 insertions(+), 0 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java
index f638802..b9590e6 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java
@@ -19,6 +19,8 @@
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestParam;
 
+import java.util.List;
+
 /**
  * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
  */
@@ -262,4 +264,67 @@
     @PostMapping(value = "/user/project/items")
     Result findUserProjectItem(@RequestBody UserProjectDto userProjectDto);
 
+    /**
+     * 鑾峰彇鍒扮敤鎴疯鎯�(鍚屾浣跨敤)
+     * @param userId 鐢ㄦ埛鏍囪瘑
+     * @return 杞寲浣跨敤UserDt
+     */
+    @PostMapping(value = "/user/info/baseInfo")
+    Result userInfoBaseInfo(@RequestParam("userId") String userId);
+
+    /**
+     * 鑾峰彇鍒扮敤鎴�
+     */
+    @PostMapping(value = "/user/sync/by/idList")
+    Result userSyncList(@RequestBody List<String> hisIdList);
+
+    /**
+     *  鍒ゆ柇鐢ㄦ埛鏄惁鏄細鍛�
+     * @param userDto userId
+     * @return
+     */
+    @PostMapping(value = "/user/check/member")
+    Result checkMember(@RequestBody UserDto userDto);
+
+    /**
+     * 鏌ヨ鐢ㄦ埛浼氬憳绛夌骇涓嬩竴绾�
+     * */
+    @PostMapping(value = "/user/next/level")
+    Result nextLevel(@RequestBody UserDto userDto);
+
+    /**
+     * 鏌ヨ绱杩斾剑
+     * */
+    @PostMapping(value = "/user/query/rebate")
+    Result queryRebate(@RequestBody UserDto userDto);
+
+    /**
+     * 鏌ヨ鐢ㄦ埛棣栧ぉ娑堣垂绱
+     * */
+    @PostMapping(value = "/user/first/day/consumption")
+    Result firstDayConsumption(@RequestBody UserDto userDto);
+
+    /**
+     * 鏌ヨ鐢ㄦ埛棣栧ぉ娑堣垂绱
+     * */
+    @PostMapping(value = "/user/accumulat/consumption")
+    Result accumulateConsumption(@RequestBody UserDto userDto);
+
+    /**
+     * 鍒ゆ柇鐢ㄦ埛鏄惁涓哄啀鍗囩編瀛︿細鍛橈紙鏄惁鏈夎喘涔板啀鍗囩編瀛﹀崱椤硅鍗曪級
+     * */
+    @PostMapping(value = "/user/check/upgraded/aesthetics")
+    Result checkUpgradedAesthetics(@RequestBody UserDto userDto);
+
+    /**
+     * 鍒ゆ柇鐢ㄦ埛鏄惁涓哄啀鍗囩編瀛︿細鍛橈紙鏄惁鏈夎喘涔板啀鍗囩編瀛﹀崱椤硅鍗曪級
+     * */
+    @PostMapping(value = "/user/check/consumption")
+    Result checkConsumption(@RequestBody UserDto userDto);
+
+    /**
+     * 鏌ヨ鐢ㄦ埛绱杩斾剑
+     * */
+    @PostMapping(value = "/user/rebate/userId")
+    Result queryRebateByUserId(@RequestBody UserDto userDto);
 }
\ No newline at end of file

--
Gitblit v1.8.0