新增物联设备相关算法
This commit is contained in:
@@ -58,6 +58,6 @@ public class BaseParam implements Serializable {
|
||||
@ApiModelProperty(name = "idList",value = "索引集合")
|
||||
private List<String> idList;
|
||||
|
||||
@ApiModelProperty(name = "type",value = "0:通用 1:省级平台 ")
|
||||
@ApiModelProperty(name = "type",value = "0:通用 1:省级平台 2:物联平台")
|
||||
private Integer type;
|
||||
}
|
||||
|
||||
@@ -42,4 +42,8 @@ public interface LiteFlowAlgorithmFeignClient {
|
||||
@ApiOperation("新能源专项分析算法执行链")
|
||||
@PostMapping("/specialAnalysis")
|
||||
void specialAnalysisExecutor(@RequestBody BaseParam baseParam);
|
||||
|
||||
@ApiOperation("物联监测点算法执行链")
|
||||
@PostMapping("/wlMeasurementPointExecutor")
|
||||
void wlMeasurementPointExecutor(@RequestBody BaseParam baseParam);
|
||||
}
|
||||
|
||||
@@ -52,6 +52,12 @@ public class LiteFlowAlgorithmFeignClientFallbackFactory implements FallbackFact
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void wlMeasurementPointExecutor(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