| | |
| | | |
| | | 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 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; |
| | |
| | | /** |
| | | * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
| | | */ |
| | | @FeignClient(name="warehouse-service", path = "/warehouse",contextId = "warehouse-update") |
| | | @FeignClient(name="phi-pre-sys", path = "/warehouse",contextId = "warehouse-update") |
| | | public interface WUpdateService { |
| | | |
| | | |
| | |
| | | * 更新出入库单信息 |
| | | * */ |
| | | @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); |
| | | |
| | | |
| | | |
| | | } |