From eb33c60306f707ec7b30a048388e4de702ca2f15 Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期四, 06 三月 2025 08:24:51 +0800 Subject: [PATCH] 查询日期三天内的所有上传软件 --- src/main/java/com/whyc/controller/ProductController.java | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/whyc/controller/ProductController.java b/src/main/java/com/whyc/controller/ProductController.java index c5bee77..9d78ceb 100644 --- a/src/main/java/com/whyc/controller/ProductController.java +++ b/src/main/java/com/whyc/controller/ProductController.java @@ -90,8 +90,8 @@ @ApiOperation(value = "鏍规嵁浜у搧姣嶆枡鍨嬪彿锛屽畾鍒跺崟鍙凤紝鐗堟湰涓嬭浇鍘熷鍘嬬缉鍖呮枃浠�",notes = "11.17淇敼鍚庝娇鐢�") @GetMapping("getOriginalZip") - public Response getOriginalZip( @RequestParam String parentModel,@RequestParam(required = false) String customCode,@RequestParam int version){ - return bomHistoryService.getOriginalZip(parentModel,customCode,version); + public Response getOriginalZip(@RequestParam String parentCode, @RequestParam String parentModel,@RequestParam(required = false) String customCode,@RequestParam int version){ + return bomHistoryService.getOriginalZip(parentCode,parentModel,customCode,version); } @@ -108,7 +108,7 @@ return historyService.setpHistoryEnable(parentCode, customCode, version, enabled,reason,versionTime); } @PostMapping("zipParse") - @ApiOperation(value = "zip瑙f瀽",notes = "杩斿洖缁撴灉涓�,杩藉姞data3涓哄姣旂粨鏋�,涓簁ey-value闆嗗悎,key涓篸iffList,addList,deleteList") + @ApiOperation(value = "zip瑙f瀽",notes = "杩斿洖缁撴灉涓�,杩藉姞data3涓哄姣旂粨鏋�,涓簁ey-value闆嗗悎,key涓篸iffList,addList,deleteList,diffDwgList") public Response zipParse(@RequestParam("file") MultipartFile file,@RequestParam(required = false) String baseStr) throws IOException, InvalidFormatException { //瑕佸仛瀵规瘮鐨勪骇鍝�,浼犲叆浜嗙墿鏂�(parent_code)鍜屽畾鍒惰〃鍗曞彿(custom_code) Product baseProduct = (baseStr==null?null:ActionUtil.getGson().fromJson(baseStr, Product.class)); @@ -153,4 +153,10 @@ public Response getCompareProduct(){ return service.getCompareProduct(); } + + @ApiOperation(value = "楠岃瘉姣嶆枡缂栫爜鏄惁瀛樺湪浜у搧涓�") + @GetMapping("judgeParentCode") + public Response judgeParentCode(@RequestParam String parentCode,@RequestParam(required = false) String customCode){ + return service.judgeParentCode(parentCode,customCode); + } } -- Gitblit v1.9.1