交换机管理图形监控只展示端口为up的。
优化frp信息上报
This commit is contained in:
+15
@@ -102,4 +102,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
) latest ON t.collect_type = latest.collect_type AND t.create_time = latest.max_time
|
||||
WHERE t.client_id = #{clientId}
|
||||
</select>
|
||||
<delete id="deleteInitialSwitchOtherCollectData" parameterType="Long">
|
||||
delete from initial_switch_other_collect_data
|
||||
<where>
|
||||
<choose>
|
||||
<when test="clientId != null and collectType != null and createTime != null">
|
||||
AND client_id = #{clientId}
|
||||
AND collect_type = #{collectType}
|
||||
AND create_time < #{createTime}
|
||||
</when>
|
||||
<otherwise>
|
||||
and 1=0
|
||||
</otherwise>
|
||||
</choose>
|
||||
</where>
|
||||
</delete>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user