优化网卡名称变更处理

增加非saas平台拨号数据处理
优化详情信息
This commit is contained in:
gaoyutao
2026-01-07 19:20:01 +08:00
parent 86d7385c15
commit ea6caa0211
15 changed files with 126 additions and 33 deletions
@@ -387,9 +387,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
a.client_id AS clientId,
a.ipV6 AS ipV6
FROM ${tableName} a
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
<!-- 动态关联表 -->
<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
</if>
<where>
<if test="serviceSn != '' and serviceSn != null">
and a.service_sn = #{serviceSn}
@@ -409,6 +412,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="revenueMethod != null">
and a.revenue_method = #{revenueMethod}
</if>
<if test="mac != null and mac != ''">
and a.mac = #{mac}
</if>
</where>
GROUP BY a.create_time DESC
</select>