fix(项目管理): 修复我的文件全部文件在存储库模式下统计错误的问题

This commit is contained in:
song-tianyang 2023-11-22 15:19:43 +08:00 committed by 建国
parent d74c462856
commit 7285248b72
1 changed files with 1 additions and 0 deletions

View File

@ -470,6 +470,7 @@ public class FileMetadataService {
//查出全部文件和我的文件的数量
FileManagementQuery myFileCountDTO = new FileManagementQuery();
myFileCountDTO.setProjectId(request.getProjectId());
myFileCountDTO.setStorage(null);
long allCount = extFileMetadataMapper.fileCount(myFileCountDTO);
myFileCountDTO.setOperator(operator);
long myFileCount = extFileMetadataMapper.fileCount(myFileCountDTO);