Browse Source

修改数据质量报告中业务空间各分区占比名称显示问题

liuyang 3 years ago
parent
commit
7af2a49229

+ 2 - 1
src/main/java/com/persagy/proxy/report/controller/ComponentStatisticsController.java

@@ -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);
 	}