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