update 文档拆分条款导入 's时回显\\\\'s
This commit is contained in:
+10
-10
@@ -647,9 +647,9 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
||||
} else if(fieldPersonIdList.contains(key) || standardIdList.contains(key)){
|
||||
continue;
|
||||
} else {
|
||||
if ("item_content".equals(key)) {
|
||||
value = value.toString().replaceAll("\\\\", "\\\\\\\\").replaceAll("'", "\\\\'");
|
||||
}
|
||||
//if ("item_content".equals(key)) {
|
||||
// value = value.toString().replaceAll("\\\\", "\\\\\\\\").replaceAll("'", "\\\\'");
|
||||
//}
|
||||
valuesList.add(String.valueOf(value));
|
||||
valuesBuilder.append("," + "'" + value + "'");
|
||||
}
|
||||
@@ -790,9 +790,9 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
||||
} else if(fieldPersonIdList.contains(key) || standardIdList.contains(key)){
|
||||
continue;
|
||||
} else {
|
||||
if ("item_content".equals(key)) {
|
||||
value = value.toString().replaceAll("\\\\", "\\\\\\\\").replaceAll("'", "\\\\'");
|
||||
}
|
||||
//if ("item_content".equals(key)) {
|
||||
// value = value.toString().replaceAll("\\\\", "\\\\\\\\").replaceAll("'", "\\\\'");
|
||||
//}
|
||||
// valuesList.add(String.valueOf(value));
|
||||
// valuesBuilder.append("," + "'" + value + "'");
|
||||
}
|
||||
@@ -3481,10 +3481,10 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
||||
sarFileSplitItemsEO.remove("itemList");
|
||||
sarFileSplitItemsEO = filterMap(sarFileSplitItemsEO);
|
||||
Map<String, Object> finalSarFileSplitItemsEO = sarFileSplitItemsEO;
|
||||
sarFileSplitItemsEO.forEach((k, v) -> {
|
||||
String str = String.valueOf(v);
|
||||
finalSarFileSplitItemsEO.put(k, str.replace("'", "\\'"));
|
||||
});
|
||||
//sarFileSplitItemsEO.forEach((k, v) -> {
|
||||
// String str = String.valueOf(v);
|
||||
// finalSarFileSplitItemsEO.put(k, str.replace("'", "\\'"));
|
||||
//});
|
||||
insertInfo3(finalSarFileSplitItemsEO,id,"import", fieldListSelect, lawsDocumentSplit); // 添加条款
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user