diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/sys/manage/EarlyWarningManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/sys/manage/EarlyWarningManage.java index 4594d50..6df1577 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/sys/manage/EarlyWarningManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/sys/manage/EarlyWarningManage.java @@ -69,11 +69,11 @@ public class EarlyWarningManage { break; case DECLARED_WARNING: content = convertContent(noticeContent,project.getProjectName(), - WarningOperationTypeEnum.getByCode(biz),timeout); + WarningFlowTypeEnum.getByCode(biz),timeout); break; case OPERATION_WARNING: content = convertContent(noticeContent,project.getProjectName(), - WarningFlowTypeEnum.getByCode(biz),timeout); + WarningOperationTypeEnum.getByCode(biz),timeout); break; default: log.info("匹配不到 规则类型");