From ad11a632a82e91a2e3ac370db7a7aa817f113cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E7=86=9F=E5=90=B4=E5=BD=A6=E7=A5=96?= Date: Wed, 22 Oct 2025 23:23:21 +0800 Subject: [PATCH] mybatis bug --- .../mapper/automatedWarehouse/WcsIntegrationMapper.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/mapper/automatedWarehouse/WcsIntegrationMapper.xml b/src/main/resources/mapper/automatedWarehouse/WcsIntegrationMapper.xml index f76e6df..98c80c5 100644 --- a/src/main/resources/mapper/automatedWarehouse/WcsIntegrationMapper.xml +++ b/src/main/resources/mapper/automatedWarehouse/WcsIntegrationMapper.xml @@ -1165,6 +1165,7 @@ p.empty_flag AS emptyFlag FROM pallet p INNER JOIN agv_station s ON p.location_code = s.station_code + left join pallet_detail c on p.pallet_id=c.pallet_id and p.site=c.site WHERE p.site = #{site} AND p.pallet_type = #{palletType} AND p.calling_flag = 'N' @@ -1172,6 +1173,7 @@ AND s.area_type = 'Z101' AND s.status_db = 1 AND s.active = 'Y' + and c.id IS NULL ORDER BY p.created_time ASC