fix(测试计划): 测试计划执行时增加测试集的排序
This commit is contained in:
parent
3d85e8a48c
commit
2a35036652
|
@ -341,6 +341,7 @@ public class TestPlanExecuteService {
|
||||||
TestPlanCollection parentCollection = testPlanCollectionMapper.selectByPrimaryKey(executionQueue.getSourceID());
|
TestPlanCollection parentCollection = testPlanCollectionMapper.selectByPrimaryKey(executionQueue.getSourceID());
|
||||||
TestPlanCollectionExample example = new TestPlanCollectionExample();
|
TestPlanCollectionExample example = new TestPlanCollectionExample();
|
||||||
example.createCriteria().andParentIdEqualTo(executionQueue.getSourceID());
|
example.createCriteria().andParentIdEqualTo(executionQueue.getSourceID());
|
||||||
|
example.setOrderByClause("pos asc");
|
||||||
List<TestPlanCollection> childrenList = testPlanCollectionMapper.selectByExample(example);
|
List<TestPlanCollection> childrenList = testPlanCollectionMapper.selectByExample(example);
|
||||||
|
|
||||||
int pos = 0;
|
int pos = 0;
|
||||||
|
|
Loading…
Reference in New Issue