Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-api
Commits
e5136303
Commit
e5136303
authored
Jan 22, 2025
by
alex yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 【【POE】分享应用时数据统计更改】 --bug=1009877
parent
696eab8c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
MemberAgentUsageDetailsQuery.sql
...m/poc/data_analyze/query/MemberAgentUsageDetailsQuery.sql
+2
-3
No files found.
src/main/java/cn/com/poc/data_analyze/query/MemberAgentUsageDetailsQuery.sql
View file @
e5136303
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment