mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-31 14:28:27 +08:00
(improvement)(chat) chat history record save query sql (#253)
* (improvement)(chat) history record save query sql * (improvement)(semantic) update easyexcel version --------- Co-authored-by: jolunoluo
This commit is contained in:
@@ -25,6 +25,12 @@
|
||||
</foreach>
|
||||
</insert>
|
||||
|
||||
<update id="updateParseInfo" parameterType="com.tencent.supersonic.chat.persistence.dataobject.ChatParseDO">
|
||||
update s2_chat_parse
|
||||
set parse_info = #{parseInfo}
|
||||
where parse_id = #{parseId}
|
||||
</update>
|
||||
|
||||
<select id="getParseInfo" resultMap="ChatParse">
|
||||
select *
|
||||
from s2_chat_parse
|
||||
@@ -32,4 +38,13 @@
|
||||
and parse_id = #{parseId} limit 1
|
||||
</select>
|
||||
|
||||
<select id="getParseInfoList" resultMap="ChatParse">
|
||||
select *
|
||||
from s2_chat_parse
|
||||
where question_id in
|
||||
<foreach item="questionId" index="index" collection="list" open="(" separator="," close=")">
|
||||
#{questionId}
|
||||
</foreach>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user