From deb9ce158ab4d9bf8a897115fa4a3e37e54b9af1 Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期一, 25 七月 2022 12:07:27 +0800
Subject: [PATCH] 用户查询优化

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

diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/SUserService.java b/phis-feign/src/main/java/com/hz/his/feign/service/SUserService.java
index eb77bfd..dad0174 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/SUserService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/SUserService.java
@@ -24,19 +24,24 @@
 public interface SUserService {
 
     /**
-     * 鑾峰彇鐢ㄦ埛鍩烘湰淇℃伅
-     * @param
+     * 鏌ヨ鐢ㄦ埛鍒楄〃
      * */
-    @PostMapping(value = "/user/info/basic")
-    Result userBasicInfo(@RequestParam("userId") String userId);
+    @PostMapping(value = "/user/list")
+    Result userList(@RequestBody UserDto userDto);
 
     /**
      * 鑾峰彇鍒扮敤鎴疯鎯�
-     * @param userId 棰勭害鐢ㄦ埛鏍囪瘑
-     * @return UserDt
+     * @param userId 鐢ㄦ埛鏍囪瘑
+     * @return 杞寲浣跨敤UserDt
      */
     @PostMapping(value = "/user/info")
     Result userInfo(@RequestParam("userId") String userId);
+
+    /**
+     * 鑾峰彇鐢ㄦ埛璧勯噾淇℃伅
+     * */
+    @PostMapping(value = "/user/money/info")
+    Result userMoneyInfo(@RequestParam("userId") String userId);
 
     /**
      * 鑾峰彇鐢ㄦ埛椤圭洰
@@ -92,6 +97,13 @@
 
 
     /**
+     * 鑾峰彇鐢ㄦ埛鍙敤浼樻儬鍒�
+     * */
+    @PostMapping(value = "/user/can/use/coupon")
+    Result userCanUseCoupon(@RequestBody UserCanUseCouponDto userCanUseCouponDto);
+
+
+    /**
      * 鑾峰彇鐢ㄦ埛澧炲�奸噾鍒楄〃
      * */
     @PostMapping(value = "/user/increment/list")
@@ -127,32 +139,12 @@
     @PostMapping(value = "/user/integral/used")
     Result userIntegralUsed(@RequestBody UserIntegralDto userIntegralDto);
 
-    /**
-     * 鏍规嵁鐢佃瘽鍙风爜鏌ヨ鐢ㄦ埛淇℃伅
-     * @param tel
-     * */
-    @PostMapping(value = "/user/info/tel")
-    Result findUserInfoByTel(@RequestParam("tel") String tel);
 
     /**
      * 鑾峰彇鐢ㄦ埛鎷ユ湁缁熻
-     * @param
      * */
     @PostMapping(value = "/user/have/count")
     Result userHaveCount(@RequestParam("userId") String userId);
-
-    /**
-     * 鑾峰彇鐢ㄦ埛鍙敤浼樻儬鍒�
-     * @param
-     * */
-    @PostMapping(value = "/user/can/use/coupon")
-    Result userCanUseCoupon(@RequestBody UserCanUseCouponDto userCanUseCouponDto);
-
-    /**
-     * 鏍规嵁鐢佃瘽鍙风爜鎴栬�匔IQ鑾峰彇鎸囧畾鐢ㄦ埛
-     * */
-    @PostMapping(value = "/user/info/telOrCiq")
-    Result findUserByTelOrCiq(@RequestBody UserDto userDto);
 
 
     /**
@@ -165,7 +157,6 @@
 
     /**
      * 鑾峰彇鐢ㄦ埛娑堣垂鏁版嵁
-     * @param
      * */
     @PostMapping(value = "/user/consume/count")
     Result userConsumeCount(@RequestBody UserConsumeDto userConsumeDto);

--
Gitblit v1.8.0