whycxzp
2022-07-19 dc974ec2faed53d789abbe49c70bf0443ed29703
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解析bom
     */
    @PostMapping("excelParse")
    @ApiOperation("excel解析")
    public Response excelParse(@RequestParam("file") MultipartFile file) throws IOException, InvalidFormatException {
        Response<Object> response = new Response<>();
        String name=file.getOriginalFilename();