From 2c6e0b473b1c3e2e3c28e8a3d9bd772b0563625f Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期二, 03 一月 2023 14:20:16 +0800 Subject: [PATCH] 门店划扣库库存同步 --- phi-warehouse-feign/src/main/java/com/hx/warehouse/feign/WUpdateService.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/phi-warehouse-feign/src/main/java/com/hx/warehouse/feign/WUpdateService.java b/phi-warehouse-feign/src/main/java/com/hx/warehouse/feign/WUpdateService.java index f2bbb6f..e0b114e 100644 --- a/phi-warehouse-feign/src/main/java/com/hx/warehouse/feign/WUpdateService.java +++ b/phi-warehouse-feign/src/main/java/com/hx/warehouse/feign/WUpdateService.java @@ -4,6 +4,7 @@ import com.hx.resultTool.Result; import com.hx.warehouse.dto.order.OrderBackDto; import com.hx.warehouse.dto.order.OrderUpdateDto; +import com.hx.warehouse.dto.order.stock.StockShopDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -45,4 +46,8 @@ @PostMapping(value = "/update/back/parameter") Result backParameter(@RequestBody OrderBackDto orderBackDto); + /**鏇存柊闂ㄥ簵搴撳瓨(鍒掓墸搴�)*/ + @PostMapping(value = "/stock/update/by/shopId") + Result updateStockByShop(@RequestBody StockShopDto stockShopDto); + } -- Gitblit v1.8.0