|
|
@@ -108,7 +108,7 @@ public class WflowEarlyWarningRecordsVO implements Serializable { |
|
|
|
/** |
|
|
|
* 规则 |
|
|
|
*/ |
|
|
|
@ApiModelProperty(value = "规则类型 1.流程预警规则 2.填报预警规则 3.实施监督4.续建") |
|
|
|
@ApiModelProperty(value = "规则类型 1.滞后预警规则 2.填报预警规则 3.流程预警规则") |
|
|
|
private Integer ruleType; |
|
|
|
|
|
|
|
@ApiModelProperty(value = "路径") |
|
|
@@ -134,7 +134,7 @@ public class WflowEarlyWarningRecordsVO implements Serializable { |
|
|
|
if (Objects.nonNull(warningFlowTypeEnum)) { |
|
|
|
return warningFlowTypeEnum.getDesc(); |
|
|
|
} |
|
|
|
} else if (this.ruleType.equals(WarningRuleTypeEnum.OPERATION_WARNING.getCode())) { |
|
|
|
} else if (this.ruleType.equals(WarningRuleTypeEnum.DELAY_WARNING.getCode())) { |
|
|
|
WarningOperationTypeEnum operationTypeEnum = WarningOperationTypeEnum.getByCode(this.instType); |
|
|
|
if (Objects.nonNull(operationTypeEnum)) { |
|
|
|
return operationTypeEnum.getDesc(); |
|
|
|