新能源专项分析算法迁移
This commit is contained in:
@@ -39,5 +39,7 @@ public interface LiteFlowAlgorithmFeignClient {
|
||||
@PostMapping("/substationExecutor")
|
||||
void substationExecutor(@RequestBody BaseParam baseParam);
|
||||
|
||||
|
||||
@ApiOperation("新能源专项分析算法执行链")
|
||||
@PostMapping("/specialAnalysis")
|
||||
void specialAnalysisExecutor(@RequestBody BaseParam baseParam);
|
||||
}
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user