fix(场景自动化): 环境检查

This commit is contained in:
shiziyuan9527 2021-05-11 16:50:11 +08:00 committed by 刘瑞斌
parent 84d3f577f7
commit 1c1ec0e851
1 changed files with 1 additions and 0 deletions

View File

@ -1013,6 +1013,7 @@ public class ApiAutomationService {
isEnv = false;
} else {
Set<String> projectIds = apiScenarioEnv.getProjectIds();
projectIds.remove(null);
if (CollectionUtils.isNotEmpty(envMap.keySet())) {
for (String id : projectIds) {
Project project = projectMapper.selectByPrimaryKey(id);