74-add-jFuzzyLogic #75

Merged
romanov73 merged 15 commits from 74-add-jFuzzyLogic into master 2022-11-28 01:00:07 +04:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 591f183e8b - Show all commits

View File

@ -11,7 +11,7 @@ public class AddRuleForm {
public AddRuleForm() { public AddRuleForm() {
} }
public AddRuleForm(Rule rule) { public AddRuleForm(DbRule rule) {
this.ruleId = rule.getId(); this.ruleId = rule.getId();
this.firstAntecedentId = rule.getFirstAntecedent().name(); this.firstAntecedentId = rule.getFirstAntecedent().name();
this.secondAntecedentId = rule.getSecondAntecedent().name(); this.secondAntecedentId = rule.getSecondAntecedent().name();

View File

@ -45,7 +45,7 @@ public class RuleService {
} }
} }
public Rule findById(Integer id) { public DbRule findById(Integer id) {
return ruleRepository.getOne(id); return ruleRepository.getOne(id);
} }