1.单位变电站定时任务

This commit is contained in:
wr
2024-03-06 17:36:14 +08:00
parent 4ed75512fb
commit 3782ac6900
4 changed files with 58 additions and 0 deletions

View File

@@ -47,4 +47,8 @@ public interface LiteFlowFeignClient {
@ApiOperation("母线算法执行链(主网测点)")
@PostMapping("/generaTrixExecutor")
void generaTrixExecutor(@RequestBody BaseParam baseParam);
@ApiOperation("单位变电站算法执行链")
@PostMapping("/orgSubStationExecutor")
void orgSubStationExecutor(@RequestBody BaseParam baseParam);
}

View File

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