From cf9a5039e6db9d1d5963e3fe1a37d00169ec2ef7 Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期三, 25 六月 2025 11:18:22 +0800
Subject: [PATCH] 验收报告修改

---
 src/main/java/com/whyc/controller/ProductBomController.java |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/src/main/java/com/whyc/controller/ProductBomController.java b/src/main/java/com/whyc/controller/ProductBomController.java
index a854a02..efc350d 100644
--- a/src/main/java/com/whyc/controller/ProductBomController.java
+++ b/src/main/java/com/whyc/controller/ProductBomController.java
@@ -13,9 +13,7 @@
 import org.springframework.web.bind.annotation.*;
 
 import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
 import java.util.Date;
-import java.util.List;
 
 @Api(tags = "鍥剧焊绠$悊")
 @RestController
@@ -32,12 +30,12 @@
     public Response searchCadDrawer(@RequestBody ProductBom productBom, @RequestParam int pageCurr, @RequestParam int pageSize){
         return service.searchCadDrawer(productBom,pageCurr,pageSize);
     }
-
+/*
     @ApiOperation("鍥剧焊鏂囦欢鎵撳寘涓嬭浇")
     @PostMapping("downloadCadDrawer")
     public void downloadCadDrawer(HttpServletRequest req, HttpServletResponse resp,@RequestBody List<ProductBom> boms){
         service.downloadCadDrawer(req,resp,boms);
-    }
+    }*/
     @ApiOperation(value = "鏍规嵁瀛愪欢code鑾峰彇鏈�缁堢殑淇℃伅")
     @GetMapping("getBomBySubcode")
     public Response getBomBySubcode(@RequestParam String scode){
@@ -67,15 +65,15 @@
         return service.getSubByMaterialProduct(parentModel);
     }*/
 
-    @ApiOperation(tags = "浜у搧绠$悊",value = "浜у搧鎵撳寘涓嬭浇")
+    /*@ApiOperation(tags = "浜у搧绠$悊",value = "浜у搧鎵撳寘涓嬭浇")
     @GetMapping("downloadBom")
     public void downloadBom(HttpServletRequest req, HttpServletResponse resp,@RequestParam String parentModel){
          service.downloadBom(req,resp,parentModel);
-    }
+    }*/
     @ApiOperation(tags = "鏁h浠剁鐞�",value = "鏌ヨ鎵�鏈変骇鍝佷腑娌℃湁涓庢寚瀹氭暎瑁呬欢鍏宠仈鐨勫瓙浠�")
     @GetMapping("getAllSubWithOutMaterial")
-    public Response getAllSubWithOutMaterial(@RequestParam int MaterialId){
-        return  service.getAllSubWithOutMaterial(MaterialId);
+    public Response getAllSubWithOutMaterial(@RequestParam int materialId){
+        return  service.getAllSubWithOutMaterial(materialId);
     }
 
 }

--
Gitblit v1.9.1