From 8a6434afce9d382d38fe134ee7920b2bded4d523 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Sat, 15 Oct 2022 16:42:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E5=AD=97=E6=AE=B5=E9=AB=98=E7=BA=A7?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E7=BB=93=E6=9E=9C=E6=9C=89=E5=A4=9A=E6=9D=A1?= =?UTF-8?q?=E4=BC=9A=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1018093 --user=陈建星 【测试跟踪】测试用例-高级搜索-筛选条件选模版字段-查询报sql错误 https://www.tapd.cn/55049933/s/1262502 --- .../java/io/metersphere/base/mapper/ext/ExtIssuesMapper.xml | 2 +- .../java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtIssuesMapper.xml b/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtIssuesMapper.xml index 96a553b245..a6bf271a2b 100644 --- a/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtIssuesMapper.xml +++ b/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtIssuesMapper.xml @@ -309,7 +309,7 @@ - and issues.id ${custom.operator} ( + and issues.id in ( select resource_id from custom_field_issues where field_id = #{custom.id} diff --git a/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml b/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml index 5428af7c94..317610686d 100644 --- a/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml +++ b/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml @@ -108,7 +108,7 @@ - and test_case.id ${custom.operator} ( + and test_case.id in ( select resource_id from custom_field_test_case where field_id = #{custom.id}