From 971eb04d09d950f7fa0d534560a76dd69d84c69c Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期一, 08 七月 2024 10:39:43 +0800
Subject: [PATCH] Merge branch 'master-prod-new' into master-stander

---
 phis-feign/src/main/java/com/hz/his/feign/service/phis/SLimitService.java |   32 +++++++++++++++++++++++++++++++-
 1 files changed, 31 insertions(+), 1 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SLimitService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SLimitService.java
index ec1fd88..9e4ce71 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SLimitService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SLimitService.java
@@ -7,10 +7,12 @@
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestParam;
 
+import java.util.List;
+
 /**
  * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
  */
-@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "limit")
+@FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "limit")
 public interface SLimitService {
 
     /**
@@ -20,6 +22,15 @@
      */
     @PostMapping(value = "/goods/limit")
     Result getLimitInfo(@RequestParam("limitId") String limitId);
+
+
+    /**
+     * 鑾峰彇闄愯喘鏁伴噺
+     * @param commonId 鍏叡鏍囪瘑
+     * @return Result
+     */
+    @PostMapping(value = "/goods/limit/one")
+    Result getLimitTotal(@RequestParam("commonId") String commonId);
 
     /**
      * 鑾峰彇骞冲彴闄愬埗淇℃伅
@@ -39,6 +50,15 @@
     Result getShopLimit(@RequestParam("limitId") String limitId, @RequestParam("shopId") String shopId);
 
     /**
+     * 鑾峰彇鐢ㄦ埛绫诲埆搴楅檺鍒朵俊鎭�
+     * @param limitId 鍟嗗搧鏍囪瘑
+     * @param userHisId 鐢ㄦ埛id
+     * @return Result
+     */
+    @PostMapping(value = "/goods/userType/limit")
+    Result getUserTypeLimit(@RequestParam("limitId") String limitId, @RequestParam("userHisId") String userHisId);
+
+    /**
      * 鑾峰彇鍟嗗搧浼氬憳闄愬埗淇℃伅
      * @param limitId 鍟嗗搧鏍囪瘑
      * @param userId  鐢ㄦ埛鏍囪瘑
@@ -54,4 +74,14 @@
     /**鏌ヨ鏄惁鍙笂鏋�*/
     @PostMapping(value = "/goods/check/limit")
     Result getCheckSku(@RequestBody LimitDto limitDto);
+
+
+    /**
+     * 鍟嗗搧鏍囪瘑鏁扮粍鑾峰彇闂ㄥ簵鏁扮粍
+     * @param skuIds 鍟嗗搧鏍囪瘑鏁扮粍
+     * @return Result
+     */
+    @PostMapping(value = "/goods/shop/ids")
+    Result getShopHisIds(@RequestBody List<String> skuIds);
+
 }
\ No newline at end of file

--
Gitblit v1.8.0