fix(测试计划): 修复分享测试计划报告接口/场景列表字段排序报错问题
--bug=1050471 --user=王旭 【测试计划】报告-用例明细的用例名称字段排序与接口/场景明细的耗时字段排序均未生效 https://www.tapd.cn/55049933/s/1632164
This commit is contained in:
parent
be8e9ed152
commit
4598028bb8
|
@ -230,8 +230,7 @@ public class TestPlanReportShareController {
|
||||||
request.setDetailReportIds(testPlanReportService.getActualReportIds(request.getReportId()));
|
request.setDetailReportIds(testPlanReportService.getActualReportIds(request.getReportId()));
|
||||||
ShareInfo shareInfo = testPlanReportShareService.checkResource(request.getShareId());
|
ShareInfo shareInfo = testPlanReportShareService.checkResource(request.getShareId());
|
||||||
testPlanReportShareService.validateExpired(shareInfo);
|
testPlanReportShareService.validateExpired(shareInfo);
|
||||||
Page<Object> page = PageHelper.startPage(request.getCurrent(), request.getPageSize(),
|
Page<Object> page = PageHelper.startPage(request.getCurrent(), request.getPageSize(), "tpc.pos asc");
|
||||||
StringUtils.isNotBlank(request.getSortString()) ? request.getSortString() : "tpc.pos desc");
|
|
||||||
return PageUtils.setPageInfo(page, testPlanReportService.listReportCollection(request, type));
|
return PageUtils.setPageInfo(page, testPlanReportService.listReportCollection(request, type));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue