We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a54c44a commit 0926b39Copy full SHA for 0926b39
src/com/yanglb/utilitys/codegen/core/reader/BaseReader.java
@@ -144,10 +144,9 @@ private void doReader() throws CodeGenException {
144
// 读取指定的Sheet
145
for(String sheetName:this.sheets) {
146
XSSFSheet sheet = wb.getSheet(sheetName);
147
- if(sheet == null) {
148
- throw new CodeGenException(String.format(MsgUtility.getString("E_004"), sheetName));
+ if(sheet != null) {
+ this.results.add(this.onReader(sheet));
149
}
150
- this.results.add(this.onReader(sheet));
151
152
153
} catch (FileNotFoundException e) {
0 commit comments