2021与蓝度共同重构项目,服务端
liuhaonan
2022-08-01 46d898952af70bf72b3bf83d2ccd824a335c1f23
changes
已修改2个文件
10 ■■■■■ 文件已修改
dao/src/main/resources/mapper/InterphoneHostMapper.xml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
dao/src/main/resources/mapper/InterphoneSubMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
dao/src/main/resources/mapper/InterphoneHostMapper.xml
@@ -24,7 +24,8 @@
    </resultMap>
    <sql id="Base_Column_List">
        host_id,host_mac,host_ip,
        host_id
        ,host_mac,host_ip,
        url,host_address,
        sip_address,sip_port,
        sip_name,sip_auth,sip_password,
@@ -42,9 +43,10 @@
        LEFT JOIN pole t3 ON t3.id = t2.pole_id
        <where>
            1=1
            <if test="keyword != null and keyword != ''">
                AND(t3.pole_name LIKE CONCAT(CONCAT('%', #{keyword}), '%')
                OR t3.pole_id LIKE CONCAT(CONCAT('%', #{keyword}), '%')
                OR t3.id LIKE CONCAT(CONCAT('%', #{keyword}), '%')
                OR t1.host_mac LIKE CONCAT(CONCAT('%', #{keyword}), '%'))
            </if>
            <if test="clientId != null">
dao/src/main/resources/mapper/InterphoneSubMapper.xml
@@ -44,8 +44,8 @@
        <where>
            <if test="keyword != null and keyword != ''">
                AND(t3.pole_name LIKE CONCAT(CONCAT('%', #{keyword}), '%')
                OR t3.pole_id LIKE CONCAT(CONCAT('%', #{keyword}), '%')
                (t3.pole_name LIKE CONCAT(CONCAT('%', #{keyword}), '%')
                OR t3.id LIKE CONCAT(CONCAT('%', #{keyword}), '%')
                OR t1.sub_mac LIKE CONCAT(CONCAT('%', #{keyword}), '%'))
            </if>
            <if test="clientId != null">