Skip to content

Commit

Permalink
#296 fix the ci check
Browse files Browse the repository at this point in the history
  • Loading branch information
xuxuzhesi committed Nov 4, 2019
1 parent b2a91d8 commit ed27dad
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1337,13 +1337,13 @@ private void getBottomChildrenDataByBottomCiTypeId(Integer ciTypeId, Integer bot
for (CiData ciData : ciDatas) {
Map<String, Object> ciDataMap = ciData.getData();
List<CiTypeAttrDto> childrenCiTypeRelativeAttributes = findChildrenCiTypeRelativeAttributes(ciTypeId, uiProperties.getReferenceCodeOfBelong());
if (childrenCiTypeRelativeAttributes.size() != 0) {
if (childrenCiTypeRelativeAttributes.size() != 0 && ciDataMap.get("guid") != null) {
findBelongCi = getBottomChildrenDataByRelativeAttributes(childrenCiTypeRelativeAttributes, limitedCiTypeIds, ciDataMap.get("guid").toString(), bottomChildrenData, bottomCiTypeId, subsystemFilters);
}

if (!findBelongCi) {
List<CiTypeAttrDto> realizeCiTypeRelativeAttributes = findRealizeCiAttributesByCiTypeId(ciTypeId);
if (realizeCiTypeRelativeAttributes.size() != 0) {
if (realizeCiTypeRelativeAttributes.size() != 0 && ciDataMap.get("guid") != null) {
getBottomChildrenDataByRealizeAttributes(realizeCiTypeRelativeAttributes, limitedCiTypeIds, ciDataMap.get("guid").toString(), bottomChildrenData, bottomCiTypeId, subsystemFilters);
}
}
Expand Down

0 comments on commit ed27dad

Please sign in to comment.