| | |
| | | |
| | | <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> |
| | |
| | | <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"> |