From 5c7864c9ab398dfcb2a62b58299f24e215ccf4f6 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Mon, 26 Jun 2023 17:28:59 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=B0=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E5=88=97=E8=A1=A8=E9=A1=BA=E5=BA=8F=E4=B8=8D?= =?UTF-8?q?=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1027137 --user=宋昌昌 【接口测试】场景列表-场景列表-批量操作-添加到测试计划-列表数据和计划列表显示顺序不一致 https://www.tapd.cn/55049933/s/1386410 --- .../main/java/io/metersphere/plan/service/TestPlanService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanService.java b/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanService.java index e3a3e311e6..faffd9937a 100644 --- a/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanService.java +++ b/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanService.java @@ -803,6 +803,7 @@ public class TestPlanService { } public List planListAll(QueryTestPlanRequest request) { + request.setOrders(ServiceUtils.getDefaultOrder(request.getOrders())); if (StringUtils.isNotBlank(request.getProjectId())) { request.setProjectId(request.getProjectId()); }