生成地图表数据
parent
afaec0973b
commit
0251011110
|
@ -7,7 +7,7 @@ import java.util.*;
|
|||
|
||||
public class ExcelUtils {
|
||||
private static boolean isWrite = true;
|
||||
private static String excelPath ="C:/ljsd/demo/tmp/Map_data/"; //excel 文件
|
||||
private static String excelPath ="C:/ljsd/demo/tmp/"; //excel 文件
|
||||
private static String path = "conf/server/";
|
||||
private static Set<String> oldFileNames = new HashSet<>();
|
||||
private static String javaFilePath = "serverlogic/src/main/java/com/ljsd/jieling/config/";
|
||||
|
@ -249,8 +249,9 @@ public class ExcelUtils {
|
|||
Object[][] aa = new Object[rowNum][];
|
||||
for (int i = 0; i < rowNum; i++) {
|
||||
Row row = sheet.getRow(i);
|
||||
Object[] bb = new Object[rowNum];
|
||||
for (int j = 0; j < rowNum; j++) {
|
||||
int physicalNumberOfCells = row.getPhysicalNumberOfCells();
|
||||
Object[] bb = new Object[physicalNumberOfCells];
|
||||
for (int j = 0; j < physicalNumberOfCells; j++) {
|
||||
//文件名
|
||||
Object cellData = getCellFormatValue(row.getCell(j),null);
|
||||
if (!"".equals(cellData)) {
|
||||
|
|
Loading…
Reference in New Issue