From 56b97431921cee2a61f14c202206850209e1fbfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=A5=8E=E5=85=B4?= <2220574228@qq.com> Date: Thu, 28 May 2026 16:46:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=82=E6=AD=A5=E8=B0=83=E7=94=A8oms?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BA=93=E5=AD=98;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/mhd/system/api/OmsServiceFeign.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mhd-api/mhd-api-system/src/main/java/com/mhd/system/api/OmsServiceFeign.java b/mhd-api/mhd-api-system/src/main/java/com/mhd/system/api/OmsServiceFeign.java index 89c7d7fe8..1b91f8cc9 100644 --- a/mhd-api/mhd-api-system/src/main/java/com/mhd/system/api/OmsServiceFeign.java +++ b/mhd-api/mhd-api-system/src/main/java/com/mhd/system/api/OmsServiceFeign.java @@ -13,6 +13,8 @@ import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; +import java.util.concurrent.CompletableFuture; + @FeignClient(contextId = "OmsService", value = ServiceNameConstants.OMS_SERVICE,url = "http://10.33.0.99:8017", configuration = FeignAutoConfiguration.class) public interface OmsServiceFeign { @@ -37,7 +39,7 @@ public interface OmsServiceFeign { @ApiOperation("编辑物料库存") @PostMapping("/reservationMaterialInventoryApi/omsEdit") @Async - public void omsEdit(@RequestBody MaterialInventoryOmsParamDO materialInventoryOmsParamDO); + public CompletableFuture omsEdit(@RequestBody MaterialInventoryOmsParamDO materialInventoryOmsParamDO); @ApiOperation("查询企业单位列表-新增物料时显示下拉框数据") @GetMapping("/erpEnterpriseUnitApi/unitList")