fix(任务中心): 任务项默认排序规则
This commit is contained in:
parent
0e08171849
commit
8b98b6fa7c
|
@ -354,7 +354,7 @@ public class BaseTaskHubService {
|
||||||
*/
|
*/
|
||||||
public Pager<List<TaskHubItemDTO>> getCaseTaskItemList(TaskHubItemRequest request, String orgId, String projectId) {
|
public Pager<List<TaskHubItemDTO>> getCaseTaskItemList(TaskHubItemRequest request, String orgId, String projectId) {
|
||||||
Page<Object> page = PageMethod.startPage(request.getCurrent(), request.getPageSize(),
|
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));
|
return PageUtils.setPageInfo(page, getCaseTaskItemPage(request, orgId, projectId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue