From 7285248b7229c36fbe27660108f41663e3a256aa Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Wed, 22 Nov 2023 15:19:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=88=91=E7=9A=84=E6=96=87=E4=BB=B6=E5=85=A8?= =?UTF-8?q?=E9=83=A8=E6=96=87=E4=BB=B6=E5=9C=A8=E5=AD=98=E5=82=A8=E5=BA=93?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E4=B8=8B=E7=BB=9F=E8=AE=A1=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/metersphere/project/service/FileMetadataService.java | 1 + 1 file changed, 1 insertion(+) 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);