1、优化服务器管理列表运营商、省、ip展示。
2、服务器管理列表搜索条件增加子网卡ip筛选。
This commit is contained in:
@@ -42,6 +42,11 @@
|
||||
<if test="province != null and province != ''"> and province = #{province}</if>
|
||||
<if test="city != null and city != ''"> and city = #{city}</if>
|
||||
<if test="publicIp != null and publicIp != ''"> and public_ip = #{publicIp}</if>
|
||||
<if test="queryParam != null and queryParam != ''">
|
||||
and (public_ip like concat('%', #{queryParam}, '%')
|
||||
or ipv4_address like concat('%', #{queryParam}, '%')
|
||||
or ipv6_address like concat('%', #{queryParam}, '%'))
|
||||
</if>
|
||||
<if test="interfaceName != null and interfaceName != ''"> and interface_name like concat('%', #{interfaceName}, '%')</if>
|
||||
<if test="macAddress != null and macAddress != ''"> and mac_address = #{macAddress}</if>
|
||||
<if test="interfaceType != null and interfaceType != ''"> and interface_type = #{interfaceType}</if>
|
||||
|
||||
Reference in New Issue
Block a user