From 51fea370b1c4f021fb9db4343ee2682c9a02cf1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=96=9B=E5=AE=87?= <2433098676@qq.com> Date: Fri, 14 Jul 2023 14:03:05 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E7=94=A8=E4=BB=93=E5=BA=93=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E6=89=8B=E6=9C=AF=E5=AE=A4=E7=9A=84=E8=AF=9D=EF=BC=8C?= =?UTF-8?q?=E6=98=AF=E5=8F=AF=E4=BB=A5=E9=A2=86=E7=94=A8=E4=B8=8A=E4=B8=80?= =?UTF-8?q?=E7=BA=A7=E4=B8=AD=E5=BF=83=E5=BA=93=E7=9A=84=E4=BA=A7=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/glxp/api/controller/auth/InvWarehouseController.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/glxp/api/controller/auth/InvWarehouseController.java b/src/main/java/com/glxp/api/controller/auth/InvWarehouseController.java index 641db804c..990567f34 100644 --- a/src/main/java/com/glxp/api/controller/auth/InvWarehouseController.java +++ b/src/main/java/com/glxp/api/controller/auth/InvWarehouseController.java @@ -188,6 +188,10 @@ public class InvWarehouseController extends BaseController { if (!"".equals(invWarehouseEntity.getParentCode())) { invWarehouseEntities1.add(invWarehouseEntity); } + //领用仓库选择手术室的话,可以领用上一级中心库的产品 + if (filterInvWarehouseRequest.getLocInvCode().equals("1002000") && invWarehouseEntity.getCode().equals("1000000")) { + invWarehouseEntities1.add(invWarehouseEntity); + } } List results = new ArrayList<>(); if (CollUtil.isNotEmpty(invWarehouseEntities1)) {