Browse Source

预警规则返回实体修改

tags/24090101
CMM 2 weeks ago
parent
commit
94912c5f91
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      hz-pm-api/src/main/java/com/hz/pm/api/sys/model/vo/WflowEarlyWarningRecordsVO.java

+ 2
- 2
hz-pm-api/src/main/java/com/hz/pm/api/sys/model/vo/WflowEarlyWarningRecordsVO.java View File

@@ -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();


Loading…
Cancel
Save