From 0b4221a457d7899809d3f733c2c64c977fb9553e Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期六, 14 三月 2026 09:46:52 +0800
Subject: [PATCH] 查询物料规格列表接口优化增加如果没有传参则查询所有产品的规格

---
 src/main/java/com/ruoyi/production/service/ProductMaterialService.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/ruoyi/production/service/ProductMaterialService.java b/src/main/java/com/ruoyi/production/service/ProductMaterialService.java
index 9dfc867..75a32cc 100644
--- a/src/main/java/com/ruoyi/production/service/ProductMaterialService.java
+++ b/src/main/java/com/ruoyi/production/service/ProductMaterialService.java
@@ -21,11 +21,13 @@
 
     void syncProductMaterialJob();
 
-    List<ProductMaterialGroupDto> 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);
 }

--
Gitblit v1.9.3