diff --git a/src/main/resources/mapper/automatedWarehouse/WcsIntegrationMapper.xml b/src/main/resources/mapper/automatedWarehouse/WcsIntegrationMapper.xml index 2b0d58d..b79408b 100644 --- a/src/main/resources/mapper/automatedWarehouse/WcsIntegrationMapper.xml +++ b/src/main/resources/mapper/automatedWarehouse/WcsIntegrationMapper.xml @@ -441,7 +441,7 @@ from pallet_detail a left join handling_unit b on a.site=b.site and a.serial_no=b.unit_id left join part_attribute c on a.site=c.site and a.part_no=c.part_no - where site=#{site} and a.pallet_id=#{palletId} + where a.site=#{site} and a.pallet_id=#{palletId} and a.wcs_flag = 1