优化拆分条款编辑

This commit is contained in:
梁琦涛
2024-09-02 17:24:43 +08:00
parent 9d354dc1bd
commit 6c3ca8f745
2 changed files with 16 additions and 2 deletions
@@ -481,7 +481,7 @@ public class DocumentSplitServiceImpl implements IDocumentSplitService {
List<LawsTag> lawsTags2 = fieldListSelect.stream()
.filter(j -> FieldCommon.GROUP.contains(j.getFieldShowType())).collect(Collectors.toList());
for (Map<String, Object> map : records) {
records.parallelStream().forEach(map->{
for (LawsTag lawsTag : lawsTags) {
String dbFieldName = lawsTag.getDbFieldName();
if (map.containsKey(dbFieldName)){
@@ -503,7 +503,7 @@ public class DocumentSplitServiceImpl implements IDocumentSplitService {
}
// 特殊翻译
specialTranslate(map);
}
});
}
private void specialTranslate(Map<String, Object> map) {