fix(任务中心): 任务项默认排序规则

This commit is contained in:
WangXu10 2024-12-03 11:29:43 +08:00 committed by 刘瑞斌
parent 0e08171849
commit 8b98b6fa7c
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ public class BaseTaskHubService {
*/
public Pager<List<TaskHubItemDTO>> getCaseTaskItemList(TaskHubItemRequest request, String orgId, String projectId) {
Page<Object> page = PageMethod.startPage(request.getCurrent(), request.getPageSize(),
StringUtils.isNotBlank(request.getSortString()) ? request.getSortString() : "id desc");
StringUtils.isNotBlank(request.getSortString()) ? request.getSortString() : "create_time desc");
return PageUtils.setPageInfo(page, getCaseTaskItemPage(request, orgId, projectId));
}