fix(用例管理): 修复功能用例回收站删除时间相同翻页会有重复数据以及表头固定字段可隐藏的问题

--bug=1039992 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039992
--bug=1040004 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001040004
This commit is contained in:
guoyuqi 2024-04-24 15:28:20 +08:00 committed by 刘瑞斌
parent f09e9e82eb
commit 6fb5ddbc0e
2 changed files with 3 additions and 1 deletions

View File

@ -42,7 +42,7 @@ public class FunctionalCaseTrashController {
@CheckOwner(resourceId = "#request.getProjectId()", resourceType = "project") @CheckOwner(resourceId = "#request.getProjectId()", resourceType = "project")
public Pager<List<FunctionalCasePageDTO>> getFunctionalCasePage(@Validated @RequestBody FunctionalCasePageRequest request) { public Pager<List<FunctionalCasePageDTO>> getFunctionalCasePage(@Validated @RequestBody FunctionalCasePageRequest request) {
Page<Object> page = PageHelper.startPage(request.getCurrent(), request.getPageSize(), Page<Object> page = PageHelper.startPage(request.getCurrent(), request.getPageSize(),
StringUtils.isNotBlank(request.getSortString()) ? request.getSortString() : "delete_time desc"); StringUtils.isNotBlank(request.getSortString()) ? request.getSortString() : "delete_time desc, id asc");
return PageUtils.setPageInfo(page, functionalCaseService.getFunctionalCasePage(request, true)); return PageUtils.setPageInfo(page, functionalCaseService.getFunctionalCasePage(request, true));
} }

View File

@ -370,6 +370,7 @@
'showTooltip': true, 'showTooltip': true,
'ellipsis': true, 'ellipsis': true,
'showDrag': false, 'showDrag': false,
'columnSelectorDisabled': true,
}, },
{ {
title: 'caseManagement.featureCase.tableColumnName', title: 'caseManagement.featureCase.tableColumnName',
@ -384,6 +385,7 @@
}, },
ellipsis: true, ellipsis: true,
showDrag: false, showDrag: false,
columnSelectorDisabled: true,
}, },
{ {
title: 'caseManagement.featureCase.tableColumnLevel', title: 'caseManagement.featureCase.tableColumnLevel',