|
|
@ -264,13 +264,13 @@ public class IndexExplainServiceImpl implements IndexExplainService { |
|
|
|
List<String> threlodList = new ArrayList<>(); |
|
|
|
indexGroupDetailEntities.forEach(index -> { |
|
|
|
IndexScoreDetailResult table = new IndexScoreDetailResult(); |
|
|
|
if (OrgLevelEnum.GRID.equals(orgLevel) && IndexConstant.ZI_SHEN.equals(type) && index.getAllIndexCodePath().contains(IndexConstant.XIA_JI)) { |
|
|
|
if (OrgLevelEnum.GRID.getCode().equals(orgLevel) && IndexConstant.ZI_SHEN.equals(type) && index.getAllIndexCodePath().contains(IndexConstant.XIA_JI)) { |
|
|
|
return; |
|
|
|
} |
|
|
|
if (OrgLevelEnum.DISTRICT.equals(orgLevel) && !index.getAllIndexCodePath().contains(type) && !index.getAllIndexCodePath().contains(IndexConstant.ZHI_LI_NENG_LI)) { |
|
|
|
if (OrgLevelEnum.DISTRICT.getCode().equals(orgLevel) && !index.getAllIndexCodePath().contains(type) && !index.getAllIndexCodePath().contains(IndexConstant.ZHI_LI_NENG_LI)) { |
|
|
|
return; |
|
|
|
} |
|
|
|
if (!OrgLevelEnum.GRID.equals(orgLevel) && !OrgLevelEnum.DISTRICT.equals(orgLevel) && !index.getAllIndexCodePath().contains(type)) { |
|
|
|
if (!OrgLevelEnum.GRID.getCode().equals(orgLevel) && !OrgLevelEnum.DISTRICT.getCode().equals(orgLevel) && !index.getAllIndexCodePath().contains(type)) { |
|
|
|
return; |
|
|
|
} |
|
|
|
table.setIndexCode(index.getIndexCode()); |
|
|
|