(improvement)(chat) opt page query for show case (#278)

Co-authored-by: jolunoluo
This commit is contained in:
LXW
2023-10-23 22:14:04 +08:00
committed by GitHub
parent 4fbc3c8533
commit b9895d541b
4 changed files with 7 additions and 4 deletions

View File

@@ -61,7 +61,7 @@
from (
select *
from s2_chat_query
where query_state = 1 and agent_id = ${agentId}
where query_state = 1 and agent_id = ${agentId} and (score is null or score > 1)
<if test="userName != null and userName != ''">
and user_name = #{userName}
</if>