From 1296bf4d442223a733dd4e24be1b273b505fb9d6 Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期日, 28 四月 2024 16:31:03 +0800
Subject: [PATCH] 方法优化计算

---
 phis-feign/src/main/java/com/hz/his/feign/service/phis/SLimitService.java |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 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 92e919f..1b58143 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,6 +7,8 @@
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestParam;
 
+import java.util.List;
+
 /**
  * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
  */
@@ -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);
 
     /**
      * 鑾峰彇骞冲彴闄愬埗淇℃伅
@@ -63,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