Selaa lähdekoodia

Merge remote-tracking branch 'origin/master'

yumeng 1 vuosi sitten
vanhempi
commit
36fb096725

+ 2 - 2
ruixuan-live/src/main/resources/mapper/jiaoyang/JiaoYangReportMapper.xml

@@ -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
 
@@ -120,7 +120,7 @@
             </foreach>
         </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 != '' ">