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
95bba9cd
Commit
95bba9cd
authored
Mar 03, 2025
by
alex yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:首页历史记录只展示首页对话
parent
5a1066aa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
11 deletions
+15
-11
MemberDialoguesQuery.sql
.../com/poc/agent_application/query/MemberDialoguesQuery.sql
+15
-11
No files found.
src/main/java/cn/com/poc/agent_application/query/MemberDialoguesQuery.sql
View file @
95bba9cd
select
distinct
agent_id
,
dialogs_id
,
member_id
,
content
,
`timestamp`
baadr
.
agent_id
,
baadr
.
dialogs_id
,
baadr
.
member_id
,
baadr
.
content
,
baadr
.
`timestamp`
from
biz_agent_application_dialogues_record
where
is_deleted
=
'N'
<<
and
member_id
=
:
memberId
>>
group
by
dialogs_id
order
by
`timestamp`
desc
\ No newline at end of file
biz_agent_application_dialogues_record
baadr
join
biz_data_analyze_dialogue_record
bdadr
on
bdadr
.
relation_id
=
baadr
.
agent_id
and
bdadr
.
member_id
=
baadr
.
member_id
and
bdadr
.
channel
=
'index'
where
baadr
.
is_deleted
=
'N'
<<
and
baadr
.
member_id
=
:
memberId
>>
group
by
baadr
.
dialogs_id
order
by
baadr
.
`timestamp`
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