fix: 缺陷列表报错
This commit is contained in:
parent
2b759037ae
commit
4194b75f0b
|
@ -641,6 +641,9 @@ public class TestPlanService {
|
|||
}
|
||||
|
||||
public List<TestPlan> getTestPlanByIds(List<String> planIds) {
|
||||
if (CollectionUtils.isEmpty(planIds)) {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
TestPlanExample example = new TestPlanExample();
|
||||
example.createCriteria().andIdIn(planIds);
|
||||
return testPlanMapper.selectByExample(example);
|
||||
|
|
Loading…
Reference in New Issue