whycxzp
2022-09-07 414d8e938349358b43e6ff485f7ca819d10b7a41
src/main/java/com/whyc/controller/SoftwareController.java
@@ -12,6 +12,7 @@
import org.springframework.web.multipart.MultipartFile;
import java.io.IOException;
import java.text.ParseException;
import java.util.List;
@Api(tags = "软件管理-新版")
@@ -24,7 +25,7 @@
    @ApiModelProperty("excel解析")
    @PostMapping("excelParse")
    public Response excelParse(@RequestParam MultipartFile multipartFile) throws IOException, InvalidFormatException {
    public Response excelParse(@RequestParam MultipartFile multipartFile) throws IOException, InvalidFormatException, ParseException {
        Response<Object> response = new Response<>();
        String name=multipartFile.getOriginalFilename();
        assert name != null;