main
黄海 2 years ago
parent ab525e9873
commit a4da0e20f7

@ -567,12 +567,13 @@ public class CollectController extends Controller {
}
}
}
int sheet_index = 1;
int row_index = 3;
int col_index = 7;
XSSFCell cell2 = wb.getSheetAt(sheet_index).getRow(row_index).getCell(col_index);
Object value2 = PoiUtil.getValue(cell2);
System.out.println(value2);
// int sheet_index = 1;
// int row_index = 3;
// int col_index = 7;
// XSSFCell cell2 = wb.getSheetAt(sheet_index).getRow(row_index).getCell(col_index);
// Object value2 = PoiUtil.getValue(cell2);
// System.out.println(value2);
// 检查数据类型是不是和规定的不兼容
for (int j = data_start_row; j <= lastRowNum; j++) {//行

Loading…
Cancel
Save