Explorar el Código

预警规则返回实体修改

tags/24090101
CMM hace 2 meses
padre
commit
94912c5f91
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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 Ver fichero

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


Cargando…
Cancelar
Guardar