陈昶聿
5 天以前 ec23ec3d3dc4ec1ba7d79ba4f46ae2c31d5a16a9
smartor/src/main/resources/mapper/smartor/MinioFileMapper.xml
@@ -41,12 +41,13 @@
    <select id="selectMinioFileList" parameterType="com.smartor.domain.MinioFile" resultMap="MinioFileResult">
        <include refid="selectMinioFileVo"/>
        <where>
        WHERE 1=1
            <if test="originalFileName != null  and originalFileName != ''">and original_file_name like concat('%',
                #{originalFileName}, '%')
            </if>
            <if test="fileExtName != null  and fileExtName != ''">and file_ext_name like concat('%', #{fileExtName},
                '%')
                AND '%')
            </if>
            <if test="fileSize != null ">and file_size = #{fileSize}</if>
            <if test="orgid != null ">and orgid = #{orgid}</if>
@@ -54,7 +55,7 @@
            <if test="mime != null  and mime != ''">and mime = #{mime}</if>
            <if test="fileUrl != null  and fileUrl != ''">and file_url = #{fileUrl}</if>
            <if test="isDelete != null ">and is_delete = #{isDelete}</if>
        </where>
    </select>
    <select id="selectMinioFileById" parameterType="Long" resultMap="MinioFileResult">