New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
能否提供读取空值单元格的功能? #14
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
readExcel2ObjectsHandler方法中是通过forEach迭代Row的方式获取的所有单元格,但是这种方式会忽略掉空的单元格。因为您的ExecelUtils是final类型的,所以能否在相关方法中加个参数控制支持读取空值?
`Cell cell=row.getCell(j);
String val;
if (cell == null) {
val="";
} else {
val = Utils.getCellValue(cell);
}
rows.add(val);
`
The text was updated successfully, but these errors were encountered: