From 90bbd81d2cd29e8c466f9b87091f87d259f43204 Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期四, 01 九月 2022 17:33:16 +0800
Subject: [PATCH] 优惠券查询修改

---
 phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java |   50 ++++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 42 insertions(+), 8 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 cddc55b..f500d29 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
@@ -3,17 +3,18 @@
 import com.hx.resultTool.Result;
 import com.hz.his.dto.user.UserAppointmentDto;
 import com.hz.his.dto.user.UserDto;
+import com.hz.his.dto.user.UserIdsDto;
 import com.hz.his.dto.user.UserLevelDto;
 import com.hz.his.dto.user.card.UserCardDto;
 import com.hz.his.dto.user.card.UserCardUsedDto;
-import com.hz.his.dto.user.coupon.OrderCanUseCouponDto;
-import com.hz.his.dto.user.coupon.UserCanUseCouponDto;
-import com.hz.his.dto.user.coupon.UserCouponDto;
+import com.hz.his.dto.user.coupon.*;
 import com.hz.his.dto.user.money.*;
 import com.hz.his.dto.user.label.UserLabelDto;
-import com.hz.his.dto.user.project.UserPackageDto;
+import com.hz.his.dto.user.packages.UserPackageDto;
+import com.hz.his.dto.user.packages.UserPhisPackageDto;
 import com.hz.his.dto.user.project.UserProjectDto;
 import com.hz.his.dto.user.project.UserProjectUsedDto;
+import com.hz.his.dto.user.promotion.UserPromotionUsedDto;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
@@ -30,6 +31,12 @@
      * */
     @PostMapping(value = "/user/list")
     Result userList(@RequestBody UserDto userDto);
+
+    /**
+     * 鏌ヨ鐢ㄦ埛鏍囪瘑鍒楄〃
+     * */
+    @PostMapping(value = "/user/list/ids")
+    Result userIdList(@RequestBody UserDto userDto);
 
     /**
      * 鑾峰彇鍒扮敤鎴疯鎯�
@@ -88,10 +95,9 @@
 
     /**
      * 鑾峰彇鐢ㄦ埛淇冮攢浣跨敤璁板綍
-     * @param orderItemNo 瀛愯鍗曞彿
      * */
     @PostMapping(value = "/user/promotion/used")
-    Result userPromotionUsed(@RequestParam("orderItemNo") String orderItemNo);
+    Result userPromotionUsed(@RequestBody UserPromotionUsedDto userPromotionUsedDto);
 
 
     /**
@@ -114,7 +120,14 @@
     Result userCanUseCoupon(@RequestBody UserCanUseCouponDto userCanUseCouponDto);
 
     /**
+     * 鑾峰彇鍟嗗搧鍙敤浼樻儬鍒�
+     * */
+    @PostMapping(value = "/goods/can/use/coupon")
+    Result goodsCanUseCoupon(@RequestBody GoodsUsedCouponDto goodsUsedCouponDto);
+
+    /**
      * 鍒ゆ柇璁㈠崟鏄惁鍙敤璇ヤ紭鎯犲埜
+     * 杞寲浣跨敤 CouponNumberDto
      */
     @PostMapping(value = "/order/can/use/coupon")
     Result orderCanUseCoupon(@RequestBody OrderCanUseCouponDto orderCanUseCouponDto);
@@ -216,9 +229,30 @@
     Result userAppearanceInfo(@RequestParam("appearanceId") String appearanceId);
 
     /**
-     * 鑾峰彇浜虹兢鍖呭垪琛�(鍙紶绛涢�夌殑鍙傛暟:浼氬憳绛夌骇,鍋氳繃鐨勯」鐩�,鎷ユ湁鐨勬爣绛�,浼氬憳鍒涘缓鏃堕棿,鏈�鍚庝竴娆℃秷璐规椂闂�,鏈�鍚庝竴娆″埌搴楁椂闂�)
+     * 鑾峰彇浜虹兢鍖呭垪琛�(鍙紶绛涢�夌殑鍙傛暟:浼氬憳绛夌骇,鍋氳繃鐨勯」鐩�,浼氬憳鍒涘缓鏃堕棿,鏈�鍚庝竴娆℃秷璐规椂闂�,鏈�鍚庝竴娆″埌搴楁椂闂�)
      * */
     @PostMapping(value = "/user/package/list")
-    Result userPackageList(@RequestBody UserPackageDto userPackageDto);
+    Result userPackageList(@RequestBody UserPhisPackageDto userPhisPackageDto);
+
+    /**鏍规嵁鏍囪瘑闆嗗悎绛涢�夌敤鎴�*/
+    @PostMapping(value = "/user/idList/list")
+    Result userIdSelectList(@RequestBody UserIdsDto userIdsDto);
+
+    /**鑾峰彇鐢ㄦ埛淇℃伅锛岀煭淇℃ā鏉夸笓鐢�
+     * 鑾峰彇鏍规嵁id鎴栬�匔IQ鎴栬�卙isId鏌ユ壘鐢ㄦ埛
+     * @param userDto 鍙娇鐢╥d鍜孋IQ
+     * @return 杞寲浣跨敤UserDt
+     */
+    @PostMapping(value = "/user/sms-find")
+    Result userSms(@RequestBody UserDto userDto);
+
+    /**
+     * 鑾峰彇鐢ㄦ埛淇℃伅锛屽鍏ヤ汉缇ゅ寘涓撶敤
+     * 鏍规嵁CIQ鎴栬�呭悕绉板叏鍖归厤鏌ユ壘鐢ㄦ埛
+     * @param userDto 鍙娇鐢╪ame鍜孋IQ
+     * @return 杞寲浣跨敤UserDt
+     */
+    @PostMapping(value = "/user/crowd/import")
+    Result userCrowdImport(@RequestBody UserDto userDto);
 
 }
\ No newline at end of file

--
Gitblit v1.8.0