fix test plan rencent

This commit is contained in:
chenjianxing 2020-04-09 09:24:13 +08:00
parent 35eac9e66f
commit 838e42f1e2
1 changed files with 4 additions and 0 deletions

View File

@ -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();