generated from root/miduo_server
fix
parent
d8d3d0e870
commit
6edbaa9bf9
|
|
@ -10,7 +10,7 @@ import java.util.*;
|
||||||
|
|
||||||
public class ExcelUtils {
|
public class ExcelUtils {
|
||||||
private static boolean isWrite = true;
|
private static boolean isWrite = true;
|
||||||
private static String excelPath ="smb://60.1.1.12/Public/jieling/conf/data_exed/"; //excel 文件
|
private static String excelPath ="smb://60.1.1.12/Public/jieling/conf/data_execl/"; //excel 文件
|
||||||
private static String path = "//60.1.1.12/Public/jieling/conf/server/";
|
private static String path = "//60.1.1.12/Public/jieling/conf/server/";
|
||||||
// private static String path = "D:/tmp/";
|
// private static String path = "D:/tmp/";
|
||||||
private static Set<String> oldFileNames = new HashSet<>();
|
private static Set<String> oldFileNames = new HashSet<>();
|
||||||
|
|
@ -37,7 +37,7 @@ public class ExcelUtils {
|
||||||
}
|
}
|
||||||
String filePath =file1.getUncPath();
|
String filePath =file1.getUncPath();
|
||||||
Workbook wb = readExcel(filePath);
|
Workbook wb = readExcel(filePath);
|
||||||
if(file1.getName().contains("1.Map_")){
|
if(file1.getName().contains("Map_")){
|
||||||
bulidMapInfo(wb);
|
bulidMapInfo(wb);
|
||||||
}else{
|
}else{
|
||||||
buildDataInfo(wb);
|
buildDataInfo(wb);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue