mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-19 04:44:19 +08:00
(improvement)(chat) show case filter by user name (#245)
Co-authored-by: jolunoluo
This commit is contained in:
@@ -60,6 +60,9 @@
|
||||
select distinct chat_id
|
||||
from s2_chat_query
|
||||
where query_state = 1 and agent_id = ${agentId}
|
||||
<if test="userName != null and userName != ''">
|
||||
and user_name = #{userName}
|
||||
</if>
|
||||
order by chat_id desc
|
||||
limit #{start}, #{limit}
|
||||
) q2
|
||||
|
||||
Reference in New Issue
Block a user