|
@@ -69,7 +69,7 @@
|
|
|
and clip_nick_name like concat(concat('%',#{promoterNickName}),'%')
|
|
|
</if>
|
|
|
group by clip_user_id) t
|
|
|
- left join (select clip_id,head_img as 'headImg' from jy_clip_cooperation ) tt on t.promoterId = tt.clip_id
|
|
|
+ left join (select clip_id,head_img as 'headImg' from jy_clip_cooperation where stat_date = DATE_FORMAT(NOW(),'%Y%m%d') ) tt on t.promoterId = tt.clip_id
|
|
|
left join jy_kuaishou_promoter ttt on t.promoterId = ttt.promoter_id
|
|
|
order by t.orderNum desc
|
|
|
|
|
@@ -113,7 +113,7 @@
|
|
|
and clip_nick_name like concat(concat('%',#{promoterNickName}),'%')
|
|
|
</if>
|
|
|
group by clip_user_id) t
|
|
|
- left join jy_clip_cooperation tt on t.promoterId = tt.clip_id
|
|
|
+ left join ( select * from jy_clip_cooperation where stat_date = DATE_FORMAT(NOW(),'%Y%m%d')) tt on t.promoterId = tt.clip_id
|
|
|
left join jy_kuaishou_promoter ttt on t.promoterId = ttt.promoter_id
|
|
|
where 1 = 1
|
|
|
<if test="type != null and type != '' ">
|