1.pms国网上送算法链调整
2.调整pms国网上送功能
This commit is contained in:
@@ -27,6 +27,11 @@ public interface LiteFlowFeignClient {
|
||||
@PostMapping("/orgPointExecutor")
|
||||
void orgPointExecutor(@RequestBody BaseParam baseParam);
|
||||
|
||||
|
||||
@ApiOperation("pms国网上送单位层级算法执行链")
|
||||
@PostMapping("/uploadOrgExecutor")
|
||||
void uploadOrgExecutor(@RequestBody BaseParam baseParam);
|
||||
|
||||
@ApiOperation("变电站算法执行链")
|
||||
@PostMapping("/substationExecutor")
|
||||
void substationExecutor(@RequestBody BaseParam baseParam);
|
||||
|
||||
@@ -34,6 +34,12 @@ public class LiteFlowFeignClientFallbackFactory implements FallbackFactory<LiteF
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void uploadOrgExecutor(BaseParam baseParam) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "pms国网上送单位层级算法执行链: ", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void substationExecutor(BaseParam baseParam) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "变电站算法执行链: ", throwable.toString());
|
||||
|
||||
Reference in New Issue
Block a user