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 sheet_index = 1;
int col_index = 7; // int row_index = 3;
XSSFCell cell2 = wb.getSheetAt(sheet_index).getRow(row_index).getCell(col_index); // int col_index = 7;
Object value2 = PoiUtil.getValue(cell2); // XSSFCell cell2 = wb.getSheetAt(sheet_index).getRow(row_index).getCell(col_index);
System.out.println(value2); // Object value2 = PoiUtil.getValue(cell2);
// System.out.println(value2);
// 检查数据类型是不是和规定的不兼容 // 检查数据类型是不是和规定的不兼容
for (int j = data_start_row; j <= lastRowNum; j++) {//行 for (int j = data_start_row; j <= lastRowNum; j++) {//行

Loading…
Cancel
Save