From cd8e369a7b3b751527090147798c5b81c30bf2d0 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期四, 26 六月 2025 09:06:55 +0800
Subject: [PATCH] 生成任务工作档优化

---
 rsf-server/src/main/resources/mapper/manager/WarehouseAreasItemMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/rsf-server/src/main/resources/mapper/manager/WarehouseAreasItemMapper.xml b/rsf-server/src/main/resources/mapper/manager/WarehouseAreasItemMapper.xml
index efa07bb..9f59597 100644
--- a/rsf-server/src/main/resources/mapper/manager/WarehouseAreasItemMapper.xml
+++ b/rsf-server/src/main/resources/mapper/manager/WarehouseAreasItemMapper.xml
@@ -37,7 +37,9 @@
                      update_time,
                      memo
               FROM man_warehouse_areas_item qai
-                       LEFT JOIN man_qly_inspect_result qir ON qai.id = qir.rcpt_id) t
+                       LEFT JOIN man_qly_inspect_result qir ON qai.id = qir.rcpt_id
+              where qai.deleted = 0
+              ) t
             ${ew.customSqlSegment}
     </select>
 </mapper>

--
Gitblit v1.9.1