fix: 测试计划没有场景用例选择环境执行报错
This commit is contained in:
parent
6a0818819b
commit
0d60fc8ac8
|
@ -214,6 +214,7 @@ public class TestPlanScenarioCaseService {
|
|||
}
|
||||
|
||||
public void setScenarioEnv(List<String> planScenarioIds, RunModeConfigDTO runModeConfig) {
|
||||
if (CollectionUtils.isEmpty(planScenarioIds)) return;
|
||||
SqlSession sqlSession = sqlSessionFactory.openSession(ExecutorType.BATCH);
|
||||
TestPlanApiScenarioExample testPlanApiScenarioExample = new TestPlanApiScenarioExample();
|
||||
testPlanApiScenarioExample.createCriteria().andIdIn(planScenarioIds);
|
||||
|
|
Loading…
Reference in New Issue