From 8f05c26b5679d5c9a11b05376a111af2cffa631a Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Thu, 19 May 2022 16:55:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=84=91=E5=9B=BE=E9=A1=BA=E5=BA=8F?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A4=9A=E4=B8=AA=E7=94=A8=E4=BE=8B=E6=97=B6?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F=E9=94=99=E4=B9=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1011900 --user=陈建星 [测试跟踪]github#12269脑图,列表切换后,脑图用例顺序全乱 https://www.tapd.cn/55049933/s/1160637 --- .../main/java/io/metersphere/track/service/TestCaseService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/src/main/java/io/metersphere/track/service/TestCaseService.java b/backend/src/main/java/io/metersphere/track/service/TestCaseService.java index c0d5cfbdda..aa51321a46 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestCaseService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestCaseService.java @@ -1926,6 +1926,8 @@ public class TestCaseService { String lastAddId = null; + String lastAddId = null; + for (TestCaseMinderEditRequest.TestCaseMinderEditItem item : data) { if (StringUtils.isBlank(item.getNodeId()) || item.getNodeId().equals("root")) { item.setNodeId("");