@@ -86,7 +86,9 @@
</foreach>
</if>
and a.company_wechat_id = #{companyWechatId}
- HAVING distance < 50000
+ <if test="lng != '0'.toString() and lat != '0'.toString()">
+ HAVING distance < 50000
+ </if>
ORDER BY distance
</select>