From 8dcef99e4debe83cf7652495393e54141af8d28d Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Fri, 17 Nov 2023 13:48:33 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=96=87=E4=BB=B6=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E9=87=8D=E6=96=B0=E4=B8=8A=E4=BC=A0=E6=97=B6=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project/mapper/ExtFileMetadataMapper.java | 2 +- .../project/mapper/ExtFileMetadataMapper.xml | 2 +- .../project/service/FileMetadataService.java | 63 +++++++++++-------- 3 files changed, 39 insertions(+), 28 deletions(-) diff --git a/backend/services/project-management/src/main/java/io/metersphere/project/mapper/ExtFileMetadataMapper.java b/backend/services/project-management/src/main/java/io/metersphere/project/mapper/ExtFileMetadataMapper.java index 9ab04eef9e..728cb92b89 100644 --- a/backend/services/project-management/src/main/java/io/metersphere/project/mapper/ExtFileMetadataMapper.java +++ b/backend/services/project-management/src/main/java/io/metersphere/project/mapper/ExtFileMetadataMapper.java @@ -14,7 +14,7 @@ public interface ExtFileMetadataMapper { List countModuleIdByKeywordAndFileType(FileManagementQuery fileManagementQuery); - long countMyFile(FileManagementQuery fileManagementQuery); + long fileCount(FileManagementQuery fileManagementQuery); FileMetadata getById(String id); diff --git a/backend/services/project-management/src/main/java/io/metersphere/project/mapper/ExtFileMetadataMapper.xml b/backend/services/project-management/src/main/java/io/metersphere/project/mapper/ExtFileMetadataMapper.xml index 2d2bc883c2..723f2ece75 100644 --- a/backend/services/project-management/src/main/java/io/metersphere/project/mapper/ExtFileMetadataMapper.xml +++ b/backend/services/project-management/src/main/java/io/metersphere/project/mapper/ExtFileMetadataMapper.xml @@ -49,7 +49,7 @@ GROUP BY f.module_id -