From c5daf9399f292e5b21deff9d5a8ac60fb4c377ab Mon Sep 17 00:00:00 2001
From: Houjie <714924425@qq.com>
Date: 星期五, 23 五月 2025 18:18:43 +0800
Subject: [PATCH] 库存预警/刀具刃磨、工具盘点、工具报损

---
 lxzn-module-tms/src/main/java/org/jeecg/modules/tms/mapper/xml/WarehouseMapper.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/lxzn-module-tms/src/main/java/org/jeecg/modules/tms/mapper/xml/WarehouseMapper.xml b/lxzn-module-tms/src/main/java/org/jeecg/modules/tms/mapper/xml/WarehouseMapper.xml
index 196972c..879252c 100644
--- a/lxzn-module-tms/src/main/java/org/jeecg/modules/tms/mapper/xml/WarehouseMapper.xml
+++ b/lxzn-module-tms/src/main/java/org/jeecg/modules/tms/mapper/xml/WarehouseMapper.xml
@@ -22,4 +22,12 @@
         LEFT JOIN tms_warehouse p on t.parent_id = p.id
         ${ew.customSqlSegment}
     </select>
+    <select id="queryWarehouseDictList" resultType="org.jeecg.modules.tms.entity.vo.DictVo">
+        SELECT
+            id value,
+            ISNULL(warehouse_id, '') + '/' + ISNULL(warehouse_name, '') label,
+            ISNULL(warehouse_id, '') + '/' + ISNULL(warehouse_name, '') title
+        FROM tms_warehouse
+        WHERE status = '1' AND leaf_flag = '1'
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3