作者 yuhong0206@sina.cn

取消

@@ -229,10 +229,6 @@ public class ExcelUtil<T> @@ -229,10 +229,6 @@ public class ExcelUtil<T>
229 { 229 {
230 // 从第2行开始取数据,默认第一行是表头. 230 // 从第2行开始取数据,默认第一行是表头.
231 Row row = sheet.getRow(i); 231 Row row = sheet.getRow(i);
232 - if(row == null)  
233 - {  
234 - continue;  
235 - }  
236 T entity = null; 232 T entity = null;
237 for (Map.Entry<Integer, Field> entry : fieldsMap.entrySet()) 233 for (Map.Entry<Integer, Field> entry : fieldsMap.entrySet())
238 { 234 {