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