From 5a47d8138c78b5288f74477b65dfa8a7fefe0545 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 28 Mar 2023 18:36:41 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E5=85=B3=E8=81=94=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=EF=BC=8C=E9=AB=98=E7=BA=A7=E6=90=9C=E7=B4=A2=E5=A4=9A?= =?UTF-8?q?=E9=80=89=E6=A1=86=E8=87=AA=E5=AE=9A=E4=B9=89=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1024933 --user=陈建星 【测试跟踪】github#23218,筛选多选下拉列表的值,报SQL异常 https://www.tapd.cn/55049933/s/1356789 --- .../main/java/io/metersphere/service/TestCaseNodeService.java | 2 ++ .../src/main/java/io/metersphere/service/TestCaseService.java | 1 + 2 files changed, 3 insertions(+) diff --git a/test-track/backend/src/main/java/io/metersphere/service/TestCaseNodeService.java b/test-track/backend/src/main/java/io/metersphere/service/TestCaseNodeService.java index 15fe59ebe8..f585f9ee25 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/TestCaseNodeService.java +++ b/test-track/backend/src/main/java/io/metersphere/service/TestCaseNodeService.java @@ -369,6 +369,7 @@ public class TestCaseNodeService extends NodeTreeService { if (testPlanService.isAllowedRepeatCase(request.getPlanId())) { request.setRepeatCase(true); } + ServiceUtils.setBaseQueryRequestCustomMultipleFields(request); List countMNodes = extTestCaseMapper.getTestPlanRelateCountNodes(request); List testCaseNodes = extTestCaseNodeMapper.getNodeTreeByProjectId(request.getProjectId()); return getNodeTreeWithPruningTreeByCaseCount(testCaseNodes, getCountMap(countMNodes)); @@ -378,6 +379,7 @@ public class TestCaseNodeService extends NodeTreeService { request.setNodeIds(null); List countMNodes = extTestCaseMapper.getTestReviewRelateCountNodes(request); List testCaseNodes = extTestCaseNodeMapper.getNodeTreeByProjectId(request.getProjectId()); + ServiceUtils.setBaseQueryRequestCustomMultipleFields(request); return getNodeTreeWithPruningTreeByCaseCount(testCaseNodes, getCountMap(countMNodes)); } diff --git a/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java b/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java index af5eb321df..8535a83bce 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java +++ b/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java @@ -973,6 +973,7 @@ public class TestCaseService { } public List getTestCaseByNotInPlan(QueryTestCaseRequest request) { + ServiceUtils.setBaseQueryRequestCustomMultipleFields(request); return extTestCaseMapper.getTestCaseByNotInPlan(request); }