fix(任务中心): 任务详情列表排序
--bug=1048332 --user=王旭 【任务中心】任务详情列表-未按任务创建时间降序排列 https://www.tapd.cn/55049933/s/1612072
This commit is contained in:
parent
9065ef4eb9
commit
b7befa6a6a
|
@ -349,7 +349,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 asc");
|
StringUtils.isNotBlank(request.getSortString()) ? request.getSortString() : "id desc");
|
||||||
return PageUtils.setPageInfo(page, getCaseTaskItemPage(request, orgId, projectId));
|
return PageUtils.setPageInfo(page, getCaseTaskItemPage(request, orgId, projectId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue