From 9826962e50d84c084a5d9018fcff7a6aa231a38d Mon Sep 17 00:00:00 2001
From: lxw <810412026@qq.com>
Date: 星期一, 08 八月 2022 10:55:06 +0800
Subject: [PATCH] 产品管理和散装件管理中与散装件有联系的都要加上版本

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

diff --git a/src/main/java/com/whyc/controller/ComponentController.java b/src/main/java/com/whyc/controller/ComponentController.java
index 378cc11..5e4b8e9 100644
--- a/src/main/java/com/whyc/controller/ComponentController.java
+++ b/src/main/java/com/whyc/controller/ComponentController.java
@@ -22,10 +22,10 @@
     public Response getAllComponent(@RequestParam int pageCurr, @RequestParam int pageSize){
         return service.getAllComponent(pageCurr,pageSize);
     }
-    @ApiOperation(tags = "浜у搧绠$悊",value = "鏌ヨ鎵�鏈夌殑鏁h浠朵俊鎭笉鍒嗛〉(涓嶅寘鍚鍏宠仈鐨勬暎瑁呬欢锛宻tatus=1鍙敤)")
+    @ApiOperation(tags = "浜у搧绠$悊",value = "鏌ヨ鎵�鏈夌殑鏁h浠朵俊鎭笉鍒嗛〉(涓嶅寘鍚鏈�鏂扮増鏈叧鑱旂殑鏁h浠讹紝status=1鍙敤)")
     @GetMapping("getComponentWithoutSub")
-    public Response getComponentWithoutSub(@RequestParam String parentModel, @RequestParam String subName){
-        return service.getComponentWithoutSub(parentModel,subName);
+    public Response getComponentWithoutSub(@RequestParam String parentModel, @RequestParam String subName, @RequestParam int version){
+        return service.getComponentWithoutSub(parentModel,subName,version);
     }
     @ApiOperation(value = "鍒犻櫎鏁h浠讹紙灏嗘暎瑁呬欢鏍囪瘑涓轰笉鍙敤锛�")
     @GetMapping("deleteComponent")

--
Gitblit v1.9.1