From 73843a051c097ddf612ae7264d9ca064720fd4f0 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期二, 23 九月 2025 10:07:28 +0800
Subject: [PATCH] 修改仓储物料报表导出
---
north-glass-erp/src/main/resources/mapper/sd/BomDataMapper.xml | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/north-glass-erp/src/main/resources/mapper/sd/BomDataMapper.xml b/north-glass-erp/src/main/resources/mapper/sd/BomDataMapper.xml
index fe1af16..b50e245 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/BomDataMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/BomDataMapper.xml
@@ -20,4 +20,18 @@
set type=#{type},consume=#{consume},price=#{price},create_time=now()
where material_id = #{id}
</update>
+
+ <insert id="saveProductBOMMp">
+ insert into sd.bom_product
+ (product_id,base_id,product_layer)
+ values (#{produceId},#{tabId},#{layer})
+ </insert>
+
+ <select id="getOrderBomDataMp">
+ SELECT DISTINCT product_id,product_name from sd.order_detail where order_id=#{orderId}
+ </select>
+
+ <select id="getBOMDetails">
+
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.8.0