Skip to content

Commit

Permalink
[INLONG-11361][Manager] Support querying heartbeat information based …
Browse files Browse the repository at this point in the history
…on IP address (#11362)
  • Loading branch information
fuweng11 authored Oct 16, 2024
1 parent 9348626 commit 2c37cea
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@
select
<include refid="Base_Column_List"/>
from component_heartbeat
where component = #{request.component, jdbcType=VARCHAR}
<where>
component = #{request.component, jdbcType=VARCHAR}
<if test="request.instance != null and request.instance != ''">
and instance = #{request.instance,jdbcType=VARCHAR}
</if>
</where>
order by modify_time desc
</select>

Expand Down

0 comments on commit 2c37cea

Please sign in to comment.