在线监测点效率修改,监测点下来框接口

This commit is contained in:
hzj
2024-05-24 16:02:52 +08:00
parent 5b54fef317
commit cb3dbc86d5
15 changed files with 125 additions and 11 deletions

View File

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

View File

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