fix 条款拆分导入时<>转为<>
This commit is contained in:
+3
-3
@@ -3543,8 +3543,8 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
||||
if (getValList != null && !getValList.isEmpty()) {
|
||||
for (SarFileSplitItemsValEO valEO : getValList) {
|
||||
String type = valEO.getType();
|
||||
String itemContent = valEO.getItemContent();
|
||||
String translation = valEO.getTranslation();
|
||||
String itemContent = valEO.getItemContent().replace("<", "<").replace(">", ">");
|
||||
String translation = valEO.getTranslation().replace("<", "<").replace(">", ">");
|
||||
// 当前段内容
|
||||
String valContent = "";
|
||||
String valContentTranslation = "";
|
||||
@@ -3598,7 +3598,7 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
||||
if (StringUtils.isBlank(value)) {
|
||||
continue;
|
||||
}
|
||||
String str = map.get(key).toString();
|
||||
String str = map.get(key).toString().replace("<", "<").replace(">", ">");
|
||||
if (StringUtils.isBlank(str)) {
|
||||
map.put(key,value);
|
||||
}else {
|
||||
|
||||
Reference in New Issue
Block a user