1、优化agent本地存储流量文件删除逻辑。

2、开发tcpdump探测策略下发接口。
3、开发tcpdump探测接口。
4、开发出省流量计算统计接口。
This commit is contained in:
gaoyutao
2026-01-22 18:00:17 +08:00
parent fe0225012f
commit 493ecba0ba
9 changed files with 144 additions and 204 deletions
@@ -420,9 +420,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
FROM ${tableName} a
<!-- 动态关联表 -->
<if test="mac == null or mac == ''">
INNER JOIN rm_network_interface b ON a.client_id = b.client_id and a.mac = b.mac_address
AND (b.bind_ip = 1 OR b.bind_ip = 3)
AND b.new_flag = 1
INNER JOIN (
SELECT
a.client_id,ifnull(b.mac_address,a.mac_address) mac_address
FROM rm_network_interface a
LEFT JOIN rm_network_interface_child b on b.ipv4_address!='' and b.ipv4_address!='N/A'
and a.client_id = b.client_id
AND a.interface_name = b.parent_interface
where
(a.bind_ip = 1 OR a.bind_ip = 3)
AND a.new_flag = 1 and a.client_id = #{clientId}
) b
ON a.client_id = b.client_id and a.mac = b.mac_address
</if>
<where>
<if test="serviceSn != '' and serviceSn != null">