From b7befa6a6aabb75eaac83db54ad8113ef791efb6 Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Tue, 19 Nov 2024 14:25:06 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=BB=E5=8A=A1=E4=B8=AD=E5=BF=83):=20?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E8=AF=A6=E6=83=85=E5=88=97=E8=A1=A8=E6=8E=92?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1048332 --user=王旭 【任务中心】任务详情列表-未按任务创建时间降序排列 https://www.tapd.cn/55049933/s/1612072 --- .../java/io/metersphere/system/service/BaseTaskHubService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/service/BaseTaskHubService.java b/backend/services/system-setting/src/main/java/io/metersphere/system/service/BaseTaskHubService.java index 756af6ee21..48566c8afd 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/service/BaseTaskHubService.java +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/service/BaseTaskHubService.java @@ -349,7 +349,7 @@ public class BaseTaskHubService { */ public Pager> getCaseTaskItemList(TaskHubItemRequest request, String orgId, String projectId) { Page page = PageMethod.startPage(request.getCurrent(), request.getPageSize(), - StringUtils.isNotBlank(request.getSortString()) ? request.getSortString() : "id asc"); + StringUtils.isNotBlank(request.getSortString()) ? request.getSortString() : "id desc"); return PageUtils.setPageInfo(page, getCaseTaskItemPage(request, orgId, projectId)); }