2021与蓝度共同重构项目,服务端
liuhaonan
2022-10-24 7a00187d197548e23a38dcb87187ef6b2b7f8bfb
dao/src/main/resources/mapper/AirDataNongGengMapper.xml
@@ -55,8 +55,10 @@
        <where>
            1=1
            <if test="keyword != null and keyword != ''">
                AND t3.pole_name LIKE CONCAT(CONCAT('%', #{keyword}), '%')
                AND (
                t3.pole_name LIKE CONCAT(CONCAT('%', #{keyword}), '%')
                or t1.mac LIKE CONCAT(CONCAT('%', #{keyword}), '%')
                )
            </if>
            <if test="type != null">
                AND t4.type = #{type}