diff --git a/backend/services/project-management/src/main/java/io/metersphere/project/service/FileMetadataService.java b/backend/services/project-management/src/main/java/io/metersphere/project/service/FileMetadataService.java index 40419bc53b..4e2a15153f 100644 --- a/backend/services/project-management/src/main/java/io/metersphere/project/service/FileMetadataService.java +++ b/backend/services/project-management/src/main/java/io/metersphere/project/service/FileMetadataService.java @@ -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);