fix: 修复删除项目缺陷
This commit is contained in:
parent
45e1ecb9fa
commit
76edbbd917
|
@ -51,6 +51,7 @@ public class APITestController {
|
|||
public Pager<List<APITestResult>> list(@PathVariable int goPage, @PathVariable int pageSize, @RequestBody QueryAPITestRequest request) {
|
||||
Page<Object> page = PageHelper.startPage(goPage, pageSize, true);
|
||||
request.setWorkspaceId(SessionUtils.getCurrentWorkspaceId());
|
||||
request.setProjectId(SessionUtils.getCurrentProjectId());
|
||||
return PageUtils.setPageInfo(page, apiTestService.list(request));
|
||||
}
|
||||
|
||||
|
|
|
@ -68,7 +68,6 @@ public class APITestService {
|
|||
|
||||
public List<APITestResult> list(QueryAPITestRequest request) {
|
||||
request.setOrders(ServiceUtils.getDefaultOrder(request.getOrders()));
|
||||
request.setProjectId(SessionUtils.getCurrentProjectId());
|
||||
return extApiTestMapper.list(request);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue