From b18c221f1d8656c64e789380aba85cf4edfacca2 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Wed, 26 Feb 2025 16:44:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89sql=E6=9B=BF=E6=8D=A2=E7=B3=BB=E7=BB=9F=E5=8F=98?= =?UTF-8?q?=E9=87=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/io/dataease/commons/utils/SqlparserUtils.java | 1 - 1 file changed, 1 deletion(-) diff --git a/core/core-backend/src/main/java/io/dataease/commons/utils/SqlparserUtils.java b/core/core-backend/src/main/java/io/dataease/commons/utils/SqlparserUtils.java index 7230b9843c..95811eb715 100644 --- a/core/core-backend/src/main/java/io/dataease/commons/utils/SqlparserUtils.java +++ b/core/core-backend/src/main/java/io/dataease/commons/utils/SqlparserUtils.java @@ -171,7 +171,6 @@ public class SqlparserUtils { } else { pattern = Pattern.compile(regex2); matcher = pattern.matcher(tmpSql); - sysParams.clear(); while (matcher.find()) { hasVariables = true; tmpSql = tmpSql.replace(matcher.group(), SysParamsSubstitutedParams + matcher.group().substring(1, matcher.group().length() - 1));