Commit e5136303 authored by alex yao's avatar alex yao

fix: 【【POE】分享应用时数据统计更改】 --bug=1009877

parent 696eab8c
......@@ -7,10 +7,9 @@ from (select bmi.nick_name
(case when baai.agent_publish_status = "publish" then "Y" else "N" end) as publish_status
from biz_data_analyze_dialogue_record bdadr
left join biz_agent_application_info baai on baai.agent_id = bdadr.relation_id
left join biz_member_info bmi on bmi.member_id = baai.member_id on bdap.relation_id = bdadr.relation_id
left join biz_member_info bmi on bmi.member_id = baai.member_id
where 1=1
<<
and bdadr.member_id = :memberId>>
<< and bdadr.member_id = :memberId>>
group by bdadr.relation_id, bdadr.member_id) as t1
where 1 = 1 << and t1.last_usage_time >= :startDate and t1.last_usage_time <= :endDate >>
order by t1.last_usage_time desc
\ No newline at end of file
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