From 2b28b038eeb00e13d08f4978bc26a224dbf0f066 Mon Sep 17 00:00:00 2001 From: yjz <3131811435@qq.com> Date: Tue, 6 Aug 2024 09:43:59 +0800 Subject: [PATCH] =?UTF-8?q?fix(88055):=20=E9=AB=98=E7=BA=A7=E6=A3=80?= =?UTF-8?q?=E7=B4=A2-=E6=9D=A1=E6=AC=BE=20=E5=88=97=E8=A1=A8=E6=B6=89?= =?UTF-8?q?=E5=8F=8A=E7=B3=BB=E7=BB=9F/=E9=83=A8=E4=BB=B6=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E6=AD=A3=E5=B8=B8=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/laws/documenttool/handler/impl/InConditionImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laws-modules/src/main/java/com/jero/modules/laws/documenttool/handler/impl/InConditionImpl.java b/laws-modules/src/main/java/com/jero/modules/laws/documenttool/handler/impl/InConditionImpl.java index 65a15fa9..db25776a 100644 --- a/laws-modules/src/main/java/com/jero/modules/laws/documenttool/handler/impl/InConditionImpl.java +++ b/laws-modules/src/main/java/com/jero/modules/laws/documenttool/handler/impl/InConditionImpl.java @@ -40,7 +40,7 @@ public class InConditionImpl extends AbstractConditionBase { } } for (String s : list) { - in.append(DocumentSplitCommon.INSTR_BEGIN).append(fieldName).append(",").append("'").append(s).append("'").append(")"); + in.append("find_in_set('").append(s).append("', ").append(fieldName).append(") > 0"); if (list.indexOf(s) != list.size() -1){ in.append(DocumentSplitCommon.OR); }