|
@ -336,7 +336,7 @@ public class IcPolicyServiceImpl extends BaseServiceImpl<IcPolicyDao, IcPolicyEn |
|
|
if (CollectionUtils.isNotEmpty(originResiRules)) { |
|
|
if (CollectionUtils.isNotEmpty(originResiRules)) { |
|
|
List<ResisByPolicyRulesFormDTO.ResiRule> resiRules = originResiRules |
|
|
List<ResisByPolicyRulesFormDTO.ResiRule> resiRules = originResiRules |
|
|
.stream() |
|
|
.stream() |
|
|
.map((r) -> new ResisByPolicyRulesFormDTO.ResiRule(r.getRuleDesc(), r.getLastLogicalRel(), r.getItemGroupId(), |
|
|
.map((r) -> new ResisByPolicyRulesFormDTO.ResiRule(r.getRuleDesc(), r.getNextLogicalRel(), r.getItemGroupId(), |
|
|
r.getItemId(), r.getQueryType(), r.getColTable(), r.getColKey(), r.getColVal())) |
|
|
r.getItemId(), r.getQueryType(), r.getColTable(), r.getColKey(), r.getColVal())) |
|
|
.collect(Collectors.toList()); |
|
|
.collect(Collectors.toList()); |
|
|
|
|
|
|
|
@ -349,7 +349,7 @@ public class IcPolicyServiceImpl extends BaseServiceImpl<IcPolicyDao, IcPolicyEn |
|
|
List<ResisByPolicyRulesFormDTO.HouseRule> houseRules = originHouseRules |
|
|
List<ResisByPolicyRulesFormDTO.HouseRule> houseRules = originHouseRules |
|
|
.stream() |
|
|
.stream() |
|
|
.map((r) -> new ResisByPolicyRulesFormDTO.HouseRule(r.getColTable(), r.getColKey(), r.getColVal(), |
|
|
.map((r) -> new ResisByPolicyRulesFormDTO.HouseRule(r.getColTable(), r.getColKey(), r.getColVal(), |
|
|
r.getRuleDesc(), r.getLastLogicalRel(), r.getQueryType())) |
|
|
r.getRuleDesc(), r.getNextLogicalRel(), r.getQueryType())) |
|
|
.collect(Collectors.toList()); |
|
|
.collect(Collectors.toList()); |
|
|
aggForm.getRuleList().setHouseRule(houseRules); |
|
|
aggForm.getRuleList().setHouseRule(houseRules); |
|
|
} |
|
|
} |
|
@ -359,7 +359,7 @@ public class IcPolicyServiceImpl extends BaseServiceImpl<IcPolicyDao, IcPolicyEn |
|
|
if (CollectionUtils.isNotEmpty(originStatRules)) { |
|
|
if (CollectionUtils.isNotEmpty(originStatRules)) { |
|
|
List<ResisByPolicyRulesFormDTO.StatRule> statRules = originStatRules |
|
|
List<ResisByPolicyRulesFormDTO.StatRule> statRules = originStatRules |
|
|
.stream() |
|
|
.stream() |
|
|
.map((r) -> new ResisByPolicyRulesFormDTO.StatRule(r.getColKey(), r.getColVal(), r.getLastLogicalRel(), |
|
|
.map((r) -> new ResisByPolicyRulesFormDTO.StatRule(r.getColKey(), r.getColVal(), r.getNextLogicalRel(), |
|
|
r.getRuleDesc(), r.getQueryType(), r.getColTable())) |
|
|
r.getRuleDesc(), r.getQueryType(), r.getColTable())) |
|
|
.collect(Collectors.toList()); |
|
|
.collect(Collectors.toList()); |
|
|
|
|
|
|
|
|