fix(用例管理): 修复用例详情关联用例列表sql报错问题

This commit is contained in:
guoyuqi 2024-03-13 17:57:09 +08:00 committed by 刘瑞斌
parent f4058352ca
commit f8343ea765
1 changed files with 1 additions and 2 deletions

View File

@ -45,8 +45,7 @@ public class FunctionalTestCaseController {
@RequiresPermissions(value = {PermissionConstants.FUNCTIONAL_CASE_READ, PermissionConstants.FUNCTIONAL_CASE_READ_UPDATE, PermissionConstants.FUNCTIONAL_CASE_READ_DELETE}, logical = Logical.OR)
@CheckOwner(resourceId = "#request.getProjectId()", resourceType = "project")
public Pager<List<TestCaseProviderDTO>> associateOtherCaseList(@Validated @RequestBody TestCasePageProviderRequest request) {
Page<Object> page = PageHelper.startPage(request.getCurrent(), request.getPageSize(),
StringUtils.isNotBlank(request.getSortString()) ? request.getSortString() : "create_time desc");
Page<Object> page = PageHelper.startPage(request.getCurrent(), request.getPageSize());
return PageUtils.setPageInfo(page, functionalTestCaseService.page(request));
}