Merge branch 'master' of https://github.com/tencentmusic/supersonic
Some checks failed
supersonic CentOS CI / build (21) (push) Has been cancelled
supersonic mac CI / build (21) (push) Has been cancelled
supersonic ubuntu CI / build (21) (push) Has been cancelled
supersonic windows CI / build (21) (push) Has been cancelled

This commit is contained in:
jerryjzhang
2026-04-28 20:56:50 +08:00
2 changed files with 7 additions and 0 deletions

View File

@@ -18,4 +18,6 @@ public interface ChatParseMapper {
List<ChatParseDO> getParseInfoList(List<Long> questionIds); List<ChatParseDO> getParseInfoList(List<Long> questionIds);
List<ChatParseDO> getContextualParseInfo(Integer chatId); List<ChatParseDO> getContextualParseInfo(Integer chatId);
int deleteByQuestionId(Long questionId);
} }

View File

@@ -52,4 +52,9 @@
where chat_id = #{chatId} order by question_id desc limit 10 where chat_id = #{chatId} order by question_id desc limit 10
</select> </select>
<delete id="deleteByQuestionId">
delete from s2_chat_parse
where question_id = #{questionId}
</delete>
</mapper> </mapper>