dao/src/main/resources/mapper/PoleBindingMapper.xml
@@ -24,8 +24,8 @@ SELECT t2.* FROM `pole_binding` t1 LEFT JOIN pole t2 ON t1.pole_id = t2.id WHERE t1.device_code = #{Mac} <where> t1.device_code = #{Mac} <if test="type != null"> AND t1.device_type = #{type} </if>