| | |
| | | <if test="fileType != null and fileType != ''"> and file_type = #{fileType}</if> |
| | | <if test="fileSize != null "> and file_size = #{fileSize}</if> |
| | | <if test="filePath != null and filePath != ''"> and file_path = #{filePath}</if> |
| | | <if test="createBy != null and createBy != ''"> and create_by = #{createBy}</if> |
| | | <if test="createTime != null "> and create_time = #{createTime}</if> |
| | | <if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if> |
| | | <if test="updateTime != null "> and update_time = #{updateTime}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | delete from ard_route_file where id = #{id} |
| | | </delete> |
| | | |
| | | <delete id="deleteArdRouteFileByFolderId" parameterType="String"> |
| | | delete from ard_route_file where folder_id = #{folderId} |
| | | </delete> |
| | | |
| | | <delete id="deleteArdRouteFileByIds" parameterType="String"> |
| | | delete from ard_route_file where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | |
| | | <delete id="deleteRouteFileByFolderIds" parameterType="String"> |
| | | delete from ard_route_file where folder_id in |
| | | <foreach item="folderId" collection="array" open="(" separator="," close=")"> |
| | | #{folderId} |
| | | </foreach> |
| | | </delete> |
| | | |
| | | </mapper> |