mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 03:58:14 +00:00
(improvement)(semantic) Metric homepage download supports choosing whether to transform (#477)
Co-authored-by: jolunoluo
This commit is contained in:
@@ -61,16 +61,15 @@
|
||||
from (
|
||||
select *
|
||||
from s2_chat_query
|
||||
where query_state = 1 and agent_id = ${agentId} and (score is null or score > 1)
|
||||
where query_state = 1 and agent_id = ${agentId} and score = 5
|
||||
<if test="userName != null and userName != ''">
|
||||
and user_name = #{userName}
|
||||
</if>
|
||||
order by score, chat_id desc
|
||||
order by chat_id desc
|
||||
) a
|
||||
limit #{start}, #{limit}
|
||||
) q2 on q1.chat_id = q2.chat_id
|
||||
where agent_id = ${agentId} and (score is null or score > 1)
|
||||
order by score desc
|
||||
where agent_id = ${agentId} and score = 5
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user