1.infludb公共参数名调整

2.微服务调度中心任务-终端在线率
This commit is contained in:
2022-07-13 10:39:13 +08:00
parent 63ce5e649c
commit 366bd2d44e
14 changed files with 394 additions and 33 deletions

View File

@@ -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();
}

View File

@@ -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);
}
};
}