From ada69b99718005bffedf8bb25a70792974ee315c Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Wed, 8 Feb 2023 16:47:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../glxp/api/controller/thrsys/ThrInvWarehouseController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/glxp/api/controller/thrsys/ThrInvWarehouseController.java b/src/main/java/com/glxp/api/controller/thrsys/ThrInvWarehouseController.java index 0996ad1d1..eb189a47b 100644 --- a/src/main/java/com/glxp/api/controller/thrsys/ThrInvWarehouseController.java +++ b/src/main/java/com/glxp/api/controller/thrsys/ThrInvWarehouseController.java @@ -110,7 +110,7 @@ public class ThrInvWarehouseController { filterThrSubInvWarehouseRequest.setName(invSubWarehouseEntity.getName()); filterThrSubInvWarehouseRequest.setCode(null); List thrInvWarehouseEntities1 = thrInvWarehouseService.filterThrInvWarehouse(filterThrSubInvWarehouseRequest); - if(thrInvWarehouseEntities.size()==0 && thrInvWarehouseEntities1.size()==0){ + if(thrInvWarehouseEntities.size()==0 || thrInvWarehouseEntities1.size()==0){ boolean b = thrInvWarehouseService.updateThrInvWarehouse(invSubWarehouseEntity); if (!b) { return ResultVOUtils.error(ResultEnum.NOT_NETWORK);