法规技术评估-条款导入完善。
This commit is contained in:
+2
-1
@@ -394,7 +394,7 @@ public class LawsTechnologyEvaluationEOServiceImpl extends ServiceImpl<LawsTechn
|
|||||||
int rowNos = sheet.getPhysicalNumberOfRows();// 得到excel的总记录条数
|
int rowNos = sheet.getPhysicalNumberOfRows();// 得到excel的总记录条数
|
||||||
for (int i = 0; i < rowNos ; i++) {
|
for (int i = 0; i < rowNos ; i++) {
|
||||||
Row row = sheet.getRow(i + 1);
|
Row row = sheet.getRow(i + 1);
|
||||||
|
if(row != null){
|
||||||
String itemNum = row.getCell(0, Row.MissingCellPolicy.CREATE_NULL_AS_BLANK).toString();
|
String itemNum = row.getCell(0, Row.MissingCellPolicy.CREATE_NULL_AS_BLANK).toString();
|
||||||
String itemName = row.getCell(1, Row.MissingCellPolicy.CREATE_NULL_AS_BLANK).toString();
|
String itemName = row.getCell(1, Row.MissingCellPolicy.CREATE_NULL_AS_BLANK).toString();
|
||||||
String itemContents = row.getCell(2, Row.MissingCellPolicy.CREATE_NULL_AS_BLANK).toString();
|
String itemContents = row.getCell(2, Row.MissingCellPolicy.CREATE_NULL_AS_BLANK).toString();
|
||||||
@@ -408,6 +408,7 @@ public class LawsTechnologyEvaluationEOServiceImpl extends ServiceImpl<LawsTechn
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user