phi-warehouse-feign/src/main/java/com/hx/warehouse/dto/order/OrderBackDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phi-warehouse-feign/src/main/java/com/hx/warehouse/feign/WUpdateService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
phi-warehouse-feign/src/main/java/com/hx/warehouse/dto/order/OrderBackDto.java
New file @@ -0,0 +1,20 @@ package com.hx.warehouse.dto.order; import lombok.Data; /** * 订单出入库成功回调参数 * @author fwq */ @Data public class OrderBackDto { /**时间*/ private String time; /**主单号*/ private String orderNo; /**回调参数*/ private String backParameter; /**回调处理参数*/ private String orderParameter; } phi-warehouse-feign/src/main/java/com/hx/warehouse/feign/WUpdateService.java
@@ -2,6 +2,7 @@ import com.hx.warehouse.dto.gold.ParListDto; import com.hx.resultTool.Result; import com.hx.warehouse.dto.order.OrderBackDto; import com.hx.warehouse.dto.order.OrderUpdateDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; @@ -36,6 +37,12 @@ * 更新出入库单信息 * */ @PostMapping(value = "/update/order/info") Result orderSuccess(@RequestBody OrderUpdateDto orderUpdateDto); Result orderSuccess(@RequestBody OrderBackDto orderBackDto); /** * 出入库成功回调信息入参 * */ @PostMapping(value = "/update/back/parameter") Result backParameter(@RequestBody OrderBackDto orderBackDto); }