Browse Source

fix bug:web页面不显示设备设施下的物业空间,直接去掉.改为设备设施下的业务空间

lijie 2 years ago
parent
commit
cd505d1a91

+ 4 - 4
src/main/java/com/persagy/proxy/report/service/impl/RelationReportService.java

@@ -174,10 +174,10 @@ public class RelationReportService implements IRelationReportService {
 		for (ObjectRelation relation : relations) {
 			String key = StrUtil.format(formatStr, relation.getGraphCode(), relation.getRelCode());
 			result.put(key,result.getOrDefault(key, 0)+ (null!=relation.getCount()?relation.getCount():0));
-			if (StrUtil.isNotBlank(relation.getRelValue())){
-				String valKey = StrUtil.format(formatValStr, relation.getGraphCode(), relation.getRelCode(), relation.getRelValue());
-				result.put(valKey,result.getOrDefault(valKey, 0)+ (null!=relation.getCount()?relation.getCount():0));
-			}
+			//if (StrUtil.isNotBlank(relation.getRelValue())){
+			//	String valKey = StrUtil.format(formatValStr, relation.getGraphCode(), relation.getRelCode(), relation.getRelValue());
+			//	result.put(valKey,result.getOrDefault(valKey, 0)+ (null!=relation.getCount()?relation.getCount():0));
+			//}
 		}
 		return result;
 	}