|
@@ -170,11 +170,11 @@ from (
|
|
|
group by code, tag_category_id, tag_category_name, parent_id, parent_name) m
|
|
|
on v.signature = m.code
|
|
|
left join (
|
|
|
- select signature,effect_date as stat_datetime from application.hot_mateiral where media_id =1
|
|
|
+ select signature,effect_date as stat_datetime from application.effect_material where media_id =1
|
|
|
) effect
|
|
|
on v.signature = effect.signature
|
|
|
left join (
|
|
|
- select signature,hot_date as stat_datetime from application.hot_mateiral where media_id =1
|
|
|
+ select signature,hot_date as stat_datetime from application.hot_material where media_id =1
|
|
|
) hot
|
|
|
on v.signature = hot.signature
|
|
|
group by advertiser_id, id, v.signature, material_id, tag_category_id, parent_id, tag_code
|