diff --git a/mom-wms-api/src/main/java/com/foreverwin/mom/wms/api/feign/RemoteWmsInventoryService.java b/mom-wms-api/src/main/java/com/foreverwin/mom/wms/api/feign/RemoteWmsInventoryService.java index dbe2ad4..513e3f1 100644 --- a/mom-wms-api/src/main/java/com/foreverwin/mom/wms/api/feign/RemoteWmsInventoryService.java +++ b/mom-wms-api/src/main/java/com/foreverwin/mom/wms/api/feign/RemoteWmsInventoryService.java @@ -6,6 +6,7 @@ import com.foreverwin.mom.common.core.util.R; import com.foreverwin.mom.wms.dto.InventoryDto; import com.foreverwin.mom.wms.dto.IqcResultNoticeDto; import com.foreverwin.mom.wms.entity.Inventory; +import com.foreverwin.mom.wms.entity.WareHouse; import com.foreverwin.mom.wms.entity.ZWmsInventoryStockHisItf; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.*; @@ -171,4 +172,13 @@ public interface RemoteWmsInventoryService { */ @GetMapping("/z-wms-inventory-stock-his-itf/api/readZWmsInventoryStockHisItfList/{site}/{snapshotId}/{start}/{end}") R> readZWmsInventoryStockHisItfList(@PathVariable("site") String site, @PathVariable("snapshotId") String snapshotId, @PathVariable("start") Integer start, @PathVariable("end") Integer end, @RequestHeader(SecurityConstants.FROM) String from); + + /** + * 通过id查询仓库 + * + * @param handle + * @return + */ + @GetMapping("/wms-warehouse/{handle}") + R getWareHouseById(@PathVariable("handle") String handle); } \ No newline at end of file