文档拆分-注释

This commit is contained in:
liyawei
2022-10-14 14:49:40 +08:00
parent e89805053c
commit c51e215107
@@ -576,13 +576,13 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
}
}
//如果value中包含英文单、双引号,替换成中文的。 英文的符号影响到法规技术评估流程了。
if(entry.getValue() != null){
if(StringUtils.contains(entry.getValue().toString(),"'") || StringUtils.contains(entry.getValue().toString(),"\"")){
String key = entry.getKey();
String value = entry.getValue().toString().replaceAll("'", "").replaceAll("\"", "");
record1.put(key,value);
}
}
// if(entry.getValue() != null){
// if(StringUtils.contains(entry.getValue().toString(),"'") || StringUtils.contains(entry.getValue().toString(),"\"")){
// String key = entry.getKey();
// String value = entry.getValue().toString().replaceAll("'", "").replaceAll("\"", "”");
// record1.put(key,value);
// }
// }
}
}
// 拼接文件名