From 6cb5dcdc5d9a77baca78d673362a695804ed734b Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Fri, 26 Nov 2021 15:11:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E9=81=97=E7=95=99=E7=BC=BA=E9=99=B7=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E6=95=B0=E9=87=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1006831 --user=lyh 【测试跟踪】首页遗留缺陷统计数量错误 https://www.tapd.cn/55049933/s/1075503 --- .../io/metersphere/base/mapper/ext/ExtProjectMapper.java | 2 ++ .../io/metersphere/base/mapper/ext/ExtProjectMapper.xml | 7 +++++++ .../io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml | 2 +- .../main/java/io/metersphere/service/ProjectService.java | 4 ++++ .../java/io/metersphere/track/service/TrackService.java | 7 ++++--- 5 files changed, 18 insertions(+), 4 deletions(-) diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtProjectMapper.java b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtProjectMapper.java index 06273e0600..dedcb072c9 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtProjectMapper.java +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtProjectMapper.java @@ -35,4 +35,6 @@ public interface ExtProjectMapper { long getProjectMemberSize(@Param("projectId") String projectId); ListgetProjectByUserId(@Param("userId")String userId); + + int getProjectPlanBugSize(@Param("projectId") String projectId); } diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtProjectMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtProjectMapper.xml index f9b5e6f44a..5ea046fa25 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtProjectMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtProjectMapper.xml @@ -244,4 +244,11 @@ + diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml index ae56e0cd9b..70d6bbee88 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml @@ -441,7 +441,7 @@