|
@@ -2161,6 +2161,7 @@
|
|
left join promoter_item_order_count t2
|
|
left join promoter_item_order_count t2
|
|
on t1.promoter_id = t2.promoter_id and t1.stat_date = t2.stat_date
|
|
on t1.promoter_id = t2.promoter_id and t1.stat_date = t2.stat_date
|
|
where 1 = 1
|
|
where 1 = 1
|
|
|
|
+ and t1.media_id = 2
|
|
<if test="start != null and start != ''">
|
|
<if test="start != null and start != ''">
|
|
and t1.stat_date >= #{start}
|
|
and t1.stat_date >= #{start}
|
|
</if>
|
|
</if>
|