Commit e0d04900 authored by tianyiming's avatar tianyiming

fix(core): 新增数据字典排序功能

parent d6d98801
......@@ -1963,6 +1963,7 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
* @return
*/
public JSONArray deployDictionaryNew(List<DataDictionary> list) {
list = list.stream().sorted(Comparator.comparing(DataDictionary::getSortNum)).collect(Collectors.toList());
JSONArray result = new JSONArray();
for (int i = 0; i < list.size(); i++) {
JSONObject object = new JSONObject();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment