phi-warehouse-feign/src/main/java/com/hx/phiappt/dto/gold/ParameterDto.java
New file @@ -0,0 +1,18 @@ package com.hx.phiappt.dto.gold; import lombok.Data; /** * 金博查询参数 * @author fwq */ @Data public class ParameterDto { /**字段名称*/ private String fieldName; /**操作符 =、<>、>、<、>=、<= */ private String operator; /**字段值*/ private Object value; } phi-warehouse-feign/src/main/java/com/hx/phiappt/dto/vo/CommodityMessageVo.java
File was deleted phi-warehouse-feign/src/main/java/com/hx/phiappt/dto/vo/ERPInventoryVo.java
File was deleted phi-warehouse-feign/src/main/java/com/hx/phiappt/dto/vo/ShopWarehouseMessageVo.java
File was deleted phi-warehouse-feign/src/main/java/com/hx/phiappt/feign/FSmsSendService.java
@@ -1,7 +1,7 @@ package com.hx.phiappt.feign; import com.hx.resultTool.Result; import com.hx.phiappt.dto.SmsGeneralSendDto; import com.hx.resultTool.Result; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; phi-warehouse-feign/src/main/java/com/hx/phiappt/feign/WOrderService.java
@@ -1,7 +1,7 @@ package com.hx.phiappt.feign; import com.hx.phiappt.dto.order.pick.PickUpDto; import com.hx.phiappt.dto.order.stock.StockChangeDto; import com.hx.phiappt.dto.order.pick.PickUpDto; import com.hx.resultTool.Result; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; @@ -10,7 +10,7 @@ /** * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 */ @FeignClient(name="phi-warehouse-user", path = "/warehouse-user",contextId = "warehouse-order") @FeignClient(name="warehouse-service", path = "/warehouse",contextId = "warehouse-order") public interface WOrderService { /** @@ -20,7 +20,7 @@ Result pickUpOrder(@RequestBody PickUpDto pickUpDto); /** * 生成商品出库单 * 生成商品其它出库单 */ @PostMapping(value = "/order/create/out/stock") Result outStockOrder(@RequestBody StockChangeDto stockChangeDto); phi-warehouse-feign/src/main/java/com/hx/phiappt/feign/WStockService.java
File was renamed from phi-warehouse-feign/src/main/java/com/hx/phiappt/feign/WStcokService.java @@ -9,11 +9,11 @@ /** * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 */ @FeignClient(name="phi-warehouse-user", path = "/warehouse-user",contextId = "warehouse-stock") public interface WStcokService { @FeignClient(name="warehouse-service", path = "/warehouse",contextId = "warehouse-order") public interface WStockService { /** * 更新库存信息 * 更新商品库存信息 */ @PostMapping(value = "/stock/update/one") Result updateStock(@RequestBody StockDto stockDto); phi-warehouse-feign/src/main/java/com/hx/phiappt/feign/WUpdateService.java
New file @@ -0,0 +1,34 @@ package com.hx.phiappt.feign; import com.hx.phiappt.dto.gold.ParameterDto; import com.hx.resultTool.Result; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; /** * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 */ @FeignClient(name="warehouse-service", path = "/warehouse",contextId = "warehouse-stock") public interface WUpdateService { /** * 更新门店仓库 * */ @PostMapping(value = "/update/shopWareHouse") Result updateShopWarehouse(@RequestBody ParameterDto parameterDto); /** * 更新商品信息 * */ @PostMapping(value = "/update/consumables") Result updateConsumables(@RequestBody ParameterDto parameterDto); /** * 更新商品库存 * */ @PostMapping(value = "/update/stock") Result updateConsumablesStock(@RequestBody ParameterDto parameterDto); } phi-warehouse-feign/src/main/java/com/hx/phiappt/platform/FConsumablesService.java
File was deleted phi-warehouse-feign/src/main/java/com/hx/phiappt/platform/FInventoryService.java
File was deleted phi-warehouse-feign/src/main/java/com/hx/phiappt/platform/FWarehouseService.java
File was deleted