mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 20:19:16 +08:00
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
Block a user