fix test plan rencent
This commit is contained in:
parent
35eac9e66f
commit
838e42f1e2
|
@ -127,6 +127,10 @@ public class TestCaseService {
|
|||
List<String> projectIds = projectMapper.selectByExample(projectExample).stream()
|
||||
.map(Project::getId).collect(Collectors.toList());
|
||||
|
||||
if (projectIds.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
PageHelper.startPage(1, count, true);
|
||||
|
||||
TestCaseExample testCaseExample = new TestCaseExample();
|
||||
|
|
Loading…
Reference in New Issue