From 929c6698f4d7598997fc233e09c39c3bdce9fcf8 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期四, 14 八月 2025 10:23:15 +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