‘linchangsheng’ пре 7 месеци
родитељ
комит
a602a54609
1 измењених фајлова са 1 додато и 1 уклоњено
  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