fix(回收站): 回收站文件列表查询
This commit is contained in:
parent
101d707cd2
commit
a9b89995a6
@ -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")
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user