Ver código fonte

预警规则返回实体修改

tags/24090101
CMM 2 semanas atrás
pai
commit
94912c5f91
1 arquivos alterados com 2 adições e 2 exclusões
  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 arquivo

@@ -108,7 +108,7 @@ public class WflowEarlyWarningRecordsVO implements Serializable {
/** /**
* 规则 * 规则
*/ */
@ApiModelProperty(value = "规则类型 1.流程预警规则 2.填报预警规则 3.实施监督4.续建")
@ApiModelProperty(value = "规则类型 1.滞后预警规则 2.填报预警规则 3.流程预警规则")
private Integer ruleType; private Integer ruleType;


@ApiModelProperty(value = "路径") @ApiModelProperty(value = "路径")
@@ -134,7 +134,7 @@ public class WflowEarlyWarningRecordsVO implements Serializable {
if (Objects.nonNull(warningFlowTypeEnum)) { if (Objects.nonNull(warningFlowTypeEnum)) {
return warningFlowTypeEnum.getDesc(); 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); WarningOperationTypeEnum operationTypeEnum = WarningOperationTypeEnum.getByCode(this.instType);
if (Objects.nonNull(operationTypeEnum)) { if (Objects.nonNull(operationTypeEnum)) {
return operationTypeEnum.getDesc(); return operationTypeEnum.getDesc();


Carregando…
Cancelar
Salvar