1.单位变电站定时任务
This commit is contained in:
@@ -47,4 +47,8 @@ public interface LiteFlowFeignClient {
|
||||
@ApiOperation("母线算法执行链(主网测点)")
|
||||
@PostMapping("/generaTrixExecutor")
|
||||
void generaTrixExecutor(@RequestBody BaseParam baseParam);
|
||||
|
||||
@ApiOperation("单位变电站算法执行链")
|
||||
@PostMapping("/orgSubStationExecutor")
|
||||
void orgSubStationExecutor(@RequestBody BaseParam baseParam);
|
||||
}
|
||||
|
||||
@@ -63,6 +63,12 @@ public class LiteFlowFeignClientFallbackFactory implements FallbackFactory<LiteF
|
||||
log.error("{}异常,降级处理,异常为:{}", "母线算法执行链(主网测点): ", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void orgSubStationExecutor(BaseParam baseParam) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "单位变电站算法执行链: ", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user