From deff787716b00b4f491de429ba092915d7fa1a9e Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 27 三月 2026 13:07:05 +0800
Subject: [PATCH] 过程检数据查询+原有生产订单表增加产品规格id

---
 src/main/java/com/ruoyi/production/service/impl/ProductMaterialServiceImpl.java |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/ruoyi/production/service/impl/ProductMaterialServiceImpl.java b/src/main/java/com/ruoyi/production/service/impl/ProductMaterialServiceImpl.java
index 1336736..33d4399 100644
--- a/src/main/java/com/ruoyi/production/service/impl/ProductMaterialServiceImpl.java
+++ b/src/main/java/com/ruoyi/production/service/impl/ProductMaterialServiceImpl.java
@@ -11,6 +11,7 @@
 import com.ruoyi.framework.util.AliDingUtils;
 import com.ruoyi.production.dto.ProductMaterialDto;
 import com.ruoyi.production.dto.ProductMaterialGroupDto;
+import com.ruoyi.production.dto.ProductMaterialSkuDto;
 import com.ruoyi.production.enums.MaterialConfigTypeEnum;
 import com.ruoyi.production.mapper.ProductMaterialMapper;
 import com.ruoyi.production.pojo.ProductMaterial;
@@ -409,6 +410,16 @@
         log.info("鍒犻櫎鐗╂枡鎴愬姛 ids={}", ids);
     }
 
+    @Override
+    public ProductMaterialSkuDto selectProductByModelId(Long productModelId) {
+        return baseMapper.selectProductByModelId(productModelId);
+    }
+
+    @Override
+    public ProductMaterialSkuDto selectProductByProductMainId(Long productOrderId) {
+        return baseMapper.selectProductByProductMainId(productOrderId);
+    }
+
     private void validateProductMaterial(ProductMaterial productMaterial, boolean requireId) {
         if (productMaterial == null) {
             throw new ServiceException("鍙傛暟涓嶈兘涓虹┖");

--
Gitblit v1.9.3