|
@@ -83,8 +83,8 @@
|
|
</foreach>
|
|
</foreach>
|
|
</insert>
|
|
</insert>
|
|
<insert id="cleanPromoterBindChannel" parameterType="java.lang.Long">
|
|
<insert id="cleanPromoterBindChannel" parameterType="java.lang.Long">
|
|
- insert into ruixuan.promoter_bind_channel_date (promoter_id, promoter_name,promoter_url, user_id, user_name, stat_date)
|
|
|
|
- select t1.promoter_id, t1.promoter_nick_name, t1.promoter_url,t1.user_id, t1.user_name, #{date}
|
|
|
|
|
|
+ insert into ruixuan.promoter_bind_channel_date (promoter_id, promoter_name,promoter_url, user_id, user_name, stat_date,media_id)
|
|
|
|
+ select t1.promoter_id, t1.promoter_nick_name, t1.promoter_url,t1.user_id, t1.user_name, #{date},media_id
|
|
from ruixuan.kuaishou_promoter t1
|
|
from ruixuan.kuaishou_promoter t1
|
|
left join ruixuan.sys_user_role t2
|
|
left join ruixuan.sys_user_role t2
|
|
on t1.user_id = t2.user_id
|
|
on t1.user_id = t2.user_id
|