fix(回收站): 回收站文件列表查询

This commit is contained in:
MAC 2022-05-06 20:39:49 +08:00
parent 101d707cd2
commit a9b89995a6
2 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,8 @@ public class RecoveryFileListVo {
private String fileName;
@Schema(description = "文件路径", example = "upload/bddd/caaa")
private String filePath;
@Schema(description = "文件大小", example = "1024")
private long fileSize;
@Schema(description = "文件扩展名", example = "zip")
private String extendName;
@Schema(description = "是否是目录1-是0-否", example = "1")

View File

@ -9,6 +9,7 @@
<select id="selectRecoveryFileList" resultType="com.qiwenshare.file.vo.file.RecoveryFileListVo">
SELECT * FROM recoveryfile a
LEFT JOIN userfile b ON a.userFileId = b.userFileId
left join file c on c.fileId = b.fileId
WHERE userId = #{userId}
</select>
</mapper>