From fc24827d4eb7b15c28a184123376eb758d93a9ad Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期五, 10 四月 2026 17:25:30 +0800
Subject: [PATCH] feat: 生产计划导入验证产品是否存在、申请单编号重复、强度是否正确
---
src/main/java/com/ruoyi/production/service/ProductMaterialService.java | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/ruoyi/production/service/ProductMaterialService.java b/src/main/java/com/ruoyi/production/service/ProductMaterialService.java
index 4d24475..0b9bd71 100644
--- a/src/main/java/com/ruoyi/production/service/ProductMaterialService.java
+++ b/src/main/java/com/ruoyi/production/service/ProductMaterialService.java
@@ -1,10 +1,11 @@
package com.ruoyi.production.service;
import com.baomidou.mybatisplus.extension.service.IService;
+import com.ruoyi.production.dto.ProductMaterialGroupDto;
+import com.ruoyi.production.dto.ProductMaterialSkuDto;
import com.ruoyi.production.pojo.ProductMaterial;
import java.util.List;
-import java.util.Map;
/**
* <br>
@@ -21,11 +22,17 @@
void syncProductMaterialJob();
- Map<String, List<ProductMaterial>> ProductMaterialList(String materialName);
+ List<ProductMaterialGroupDto> ProductMaterialList(Integer type);
void addProductMaterial(ProductMaterial productMaterial);
void updateProductMaterial(ProductMaterial productMaterial);
void deleteProductMaterial(List<Long> ids);
+
+ List<ProductMaterialGroupDto> productMaterialListByQuery(String materialName, Integer materialTypeId);
+
+ ProductMaterialSkuDto selectProductByModelId(Long productModelId);
+
+ ProductMaterialSkuDto selectProductByProductMainId(Long productOrderId);
}
--
Gitblit v1.9.3