fix(测试计划): 执行历史列表排序报错
This commit is contained in:
parent
a6a9d4ebca
commit
a9c13e6a19
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue