Commit f2d43a7aa89e9b689513068618a0ed06a5df50f7
1 parent
577346ac
保有客分析查询bug修复
Showing
1 changed file
with
1 additions
and
1 deletions
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=","> | ... | ... |