|
|
@@ -66,15 +66,15 @@ public class EarlyWarningManage { |
|
|
|
|
|
|
|
switch (WarningRuleTypeEnum.checkByCode(ruleType)){ |
|
|
|
case PROCESS_WARNING: |
|
|
|
convertContent(noticeContent,project.getProjectName(), |
|
|
|
content = convertContent(noticeContent,project.getProjectName(), |
|
|
|
InstTypeEnum.getByCode(biz),timeout); |
|
|
|
break; |
|
|
|
case DECLARED_WARNING: |
|
|
|
convertContent(noticeContent,project.getProjectName(), |
|
|
|
content = convertContent(noticeContent,project.getProjectName(), |
|
|
|
WarningOperationTypeEnum.getByCode(biz),timeout); |
|
|
|
break; |
|
|
|
case OPERATION_WARNING: |
|
|
|
convertContent(noticeContent,project.getProjectName(), |
|
|
|
content = convertContent(noticeContent,project.getProjectName(), |
|
|
|
WarningFlowTypeEnum.getByCode(biz),timeout); |
|
|
|
break; |
|
|
|
default: |
|
|
|