在线监测点效率修改,监测点下来框接口
This commit is contained in:
@@ -48,4 +48,8 @@ public interface CommLineClient {
|
||||
|
||||
@GetMapping("/getLineAllDetail")
|
||||
HttpResult<LineALLInfoDTO> getLineAllDetail(@RequestParam("id") String id);
|
||||
|
||||
|
||||
@GetMapping("/getLineAllDetailList")
|
||||
HttpResult<List<LineALLInfoDTO>> getLineAllDetailList(@RequestParam("ids") List<String> ids);
|
||||
}
|
||||
|
||||
@@ -50,6 +50,12 @@ public class CommLineClientFallbackFactory implements FallbackFactory<CommLineCl
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<List<LineALLInfoDTO>> getLineAllDetailList(List<String> ids) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "获取监测点列表信息", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user