diff --git a/backend/services/case-management/src/main/java/io/metersphere/functional/service/DeleteCaseReviewService.java b/backend/services/case-management/src/main/java/io/metersphere/functional/service/DeleteCaseReviewService.java index 88d5233af5..cde5411932 100644 --- a/backend/services/case-management/src/main/java/io/metersphere/functional/service/DeleteCaseReviewService.java +++ b/backend/services/case-management/src/main/java/io/metersphere/functional/service/DeleteCaseReviewService.java @@ -63,7 +63,7 @@ public class DeleteCaseReviewService { caseReviewExample.createCriteria().andIdIn(ids).andProjectIdEqualTo(projectId); caseReviewMapper.deleteByExample(caseReviewExample); - // 7. 批量刷新评审中其他用例的评审状态 + // 7. 批量刷新评审中所有用例的评审状态 Map> reviewFunctionalCaseMap = reviewFunctionalCases.stream().collect(Collectors.groupingBy(CaseReviewFunctionalCase::getReviewId)); reviewFunctionalCaseMap.forEach((reviewId, reviewFunctionalCaseList) -> caseReviewCaseProvider.refreshReviewCaseStatus(reviewFunctionalCaseList)); } diff --git a/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanReportService.java b/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanReportService.java index 1cad84e7fa..4f6c64aca7 100644 --- a/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanReportService.java +++ b/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanReportService.java @@ -577,6 +577,7 @@ public class TestPlanReportService { return; } List reportBugs = extTestPlanReportBugMapper.getPlanBugs(genParam.getTestPlanId(), subList); + bugCount.addAndGet(reportBugs.size()); // MS处理人会与第三方的值冲突, 分开查询 List headerOptions = bugCommonService.getHeaderHandlerOption(genParam.getProjectId()); Map headerHandleUserMap = headerOptions.stream().collect(Collectors.toMap(SelectOption::getValue, SelectOption::getText));