1.定时任务重试代码提交
2.pmsbug修改
This commit is contained in:
@@ -32,7 +32,7 @@ public class PqTypicalSourceFallbackFactory implements FallbackFactory<PqTypical
|
||||
@Override
|
||||
public HttpResult<String> send(UploadParam uploadParam) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "国网上送-典型源荷指标统计数据", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
return new HttpResult<>(CommonResponseEnum.FAIL.getCode(),CommonResponseEnum.FAIL.getMessage());
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -31,19 +31,19 @@ public class UploadGwDataFallbackFactory implements FallbackFactory<UploadGwData
|
||||
@Override
|
||||
public HttpResult<String> uploadPointStatisticalData(UploadParam param) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "国网上送-主配网监测点统计数据", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
return new HttpResult<>(CommonResponseEnum.FAIL.getCode(),CommonResponseEnum.FAIL.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<String> uploadSubstationStatisticalData(UploadParam param) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "国网上送-变电站监测统计数据", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
return new HttpResult<>(CommonResponseEnum.FAIL.getCode(),CommonResponseEnum.FAIL.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<String> uploadEvaluationData(UploadParam param) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "国网上送-母线基准水平评估数据", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
return new HttpResult<>(CommonResponseEnum.FAIL.getCode(),CommonResponseEnum.FAIL.getMessage());
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -6,6 +6,7 @@ import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -24,25 +25,25 @@ public class RStatOrgPvVO implements Serializable {
|
||||
* 潮流倒送
|
||||
*/
|
||||
@ApiModelProperty(name = "flowReversal", value = "潮流倒送")
|
||||
private List<FlowReversal> flowReversal;
|
||||
private List<FlowReversal> flowReversal=new ArrayList<>();
|
||||
|
||||
/**
|
||||
* 电压越限
|
||||
*/
|
||||
@ApiModelProperty(name = "voltageOutOfLimit", value = "电压越限")
|
||||
private List<VoltageOutOfLimit> voltageOutOfLimit;
|
||||
private List<VoltageOutOfLimit> voltageOutOfLimit=new ArrayList<>();
|
||||
|
||||
/**
|
||||
* 光伏渗透率
|
||||
*/
|
||||
@ApiModelProperty(name = "pvPermeability", value = "光伏渗透率")
|
||||
private List<PvPermeability> pvPermeability;
|
||||
private List<PvPermeability> pvPermeability=new ArrayList<>();
|
||||
|
||||
/**
|
||||
* 低功率因素
|
||||
*/
|
||||
@ApiModelProperty(name = "lowPowerFactor", value = "低功率因素")
|
||||
private List<LowPowerFactor> lowPowerFactor;
|
||||
private List<LowPowerFactor> lowPowerFactor=new ArrayList<>();
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
|
||||
Reference in New Issue
Block a user