fix(测试计划): 计划自定义报告缺陷总数未统计
--bug=1046948 --user=宋昌昌 【测试计划】计划自定义生成报告-缺陷总数未统计 https://www.tapd.cn/55049933/s/1583613
This commit is contained in:
parent
c8bad6d1d6
commit
90ae8efacd
|
@ -63,7 +63,7 @@ public class DeleteCaseReviewService {
|
||||||
caseReviewExample.createCriteria().andIdIn(ids).andProjectIdEqualTo(projectId);
|
caseReviewExample.createCriteria().andIdIn(ids).andProjectIdEqualTo(projectId);
|
||||||
caseReviewMapper.deleteByExample(caseReviewExample);
|
caseReviewMapper.deleteByExample(caseReviewExample);
|
||||||
|
|
||||||
// 7. 批量刷新评审中其他用例的评审状态
|
// 7. 批量刷新评审中所有用例的评审状态
|
||||||
Map<String, List<CaseReviewFunctionalCase>> reviewFunctionalCaseMap = reviewFunctionalCases.stream().collect(Collectors.groupingBy(CaseReviewFunctionalCase::getReviewId));
|
Map<String, List<CaseReviewFunctionalCase>> reviewFunctionalCaseMap = reviewFunctionalCases.stream().collect(Collectors.groupingBy(CaseReviewFunctionalCase::getReviewId));
|
||||||
reviewFunctionalCaseMap.forEach((reviewId, reviewFunctionalCaseList) -> caseReviewCaseProvider.refreshReviewCaseStatus(reviewFunctionalCaseList));
|
reviewFunctionalCaseMap.forEach((reviewId, reviewFunctionalCaseList) -> caseReviewCaseProvider.refreshReviewCaseStatus(reviewFunctionalCaseList));
|
||||||
}
|
}
|
||||||
|
|
|
@ -577,6 +577,7 @@ public class TestPlanReportService {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
List<TestPlanReportBug> reportBugs = extTestPlanReportBugMapper.getPlanBugs(genParam.getTestPlanId(), subList);
|
List<TestPlanReportBug> reportBugs = extTestPlanReportBugMapper.getPlanBugs(genParam.getTestPlanId(), subList);
|
||||||
|
bugCount.addAndGet(reportBugs.size());
|
||||||
// MS处理人会与第三方的值冲突, 分开查询
|
// MS处理人会与第三方的值冲突, 分开查询
|
||||||
List<SelectOption> headerOptions = bugCommonService.getHeaderHandlerOption(genParam.getProjectId());
|
List<SelectOption> headerOptions = bugCommonService.getHeaderHandlerOption(genParam.getProjectId());
|
||||||
Map<String, String> headerHandleUserMap = headerOptions.stream().collect(Collectors.toMap(SelectOption::getValue, SelectOption::getText));
|
Map<String, String> headerHandleUserMap = headerOptions.stream().collect(Collectors.toMap(SelectOption::getValue, SelectOption::getText));
|
||||||
|
|
Loading…
Reference in New Issue