|
@@ -24,7 +24,7 @@ class signature_photo_Id:
|
|
replace into media_api.signature_photo_id
|
|
replace into media_api.signature_photo_id
|
|
select signature,photo_id,photo_name,channel_type
|
|
select signature,photo_id,photo_name,channel_type
|
|
from media_api.kuaishou_video_list
|
|
from media_api.kuaishou_video_list
|
|
- where signature is not null and photo_id is not null and stat_date>=date_format(date_sub(now(),interval 6 day),'%Y%m%d')
|
|
|
|
|
|
+ where signature is not null and photo_id is not null and stat_date>=date_format(date_sub(now(),interval 40 day),'%Y-%m-%d')
|
|
group by signature,photo_id
|
|
group by signature,photo_id
|
|
"""
|
|
"""
|
|
print(sql)
|
|
print(sql)
|