From 0c5296feb5e2a9300107b247a3e4a0d713af4667 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期六, 14 三月 2026 09:52:36 +0800
Subject: [PATCH] BOM个工艺路线以及生产订单实体类对应关联的旧产品规格id加上注释//宁夏-中盛建材使用新的产品表关联product_material_sku
---
src/main/resources/mapper/quality/QualityUnqualifiedMapper.xml | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/quality/QualityUnqualifiedMapper.xml b/src/main/resources/mapper/quality/QualityUnqualifiedMapper.xml
index 503b7b3..5bda4f6 100644
--- a/src/main/resources/mapper/quality/QualityUnqualifiedMapper.xml
+++ b/src/main/resources/mapper/quality/QualityUnqualifiedMapper.xml
@@ -89,4 +89,11 @@
1=1
and qu.id = #{id}
</select>
+ <select id="getModelId" resultType="java.lang.Long">
+ select pm.id
+ from product_model pm
+ left join product p on pm.product_id=p.id
+ where pm.model=#{model}
+ and p.product_name=#{productName}
+ </select>
</mapper>
--
Gitblit v1.9.3