Commit e7401b64 by liyanlin

fix

parent be6e10a8
...@@ -33,6 +33,7 @@ import org.springframework.beans.BeanUtils; ...@@ -33,6 +33,7 @@ import org.springframework.beans.BeanUtils;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.io.*; import java.io.*;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.nio.charset.StandardCharsets;
import java.util.*; import java.util.*;
import static com.blt.other.common.wrapper.ThrowingConsumer.handlingConsumerWrapper; import static com.blt.other.common.wrapper.ThrowingConsumer.handlingConsumerWrapper;
...@@ -128,9 +129,9 @@ public class CostPlanServiceFactory { ...@@ -128,9 +129,9 @@ public class CostPlanServiceFactory {
fileMap.put(entry.getName(),tempFile); fileMap.put(entry.getName(),tempFile);
} }
} }
File feeExcel = fileMap.get("费用计划.xlsx"); File feeExcel = fileMap.get("costPlan.xlsx");
if(feeExcel == null){ if(feeExcel == null){
throw new Exception("缺少文件【费用计划.xlsx】"); throw new Exception("缺少文件【costPlan.xlsx】");
} }
InputStream feeIn = new FileInputStream(feeExcel); InputStream feeIn = new FileInputStream(feeExcel);
Workbook wb = new XSSFWorkbook(feeIn); 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