2026.4.27
大更新
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
@@ -26,17 +26,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="selectKnowledgeFileList" parameterType="KnowledgeFile" resultMap="KnowledgeFileResult">
|
||||
<include refid="selectKnowledgeFileVo"/>
|
||||
<where>
|
||||
<if test="knowledgeBaseId != null "> and knowledge_base_id = #{knowledgeBaseId}</if>
|
||||
<if test="knowledgeBaseId != null "> and knowledge_base_id like concat('%', #{knowledgeBaseId}, '%')</if>
|
||||
<if test="fileName != null and fileName != ''"> and file_name like concat('%', #{fileName}, '%')</if>
|
||||
<if test="filePath != null and filePath != ''"> and file_path = #{filePath}</if>
|
||||
<if test="fileSize != null "> and file_size = #{fileSize}</if>
|
||||
<if test="fileType != null and fileType != ''"> and file_type = #{fileType}</if>
|
||||
<if test="description != null and description != ''"> and description = #{description}</if>
|
||||
<if test="isVectorized != null "> and is_vectorized = #{isVectorized}</if>
|
||||
<if test="vectorizedTime != null "> and vectorized_time = #{vectorizedTime}</if>
|
||||
<if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
|
||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||
<if test="isDeleted != null "> and is_deleted = #{isDeleted}</if>
|
||||
<if test="filePath != null and filePath != ''"> and file_path like concat('%', #{filePath}, '%')</if>
|
||||
<if test="fileSize != null "> and file_size like concat('%', #{fileSize}, '%')</if>
|
||||
<if test="fileType != null and fileType != ''"> and file_type like concat('%', #{fileType}, '%')</if>
|
||||
<if test="description != null and description != ''"> and description like concat('%', #{description}, '%')</if>
|
||||
<if test="isVectorized != null "> and is_vectorized like concat('%', #{isVectorized}, '%')</if>
|
||||
<if test="vectorizedTime != null "> and vectorized_time like concat('%', #{vectorizedTime}, '%')</if>
|
||||
<if test="uploadTime != null "> and upload_time like concat('%', #{uploadTime}, '%')</if>
|
||||
<if test="updatedAt != null "> and updated_at like concat('%', #{updatedAt}, '%')</if>
|
||||
<if test="isDeleted != null "> and is_deleted like concat('%', #{isDeleted}, '%')</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
@@ -103,4 +103,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user