fix(测试计划): 报告导出测试点用例顺序不一致
--bug=1048370 --user=宋昌昌 【测试计划】开启功能/接口/场景用例测试点导出计划组报告-测试点顺序和报告不一致 https://www.tapd.cn/55049933/s/1610928
This commit is contained in:
parent
fa013cfe97
commit
173b6c9bfe
|
@ -42,8 +42,6 @@ public class CleanupApiReportServiceImpl implements BaseCleanUpReport {
|
||||||
private ApiScenarioReportDetailBlobMapper apiScenarioReportDetailBlobMapper;
|
private ApiScenarioReportDetailBlobMapper apiScenarioReportDetailBlobMapper;
|
||||||
@Resource
|
@Resource
|
||||||
private ApiReportRelateTaskMapper apiReportRelateTaskMapper;
|
private ApiReportRelateTaskMapper apiReportRelateTaskMapper;
|
||||||
@Resource
|
|
||||||
private ExtApiReportRelateTaskMapper extApiReportRelateTaskMapper;
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void cleanReport(Map<String, String> map, String projectId) {
|
public void cleanReport(Map<String, String> map, String projectId) {
|
||||||
|
|
|
@ -183,7 +183,7 @@ public class TestPlanReportController {
|
||||||
// 不分页仅排序 {测试集升序, 用例位次倒序}
|
// 不分页仅排序 {测试集升序, 用例位次倒序}
|
||||||
page.setPageSize(0);
|
page.setPageSize(0);
|
||||||
page.setPageSizeZero(true);
|
page.setPageSizeZero(true);
|
||||||
page.setOrderBy("tpc.pos, tprfc.pos desc");
|
page.setOrderBy("tpc.pos, tpc.name, tprfc.pos desc");
|
||||||
page.setOrderByOnly(true);
|
page.setOrderByOnly(true);
|
||||||
}
|
}
|
||||||
return PageUtils.setPageInfo(page, testPlanReportService.listReportDetailCases(request, AssociateCaseType.FUNCTIONAL));
|
return PageUtils.setPageInfo(page, testPlanReportService.listReportDetailCases(request, AssociateCaseType.FUNCTIONAL));
|
||||||
|
@ -207,7 +207,7 @@ public class TestPlanReportController {
|
||||||
// 不分页仅排序 {测试集升序, 用例位次倒序}
|
// 不分页仅排序 {测试集升序, 用例位次倒序}
|
||||||
page.setPageSize(0);
|
page.setPageSize(0);
|
||||||
page.setPageSizeZero(true);
|
page.setPageSizeZero(true);
|
||||||
page.setOrderBy("tpc.pos, tprac.pos desc");
|
page.setOrderBy("tpc.pos, tpc.name, tprac.pos desc");
|
||||||
page.setOrderByOnly(true);
|
page.setOrderByOnly(true);
|
||||||
}
|
}
|
||||||
return PageUtils.setPageInfo(page, testPlanReportService.listReportDetailCases(request, AssociateCaseType.API_CASE));
|
return PageUtils.setPageInfo(page, testPlanReportService.listReportDetailCases(request, AssociateCaseType.API_CASE));
|
||||||
|
@ -224,7 +224,7 @@ public class TestPlanReportController {
|
||||||
// 不分页仅排序 {测试集升序, 用例位次倒序}
|
// 不分页仅排序 {测试集升序, 用例位次倒序}
|
||||||
page.setPageSize(0);
|
page.setPageSize(0);
|
||||||
page.setPageSizeZero(true);
|
page.setPageSizeZero(true);
|
||||||
page.setOrderBy("tpc.pos, tpras.pos desc");
|
page.setOrderBy("tpc.pos, tpc.name, tpras.pos desc");
|
||||||
page.setOrderByOnly(true);
|
page.setOrderByOnly(true);
|
||||||
}
|
}
|
||||||
return PageUtils.setPageInfo(page, testPlanReportService.listReportDetailCases(request, AssociateCaseType.API_SCENARIO));
|
return PageUtils.setPageInfo(page, testPlanReportService.listReportDetailCases(request, AssociateCaseType.API_SCENARIO));
|
||||||
|
|
Loading…
Reference in New Issue