1.infludb公共参数名调整
2.微服务调度中心任务-终端在线率
This commit is contained in:
@@ -201,4 +201,13 @@ public interface LineFeignClient {
|
||||
@PostMapping("getLineDetail")
|
||||
HttpResult<List<LineDetail>> getLineDetail(@RequestParam(required = false,value = "list") List<String> list);
|
||||
|
||||
/**
|
||||
* 功能描述: 获取指定条件的装置id(实际装置、投运、稳态或者双系统)
|
||||
* @author xy
|
||||
* @date 2022/7/8 14:24
|
||||
* @return 装置id集合
|
||||
*/
|
||||
@PostMapping("getDeviceList")
|
||||
HttpResult<List<String>> getDeviceList();
|
||||
|
||||
}
|
||||
|
||||
@@ -155,6 +155,12 @@ public class LineFeignClientFallbackFactory implements FallbackFactory<LineFeign
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<List<String>> getDeviceList() {
|
||||
log.error("{}异常,降级处理,异常为:{}", "获取装置Id集合: ", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user