提交 4da5dec2 编写于 作者: Y youyong205

modify the contator

上级 74dc0d75
......@@ -28,11 +28,11 @@ public class Contactor {
@Inject
protected AlertConfigManager m_configManager;
public List<String> queryReceivers(String productlineName, AlertChannel channel, String type) {
if ("exception".equals(type) || "thirdparty".equals(type)) {
return queryReceiversByDomain(productlineName, channel, type);
public List<String> queryReceivers(String productlineName, AlertChannel channel, String alertType) {
if ("exception".equals(alertType) || "thirdparty".equals(alertType)) {
return queryReceiversByDomain(productlineName, channel, alertType);
} else {
return queryReceiversByProductline(productlineName, channel, type);
return queryReceiversByProductline(productlineName, channel, alertType);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册