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