项目状态看板--时间轴
This commit is contained in:
+9
-2
@@ -98,8 +98,15 @@ public class DictAspect {
|
||||
if(!"java.util.LinkedHashMap".equals(name) && !"java.util.HashMap".equals(name) && !"java.lang.String".equals(name)){
|
||||
List<JSONObject> items = new ArrayList<>();
|
||||
for (Object record : (List)((Result) result).getResult()) {
|
||||
JSONObject item = getJsonObject(record,cut);
|
||||
items.add(item);
|
||||
if("java.util.ArrayList".equals(record.getClass().getName())){
|
||||
for (Object o : (List) record) {
|
||||
JSONObject item = getJsonObject(o,cut);
|
||||
items.add(item);
|
||||
}
|
||||
}else{
|
||||
JSONObject item = getJsonObject(record,cut);
|
||||
items.add(item);
|
||||
}
|
||||
}
|
||||
((Result) result).setResult(items);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user