fix: 外来标准库多线程排序问题
This commit is contained in:
+1
-1
@@ -623,7 +623,7 @@ public class LawsCommonServiceImpl implements ILawsCommonService {
|
|||||||
private List<Map<String, Object>> processResultMapPageList(List<Map<String, Object>> records, List<LawsTag> fieldList) {
|
private List<Map<String, Object>> processResultMapPageList(List<Map<String, Object>> records, List<LawsTag> fieldList) {
|
||||||
List<SysDictItem> dictItemList = getDictItemList(fieldList);
|
List<SysDictItem> dictItemList = getDictItemList(fieldList);
|
||||||
List<Map<String, Object>> resultMapList = new CopyOnWriteArrayList<>();
|
List<Map<String, Object>> resultMapList = new CopyOnWriteArrayList<>();
|
||||||
records.parallelStream().forEach(map->{
|
records.forEach(map->{
|
||||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||||
String id = (String) map.get("id");
|
String id = (String) map.get("id");
|
||||||
String standardNumber = (String) map.get(FieldCommon.STANDARD_NUMBER);
|
String standardNumber = (String) map.get(FieldCommon.STANDARD_NUMBER);
|
||||||
|
|||||||
Reference in New Issue
Block a user