From 2a243dc744898018adf7523dcb2d10ded968b432 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期二, 23 十二月 2025 10:43:25 +0800
Subject: [PATCH] 流程卡进度打印功能

---
 north-glass-erp/src/main/resources/mapper/mm/MaterialInventory.xml |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/north-glass-erp/src/main/resources/mapper/mm/MaterialInventory.xml b/north-glass-erp/src/main/resources/mapper/mm/MaterialInventory.xml
index 65a1c44..cd92fd7 100644
--- a/north-glass-erp/src/main/resources/mapper/mm/MaterialInventory.xml
+++ b/north-glass-erp/src/main/resources/mapper/mm/MaterialInventory.xml
@@ -1387,4 +1387,14 @@
         where id=#{materialInventoryId}
     </update>
 
+    <select id="selectGetStockList">
+        select mi.*, ms.json
+        from mm.material_inventory mi
+        left join mm.material_store ms
+            on mi.material_code=ms.id
+        where inventory_quantity>0
+        and mi.inventory_organization = '鍘熺墖搴�'
+        order by mi.id desc
+    </select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0