58241问题处理。
This commit is contained in:
+3
-3
@@ -414,21 +414,21 @@ public class LawsTechnologyEvaluationEOServiceImpl extends ServiceImpl<LawsTechn
|
||||
Cell itemNumCell = row.getCell(0);
|
||||
if(itemNumCell != null){
|
||||
itemNumCell.setCellType(CellType.STRING);
|
||||
itemNum = itemNumCell.toString();
|
||||
itemNum = itemNumCell.toString().replaceAll("'","‘").replaceAll("\"","”");
|
||||
}
|
||||
|
||||
String itemName = "";
|
||||
Cell itemNameCell = row.getCell(1);
|
||||
if(itemNameCell != null){
|
||||
itemNameCell.setCellType(CellType.STRING);
|
||||
itemName = itemNameCell.toString();
|
||||
itemName = itemNameCell.toString().replaceAll("'","‘").replaceAll("\"","”");
|
||||
}
|
||||
|
||||
String itemContents = "";
|
||||
Cell itemContentsCell = row.getCell(2);
|
||||
if(itemContentsCell != null){
|
||||
itemContentsCell.setCellType(CellType.STRING);
|
||||
itemContents = itemContentsCell.toString();
|
||||
itemContents = itemContentsCell.toString().replaceAll("'","‘").replaceAll("\"","”");
|
||||
}
|
||||
|
||||
/*String itemNum = row.getCell(0, Row.MissingCellPolicy.CREATE_NULL_AS_BLANK).toString();
|
||||
|
||||
Reference in New Issue
Block a user