Commit 603379ec authored by alex yao's avatar alex yao

fix:平台应用使用明细-发布状态

parent c66495e0
......@@ -4,7 +4,7 @@ select * from (select
count(bdapr.relation_id) as usage_count,
sum(bdapr.point_num) as total_points,
max(bdapr.datetime) as last_usage_time,
(case when bdapr.channel = 'preview' or bdapr.channel = 'multi_preview' then "Y" else "N" end) as publish_status
(case when bdapr.channel = 'preview' or bdapr.channel = 'multi_preview' then "N" else "Y" end) as publish_status
from
biz_data_analyze_point_record bdapr
left join biz_agent_application_info baai on baai.agent_id = bdapr.relation_id
......
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