Commit e7401b64 by liyanlin

fix

parent be6e10a8
......@@ -33,6 +33,7 @@ import org.springframework.beans.BeanUtils;
import javax.annotation.Resource;
import java.io.*;
import java.math.BigDecimal;
import java.nio.charset.StandardCharsets;
import java.util.*;
import static com.blt.other.common.wrapper.ThrowingConsumer.handlingConsumerWrapper;
......@@ -128,9 +129,9 @@ public class CostPlanServiceFactory {
fileMap.put(entry.getName(),tempFile);
}
}
File feeExcel = fileMap.get("费用计划.xlsx");
File feeExcel = fileMap.get("costPlan.xlsx");
if(feeExcel == null){
throw new Exception("缺少文件【费用计划.xlsx】");
throw new Exception("缺少文件【costPlan.xlsx】");
}
InputStream feeIn = new FileInputStream(feeExcel);
Workbook wb = new XSSFWorkbook(feeIn);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment