优化pppoe数据处理

流量图改为只保留有ipv4的流量网卡流量。
流量图增加显示对应的ipv4。
This commit is contained in:
gaoyutao
2026-01-08 18:24:05 +08:00
parent d7432bc53f
commit f5f5a97744
6 changed files with 57 additions and 44 deletions
@@ -35,7 +35,7 @@
<include refid="selectRmNetworkInterfaceChildVo"/>
<where>
<if test="clientId != null and clientId != ''"> and client_id = #{clientId}</if>
<if test="parentInterface != null and parentInterface != ''"> and parent_interface = #{parentInterface}</if>
<if test="parentInterface != null and parentInterface != ''"> and parent_interface = #{parentInterface} and ipv4_address != '' and ipv4_address != 'N/A'</if>
<if test="isp != null and isp != ''"> and isp = #{isp}</if>
<if test="province != null and province != ''"> and province = #{province}</if>
<if test="city != null and city != ''"> and city = #{city}</if>
@@ -37,9 +37,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
a.update_time updateTime,
a.create_by createBy,
a.update_by updateBy,
a.status status,
b.mac_address macAddress,
b.status virStatus
b.status status,
b.mac_address macAddress
FROM
rm_pppoe_config_sub a
LEFT JOIN