diff --git a/backend/services/test-plan/src/main/java/io/metersphere/plan/controller/TestPlanController.java b/backend/services/test-plan/src/main/java/io/metersphere/plan/controller/TestPlanController.java index 69e97e38e8..022a373a94 100644 --- a/backend/services/test-plan/src/main/java/io/metersphere/plan/controller/TestPlanController.java +++ b/backend/services/test-plan/src/main/java/io/metersphere/plan/controller/TestPlanController.java @@ -257,7 +257,7 @@ public class TestPlanController { @CheckOwner(resourceId = "#request.getTestPlanId()", resourceType = "test_plan") public Pager> pageHis(@Validated @RequestBody TestPlanExecuteHisPageRequest request) { Page 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)); } }