From 2c37cea1e90b2ff2191f4cb78cd046d8ce87ebc1 Mon Sep 17 00:00:00 2001 From: fuweng11 <76141879+fuweng11@users.noreply.github.com> Date: Wed, 16 Oct 2024 17:20:44 +0800 Subject: [PATCH] [INLONG-11361][Manager] Support querying heartbeat information based on IP address (#11362) --- .../resources/mappers/ComponentHeartbeatEntityMapper.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/inlong-manager/manager-dao/src/main/resources/mappers/ComponentHeartbeatEntityMapper.xml b/inlong-manager/manager-dao/src/main/resources/mappers/ComponentHeartbeatEntityMapper.xml index c5f0ebf08c7..133947a4e43 100644 --- a/inlong-manager/manager-dao/src/main/resources/mappers/ComponentHeartbeatEntityMapper.xml +++ b/inlong-manager/manager-dao/src/main/resources/mappers/ComponentHeartbeatEntityMapper.xml @@ -66,7 +66,12 @@ select from component_heartbeat - where component = #{request.component, jdbcType=VARCHAR} + + component = #{request.component, jdbcType=VARCHAR} + + and instance = #{request.instance,jdbcType=VARCHAR} + + order by modify_time desc