2021与蓝度共同重构项目,服务端
liuhaonan
2022-11-10 2e53fdad625825a7cfb24b849494ebb5026a4d67
dao/src/main/resources/mapper/PoleBindingMapper.xml
@@ -26,6 +26,7 @@
        LEFT JOIN pole t2 ON t1.pole_id = t2.id
        <where>
            t1.device_code = #{Mac}
            AND t1.device_type=0
            <if test="type != null">
                AND t1.device_type = #{type}
            </if>