From da5338edcc18bacb66a8a0daf88db7702650d439 Mon Sep 17 00:00:00 2001 From: mayu Date: Wed, 10 May 2023 18:06:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=AD=A3=E5=88=99=E5=8C=B9=E9=85=8D?= =?UTF-8?q?=E6=97=B6=E5=A2=9E=E5=8A=A0=E5=AF=B9=E5=87=BD=E6=95=B0=E4=BC=A0?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E5=9C=BA=E6=99=AF=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/datart/data/provider/jdbc/RegexVariableResolver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-providers/data-provider-base/src/main/java/datart/data/provider/jdbc/RegexVariableResolver.java b/data-providers/data-provider-base/src/main/java/datart/data/provider/jdbc/RegexVariableResolver.java index 99ff48ef6..be4601884 100644 --- a/data-providers/data-provider-base/src/main/java/datart/data/provider/jdbc/RegexVariableResolver.java +++ b/data-providers/data-provider-base/src/main/java/datart/data/provider/jdbc/RegexVariableResolver.java @@ -35,7 +35,7 @@ public class RegexVariableResolver { - public static final String REG_VARIABLE_EXPRESSION_TEMPLATE = "\\S+\\s*(IN|NOT\\s+IN|IS\\s+NULL|NOT\\s+NULL|LIKE|NOT\\s+LIKE|EXISTS|>|<|=|!=|<>|>=|<=){1}\\s*\\S*\\({0,1}(%s){1}\\){0,1}"; + public static final String REG_VARIABLE_EXPRESSION_TEMPLATE = "\\S+\\s*(IN|NOT\\s+IN|IS\\s+NULL|NOT\\s+NULL|LIKE|NOT\\s+LIKE|EXISTS|>|<|=|!=|<>|>=|<=\\s+,|\\(|\\s+){1}\\s*\\S*\\({0,1}(%s){1}\\){0,1}\\S*\\s*(\\)){0,1}"; public static List resolve(SqlDialect sqlDialect, String srcSql, Map variableMap) {