From df61c393d6c347c49c22e23e6e1dceca7cf1bd19 Mon Sep 17 00:00:00 2001
From: wxg0103 <727495428@qq.com>
Date: Thu, 5 May 2022 17:59:48 +0800
Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AE):=20?=
=?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=A5=E4=BD=9C=E7=A9=BA=E9=97=B4=E5=92=8C?=
=?UTF-8?q?=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AE=E7=9A=84=E6=93=8D=E4=BD=9C?=
=?UTF-8?q?=E6=97=A5=E5=BF=97=EF=BC=8C=E9=80=9A=E8=BF=87=E6=B7=BB=E5=8A=A0?=
=?UTF-8?q?=E6=93=8D=E4=BD=9C=E5=AF=B9=E8=B1=A1=E6=90=9C=E7=B4=A2=E6=9D=A1?=
=?UTF-8?q?=E4=BB=B6=EF=BC=8C=E6=97=A0=E6=B3=95=E6=AD=A3=E7=A1=AE=E6=9F=A5?=
=?UTF-8?q?=E5=87=BA=E5=AF=B9=E5=BA=94=E6=95=B0=E6=8D=AE=E7=9A=84=E7=BC=BA?=
=?UTF-8?q?=E9=99=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
--bug=1012874 --user=王孝刚
【系统设置】github#13126,工作空间和项目设置的操作日志,通过添加操作对象搜索条件,无法正确查出对应数据
https://www.tapd.cn/55049933/s/1153024
---
.../metersphere/base/mapper/ext/ExtOperatingLogMapper.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtOperatingLogMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtOperatingLogMapper.xml
index 9c94a751a5..1340fe883d 100644
--- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtOperatingLogMapper.xml
+++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtOperatingLogMapper.xml
@@ -43,9 +43,9 @@
and t.oper_type like #{request.operType, jdbcType=VARCHAR}
- and
-
- t.oper_module like CONCAT('%',#{item},'%')
+ and t.oper_module in
+
+ #{item}