use of com.webank.wedatasphere.qualitis.query.response.RuleQueryRule in project Qualitis by WeBankFinTech.
the class RuleQueryServiceImpl method putIntoRuleOfProject.
private void putIntoRuleOfProject(RuleDataSource ds, RuleQueryProject queryProject) {
Rule rule = ds.getRule();
Long ruleId = rule.getId();
if (queryProject.getDataMap().containsKey(ruleId)) {
RuleQueryRule queryRule = queryProject.getDataMap().get(ruleId);
putIntoClusterOfRule(ds, queryRule);
return;
}
// If not contain
RuleQueryRule ruleSrc = newRuleQueryRule(rule, ds);
queryProject.addRuleQueryRule(ruleSrc);
}
Aggregations