新能源专项分析算法迁移

This commit is contained in:
wr
2025-04-03 16:10:00 +08:00
parent 3b62feefd6
commit af59a427f1
28 changed files with 1542 additions and 18 deletions

View File

@@ -39,5 +39,7 @@ public interface LiteFlowAlgorithmFeignClient {
@PostMapping("/substationExecutor")
void substationExecutor(@RequestBody BaseParam baseParam);
@ApiOperation("新能源专项分析算法执行链")
@PostMapping("/specialAnalysis")
void specialAnalysisExecutor(@RequestBody BaseParam baseParam);
}

View File

@@ -46,6 +46,12 @@ public class LiteFlowAlgorithmFeignClientFallbackFactory implements FallbackFact
throw new BusinessException(finalExceptionEnum);
}
@Override
public void specialAnalysisExecutor(BaseParam baseParam) {
log.error("{}异常,降级处理,异常为:{}", "新能源专项分析算法执行链: ", throwable.toString());
throw new BusinessException(finalExceptionEnum);
}
@Override
public void deviceExecutor(BaseParam baseParam) {
log.error("{}异常,降级处理,异常为:{}", "装置算法执行链: ", throwable.toString());