From 6aabc8b327955dc9aa86ec404f895769b56b8907 Mon Sep 17 00:00:00 2001 From: whycxzp <perryhsu@163.com> Date: 星期二, 19 七月 2022 10:50:28 +0800 Subject: [PATCH] bom审批-excel解析 --- src/main/java/com/whyc/controller/ProductBomApprovingController.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/whyc/controller/ProductBomApprovingController.java b/src/main/java/com/whyc/controller/ProductBomApprovingController.java index 4aa0377..87d8f17 100644 --- a/src/main/java/com/whyc/controller/ProductBomApprovingController.java +++ b/src/main/java/com/whyc/controller/ProductBomApprovingController.java @@ -5,6 +5,7 @@ import com.whyc.pojo.ProductBomApproving; import com.whyc.service.ProductBomApprovingService; import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; import org.apache.poi.openxml4j.exceptions.InvalidFormatException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; @@ -32,6 +33,7 @@ * excel瑙f瀽bom */ @PostMapping("excelParse") + @ApiOperation("excel瑙f瀽") public Response excelParse(@RequestParam("file") MultipartFile file) throws IOException, InvalidFormatException { Response<Object> response = new Response<>(); String name=file.getOriginalFilename(); -- Gitblit v1.9.1