文件还原问题修复
This commit is contained in:
parent
7802008a34
commit
c004a06da5
@ -104,7 +104,7 @@ public class RecoveryFileController {
|
||||
String fileName = filePath.substring(filePath.lastIndexOf("/") + 1);
|
||||
filePath = PathUtil.getParentPath(filePath);
|
||||
LambdaQueryWrapper<UserFile> lambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||
lambdaQueryWrapper.eq(UserFile::getFilePath, filePath)
|
||||
lambdaQueryWrapper.eq(UserFile::getFilePath, filePath + "/")
|
||||
.eq(UserFile::getDeleteFlag, 0)
|
||||
.eq(UserFile::getUserId, sessionUserBean.getUserId());
|
||||
List<UserFile> userFileList = userFileService.list(lambdaQueryWrapper);
|
||||
|
Loading…
Reference in New Issue
Block a user