diff --git a/cloud-modules/cloud-modules-warn/cloud-warn-server/src/main/java/com/muyu/warning/service/impl/WarnRulesServiceImpl.java b/cloud-modules/cloud-modules-warn/cloud-warn-server/src/main/java/com/muyu/warning/service/impl/WarnRulesServiceImpl.java index f54fdb8..6a8cd3b 100644 --- a/cloud-modules/cloud-modules-warn/cloud-warn-server/src/main/java/com/muyu/warning/service/impl/WarnRulesServiceImpl.java +++ b/cloud-modules/cloud-modules-warn/cloud-warn-server/src/main/java/com/muyu/warning/service/impl/WarnRulesServiceImpl.java @@ -40,8 +40,9 @@ public class WarnRulesServiceImpl * @return */ @Override - public List selectWarnRulesListAll() { - List list = warnRulesMapper.selectWarnRulesListAll(); + public List selectWarnRulesListAll(WarnRuleDTO warnRuleDTO) { + warnRuleDTO.setStrategyId(warnRuleDTO.getId()); + List list = warnRulesMapper.selectWarnRulesListAll(warnRuleDTO); return list; } }