fix: 数据格式修复
This commit is contained in:
@@ -63,7 +63,8 @@ public class SchisandraFileHeatmapDomainServiceImpl implements SchisandraFileHea
|
|||||||
List<HashMap<Object,Object>> mapList =new ArrayList<>();
|
List<HashMap<Object,Object>> mapList =new ArrayList<>();
|
||||||
list1.keySet().forEach(obj->{
|
list1.keySet().forEach(obj->{
|
||||||
HashMap<Object,Object> map=new HashMap<>();
|
HashMap<Object,Object> map=new HashMap<>();
|
||||||
map.put(obj,Long.valueOf(list1.get(obj).size()));
|
map.put("date", obj);
|
||||||
|
map.put("count",Long.valueOf(list1.get(obj).size()));
|
||||||
mapList.add(map);
|
mapList.add(map);
|
||||||
});
|
});
|
||||||
return mapList;
|
return mapList;
|
||||||
@@ -78,7 +79,8 @@ public class SchisandraFileHeatmapDomainServiceImpl implements SchisandraFileHea
|
|||||||
List<HashMap<Object,Object>> mapList =new ArrayList<>();
|
List<HashMap<Object,Object>> mapList =new ArrayList<>();
|
||||||
list1.keySet().forEach(obj->{
|
list1.keySet().forEach(obj->{
|
||||||
HashMap<Object,Object> map=new HashMap<>();
|
HashMap<Object,Object> map=new HashMap<>();
|
||||||
map.put(obj,Long.valueOf(list1.get(obj).size()));
|
map.put("date", obj);
|
||||||
|
map.put("count",Long.valueOf(list1.get(obj).size()));
|
||||||
mapList.add(map);
|
mapList.add(map);
|
||||||
});
|
});
|
||||||
return mapList;
|
return mapList;
|
||||||
|
Reference in New Issue
Block a user