|
@@ -114,7 +114,8 @@ public class ComponentStatisticsController {
|
|
|
List<Map<String,Object>> list = this.relationReportService.queryObjectCountByObjInfos(groupCode, null,
|
|
|
Sets.newHashSet(AdmObjectType.SPACE.getIndex()), Lists.newArrayList("classCode"));
|
|
|
for (Map<String, Object> map : list) {
|
|
|
- map.put("name", map.get("classCode"));
|
|
|
+// map.put("name", map.get("classCode"));
|
|
|
+ map.put("name", SpaceTypeEnum.valueOf((String)map.get("classCode")).getDesc());
|
|
|
}
|
|
|
return AdmResponse.success(list);
|
|
|
}
|