From 393d6fbb340fd880740564b1624e1c3e60495284 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期六, 12 四月 2025 11:30:24 +0800
Subject: [PATCH] 无源器件的总报告调整

---
 inspect-server/src/main/resources/mapper/WarehouseMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/inspect-server/src/main/resources/mapper/WarehouseMapper.xml b/inspect-server/src/main/resources/mapper/WarehouseMapper.xml
index 0a64ac5..492b935 100644
--- a/inspect-server/src/main/resources/mapper/WarehouseMapper.xml
+++ b/inspect-server/src/main/resources/mapper/WarehouseMapper.xml
@@ -49,6 +49,7 @@
                  (select cell_id, count(*) num from warehouse_history group by cell_id) a on cell_id = wc.id
         where num is null
            or num % 2 = 0
+            and state=1
         order by id, sId, crow, ccol
     </select>
 </mapper>

--
Gitblit v1.9.3