From f45f999d6d366cf1f0b4f0b1a3364d4568a5a406 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期五, 13 三月 2026 12:01:20 +0800
Subject: [PATCH] Merge branch 'dev_宁夏_中盛建材' of http://114.132.189.42:9002/r/product-inventory-management-after into dev_宁夏_中盛建材

---
 src/main/java/com/ruoyi/production/controller/ProductMaterialController.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/ruoyi/production/controller/ProductMaterialController.java b/src/main/java/com/ruoyi/production/controller/ProductMaterialController.java
index 82acc3e..2c27907 100644
--- a/src/main/java/com/ruoyi/production/controller/ProductMaterialController.java
+++ b/src/main/java/com/ruoyi/production/controller/ProductMaterialController.java
@@ -45,8 +45,8 @@
     @GetMapping("/list")
     @ApiOperation("鐗╂枡鏁版嵁绫诲埆鏁版嵁闆嗗悎")
     @Log(title = "鐗╂枡鏁版嵁绫诲埆鏁版嵁闆嗗悎", businessType = BusinessType.OTHER)
-    public AjaxResult productMaterialList() {
-        List<ProductMaterialGroupDto> productMaterialMap = productMaterialService.ProductMaterialList();
+    public AjaxResult productMaterialList(@RequestParam("type") Integer type) {
+        List<ProductMaterialGroupDto> productMaterialMap = productMaterialService.ProductMaterialList(type);
         return AjaxResult.success(productMaterialMap);
     }
 

--
Gitblit v1.9.3