Commit bcca1084 authored by 宋柯's avatar 宋柯

首页精选美购过滤秒杀

parent 18d141d1
......@@ -146,7 +146,7 @@ FROM
,case when params['card_content_type'] in ('diary','topic') and (params['redirect_content_type'] not in ('service') or params['redirect_content_type'] is null) then '日记'
when params['card_content_type'] in ('question','answer','qa') and (params['redirect_content_type'] not in ('service') or params['redirect_content_type'] is null) then '问答'
when params['card_content_type'] in ('user_post','doctor_post') and (params['redirect_content_type'] not in ('service') or params['redirect_content_type'] is null) then '帖子'
when params['card_content_type'] in ('service') and get_json_object(exposure_card,'$.in_page_pos')!='seckill' and (params['redirect_content_type'] not in ('service') or params['redirect_content_type'] is null) then '商品'
when params['card_content_type'] in ('service') and params['in_page_pos']!='seckill' and (params['redirect_content_type'] not in ('service') or params['redirect_content_type'] is null) then '商品'
when params['redirect_content_type']='service' then '商品评价' END as card_content_type
,case when params['is_cpc']=1 then '是' else '否' end as is_cpc
,case when params['redirect_content_type']='service' then params['redirect_id'] else params['card_id'] end as card_id
......@@ -163,7 +163,7 @@ FROM
,case when params['card_content_type'] in ('diary','topic') and (params['redirect_content_type'] not in ('service') or params['redirect_content_type'] is null) then '日记'
when params['card_content_type'] in ('question','answer','qa') and (params['redirect_content_type'] not in ('service') or params['redirect_content_type'] is null) then '问答'
when params['card_content_type'] in ('user_post','doctor_post') and (params['redirect_content_type'] not in ('service') or params['redirect_content_type'] is null) then '帖子'
when params['card_content_type'] in ('service') and get_json_object(exposure_card,'$.in_page_pos')!='seckill' and (params['redirect_content_type'] not in ('service') or params['redirect_content_type'] is null) then '商品'
when params['card_content_type'] in ('service') and params['in_page_pos']!='seckill' and (params['redirect_content_type'] not in ('service') or params['redirect_content_type'] is null) then '商品'
when params['redirect_content_type']='service' then '商品评价' END
,case when params['is_cpc']=1 then '是' else '否' end
,case when params['redirect_content_type']='service' then params['redirect_id'] else params['card_id'] end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment