‘linchangsheng’ 6 months ago
parent
commit
a602a54609
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mall-miniapp-service/src/main/resources/mapper/CommonMapper.xml

+ 1 - 1
mall-miniapp-service/src/main/resources/mapper/CommonMapper.xml

@@ -96,7 +96,7 @@
             </if>
 
             and a.company_wechat_id = #{companyWechatId}
-        <if test="websitIdsQuchu != null and websitIdsQuchu = '' and lng != '0'.toString() and lat != '0'.toString()">
+        <if test="websitIdsQuchu != null and websitIdsQuchu != '' and lng != '0'.toString() and lat != '0'.toString()">
             HAVING distance &lt; #{rice}
         </if>
         ORDER BY distance