From 184665a163bac4ec9ba7c4d0450b7e8d7716870c Mon Sep 17 00:00:00 2001 From: "HUOJIN\\92525" <925258474@qq.com> Date: Wed, 21 Aug 2024 12:12:12 +0800 Subject: [PATCH] no message --- .../config/origen/inventory/moveInventoryPage.xml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/webapp/WEB-INF/classes/config/origen/inventory/moveInventoryPage.xml b/src/webapp/WEB-INF/classes/config/origen/inventory/moveInventoryPage.xml index 120f5f7..bb4cc3f 100644 --- a/src/webapp/WEB-INF/classes/config/origen/inventory/moveInventoryPage.xml +++ b/src/webapp/WEB-INF/classes/config/origen/inventory/moveInventoryPage.xml @@ -17,11 +17,10 @@ FROM Location location WHERE upper(location.code) LIKE upper(:param) AND location.disabled = false - AND (location.countLock = '' or location.countLock is null) - AND (location.inLock = '' or location.inLock is null) - AND (location.outLock = '' or location.outLock is null) - AND location.code <> ${inventory.location.code} - AND location.type in ('STORAGE','TRANSIT')]]> + AND location.code !=${inventory.location.code} + AND location.type in ('STORAGE','TRANSIT') + AND (location.id not in (select inventory.location.id from Inventory inventory where inventory.location.id=location.id and inventory.quantity>0 ) or location.mixItem=true) + ]]>