|
@@ -1,6 +1,7 @@
|
|
|
package cn.com.ctop.alarm.modules.service.impl;
|
|
|
|
|
|
import cn.com.ctop.alarm.modules.entity.RuleAccountTemplate;
|
|
|
+import cn.com.ctop.alarm.modules.entity.RuleAccountThreshold;
|
|
|
import cn.com.ctop.alarm.modules.entity.RuleGroup;
|
|
|
import cn.com.ctop.alarm.modules.entity.RuleTemplate;
|
|
|
import cn.com.ctop.alarm.modules.mapper.RuleAccountTemplateMapper;
|
|
@@ -56,7 +57,7 @@ public class RuleGroupServiceImpl extends ServiceImpl<RuleGroupMapper, RuleGroup
|
|
|
for (JSONObject data : dataList) {
|
|
|
if (templates.getAccountId() == data.getLong("accountId")) {
|
|
|
List<RuleGroup> ruleGroups = ruleGroupMap.get(templates.getTemplateId());
|
|
|
- //TODO
|
|
|
+ List<RuleAccountThreshold> list = ruleAccountThresholdMapper.selectByAccountId(templates.getAccountId());
|
|
|
|
|
|
}
|
|
|
}
|