int lastCellNum = row.getLastCellNum();这个得到后有些行会多出两个单元格数;比较奇怪,
这个方法不可靠,需要根据单元格是否有内容判断。excel会自动创建一些空的列。