1.定时任务重试代码提交
2.pmsbug修改
This commit is contained in:
@@ -34,13 +34,13 @@ public class GwMonitorPushClientFallbackFactory implements FallbackFactory<GwMon
|
||||
@Override
|
||||
public HttpResult<String> timeTaskPushMonitor(List<String> ids) {
|
||||
log.error("{}异常,降级处理,异常为:{}", LocalDate.now()+"定时推送主网监测点", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
return new HttpResult<>(CommonResponseEnum.FAIL.getCode(),CommonResponseEnum.FAIL.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<Object> pushMonitorOverLimit(List<String> ids) {
|
||||
log.error("{}异常,降级处理,异常为:{}", LocalDate.now()+"定时推送主网监测点限值", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
return new HttpResult<>(CommonResponseEnum.FAIL.getCode(),CommonResponseEnum.FAIL.getMessage());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ public class MonitorSendClientFallbackFactory implements FallbackFactory<Monitor
|
||||
@Override
|
||||
public HttpResult<String> windSend(MonitorParam.Info param) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "国网五类台账上送接口", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
return new HttpResult<>(CommonResponseEnum.FAIL.getCode(),CommonResponseEnum.FAIL.getMessage());
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user