问答查询 标准号字段 查询修复
This commit is contained in:
@@ -188,17 +188,6 @@ public class DicTypeEOServiceImpl extends ServiceImpl<DicTypeEODao,DicTypeEO> im
|
|||||||
List<Map<String,String >> arr = new ArrayList<>();
|
List<Map<String,String >> arr = new ArrayList<>();
|
||||||
resultMap.put("STANDCLASSIFYSHOW",arr);
|
resultMap.put("STANDCLASSIFYSHOW",arr);
|
||||||
|
|
||||||
List<Map<String,String >> standclassify= (List<Map<String, String>>) resultMap.get("STANDCLASSIFY");
|
|
||||||
List<String> arrayList=new ArrayList<>();
|
|
||||||
Map<String,Map<String,String>> data=new HashMap<>();
|
|
||||||
standclassify.forEach(stringStringMap -> {
|
|
||||||
arrayList.add(stringStringMap.get("label"));
|
|
||||||
data.put(stringStringMap.get("label"),stringStringMap);
|
|
||||||
});
|
|
||||||
Collections.sort(arrayList);
|
|
||||||
List<Map<String,String >> res=new ArrayList<>();
|
|
||||||
arrayList.forEach(s -> res.add(data.get(s)));
|
|
||||||
resultMap.put("STANDCLASSIFY",res);
|
|
||||||
return resultMap;
|
return resultMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user