From 2a35036652ea3d257c249251ba775fb7010edec1 Mon Sep 17 00:00:00 2001 From: Jianguo-Genius Date: Fri, 27 Sep 2024 18:11:31 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E6=89=A7=E8=A1=8C=E6=97=B6?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B5=8B=E8=AF=95=E9=9B=86=E7=9A=84=E6=8E=92?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/metersphere/plan/service/TestPlanExecuteService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanExecuteService.java b/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanExecuteService.java index dca719280f..c6eeab4b2d 100644 --- a/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanExecuteService.java +++ b/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanExecuteService.java @@ -341,6 +341,7 @@ public class TestPlanExecuteService { TestPlanCollection parentCollection = testPlanCollectionMapper.selectByPrimaryKey(executionQueue.getSourceID()); TestPlanCollectionExample example = new TestPlanCollectionExample(); example.createCriteria().andParentIdEqualTo(executionQueue.getSourceID()); + example.setOrderByClause("pos asc"); List childrenList = testPlanCollectionMapper.selectByExample(example); int pos = 0;