mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-01-09 19:46:02 +08:00
[improvement][project] global refactor , code format , support llm , support fuzzy detect ,support query filter and so on.
This commit is contained in:
@@ -38,6 +38,13 @@
|
||||
and creator = #{creator}
|
||||
</update>
|
||||
|
||||
<update id="updateLastQuestion">
|
||||
update s2_chat
|
||||
set last_question = #{lastQuestion},
|
||||
last_time = #{lastTime}
|
||||
where chat_id = #{chatId}
|
||||
</update>
|
||||
|
||||
<insert id="createChat" parameterType="com.tencent.supersonic.chat.domain.dataobject.ChatDO">
|
||||
insert into s2_chat
|
||||
(chat_name, create_time, last_time, creator, last_question, is_delete, is_top)
|
||||
@@ -80,7 +87,7 @@
|
||||
update s2_chat_query
|
||||
set score=#{score},
|
||||
feedback=#{feedback}
|
||||
where id = #{id}
|
||||
where question_id = #{id}
|
||||
</update>
|
||||
|
||||
<insert id="createQuery" parameterType="com.tencent.supersonic.chat.domain.dataobject.QueryDO"
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
package com.tencent.supersonic.domain.chat.infrastructure.persistence.mybatis.mapper;
|
||||
|
||||
import com.tencent.supersonic.chat.domain.dataobject.ChatQueryDO;
|
||||
import com.tencent.supersonic.chat.domain.dataobject.ChatQueryDOExample;
|
||||
import java.util.List;
|
||||
|
||||
public interface ChatQueryDOMapper {
|
||||
/**
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
long countByExample(ChatQueryDOExample example);
|
||||
|
||||
/**
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
/**
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
int insert(ChatQueryDO record);
|
||||
|
||||
/**
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
int insertSelective(ChatQueryDO record);
|
||||
|
||||
/**
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
List<ChatQueryDO> selectByExampleWithBLOBs(ChatQueryDOExample example);
|
||||
|
||||
/**
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
List<ChatQueryDO> selectByExample(ChatQueryDOExample example);
|
||||
|
||||
/**
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
ChatQueryDO selectByPrimaryKey(Long id);
|
||||
|
||||
/**
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
int updateByPrimaryKeySelective(ChatQueryDO record);
|
||||
|
||||
/**
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
int updateByPrimaryKeyWithBLOBs(ChatQueryDO record);
|
||||
|
||||
/**
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
int updateByPrimaryKey(ChatQueryDO record);
|
||||
}
|
||||
Reference in New Issue
Block a user