From bfb2de990eb9cdb3f1bf8dfbdab5135f78b7dc6f Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期二, 23 十二月 2025 11:09:23 +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