Commit 7fe573d9fb73c582093633c85ba1cbf20f003d06
1 parent
a667cf68
bug修复
Showing
1 changed file
with
2 additions
and
2 deletions
fw-valhalla-dao/src/main/resources/mapper/CustomerMapper.xml
... | ... | @@ -142,8 +142,8 @@ |
142 | 142 | t2.member_id member_id, |
143 | 143 | t2.mobile |
144 | 144 | from customer t1 inner join customer_base_info t2 on t1.base_id = t2.id |
145 | - left join follow_task t3 on t1.id=t3.customer_id and t3.state=1 and t3.type=2 | |
146 | - left join follow_task t4 on t1.id=t4.customer_id and t4.state=1 and t4.type=4 | |
145 | + left join follow_clue t3 on t1.frame_no=t3.vin and t3.clue_state=2 and t3.clue_type=2 | |
146 | + left join follow_clue t4 on t1.frame_no=t4.vin and t4.clue_state=2 and t4.clue_type=4 | |
147 | 147 | where t1.yn = 1 and t1.group_id = #{condition.groupId} |
148 | 148 | <if test="condition.shopList !=null and condition.shopList.size() != 0"> |
149 | 149 | and t1.shop_id in | ... | ... |