fix(测试计划): 执行历史列表排序报错

This commit is contained in:
song-cc-rock 2024-11-15 10:59:12 +08:00 committed by Craftsman
parent a6a9d4ebca
commit a9c13e6a19
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ public class TestPlanController {
@CheckOwner(resourceId = "#request.getTestPlanId()", resourceType = "test_plan")
public Pager<List<TestPlanExecuteHisDTO>> pageHis(@Validated @RequestBody TestPlanExecuteHisPageRequest request) {
Page<Object> page = PageHelper.startPage(request.getCurrent(), request.getPageSize(),
MapUtils.isEmpty(request.getSort()) ? "tpr.create_time desc" : request.getSortString());
MapUtils.isEmpty(request.getSort()) ? "et.create_time desc" : request.getSortString());
return PageUtils.setPageInfo(page, testPlanService.listHis(request));
}
}