fix(场景自动化): 环境检查
This commit is contained in:
parent
75f46c6c66
commit
7a0ff6d8b8
|
@ -1013,6 +1013,7 @@ public class ApiAutomationService {
|
||||||
isEnv = false;
|
isEnv = false;
|
||||||
} else {
|
} else {
|
||||||
Set<String> projectIds = apiScenarioEnv.getProjectIds();
|
Set<String> projectIds = apiScenarioEnv.getProjectIds();
|
||||||
|
projectIds.remove(null);
|
||||||
if (CollectionUtils.isNotEmpty(envMap.keySet())) {
|
if (CollectionUtils.isNotEmpty(envMap.keySet())) {
|
||||||
for (String id : projectIds) {
|
for (String id : projectIds) {
|
||||||
Project project = projectMapper.selectByPrimaryKey(id);
|
Project project = projectMapper.selectByPrimaryKey(id);
|
||||||
|
|
Loading…
Reference in New Issue