Commit f2d43a7aa89e9b689513068618a0ed06a5df50f7

Authored by 张志伟
1 parent 577346ac

:sparkles: 保有客分析查询bug修复

fw-valhalla-dao/src/main/resources/mapper/CustomerMapper.xml
... ... @@ -98,7 +98,7 @@
98 98 t2.lat,
99 99 t2.lng
100 100 from customer t1 inner join customer_base_info t2 on t1.base_id = t2.id
101   - where t1.yn = 1 and t1.group_id = #{condition.groupId}
  101 + where t1.yn = 1 and t1.group_id = #{condition.groupId} and t2.city_code is not null
102 102 <if test="condition.customerIds !=null">
103 103 and t1.id in
104 104 <foreach collection="condition.customerIds" item="id" index="index" open="(" close=")" separator=",">
... ...