main
黄海 8 months ago
parent 7b60bf4982
commit d95149bc3a

@ -419,7 +419,7 @@ public class ExcelKit {
&& row.getCell(0).toString().contains(keyword)) {
if (start == -1) {
start = rowIndex;
System.out.println("找到" + keyword + ",start=" + start);
//System.out.println("找到" + keyword + ",start=" + start);
}
}
if (start > 0 && (row == null || row.getCell(0) == null)) {
@ -429,7 +429,7 @@ public class ExcelKit {
}
start += headRows;//第二个表的表头有几行
//System.out.println("第二个表格开始行索引=" + start + ",结束行索引=" + end);
System.out.println("表格开始行索引=" + start + ",结束行索引=" + end);
//输出第二个表格的数据
for (rowIndex = start; rowIndex <= end; rowIndex++) {
Row row = sheet.getRow(rowIndex);

Loading…
Cancel
Save