From 25abc68ee2c54c378dd6c2cc2cc6c95217c4fd77 Mon Sep 17 00:00:00 2001 From: roger Date: Tue, 18 Jun 2024 10:23:56 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-123731=20=E6=95=B0=E6=8D=AE=E9=9B=86?= =?UTF-8?q?=E5=90=AB=E6=9C=89=E6=B3=A8=E9=87=8A=E5=92=8C=E6=9C=AA=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E7=9A=84=E5=8F=82=E6=95=B0=EF=BC=8C=E4=BD=86=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E5=8F=82=E6=95=B0=E4=BE=9D=E7=84=B6=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../design/data/tabledata/tabledatapane/DBTableDataPane.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/DBTableDataPane.java b/designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/DBTableDataPane.java index 4a0d1f665e..ae430b26e3 100644 --- a/designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/DBTableDataPane.java +++ b/designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/DBTableDataPane.java @@ -296,8 +296,8 @@ public class DBTableDataPane extends AbstractTableDataPane implemen private void refreshParameters() { String[] paramTexts = new String[2]; - paramTexts[0] = SqlUtils.tryPureSqlText(this.sqlTextPane.getText()); - paramTexts[1] = SqlUtils.tryPureSqlText(this.pageQuery); + paramTexts[0] = SqlUtils.clearSqlComments(this.sqlTextPane.getText()); + paramTexts[1] = SqlUtils.clearSqlComments(this.pageQuery); List existParameterList = this.editorPane.update(); Parameter[] ps = (existParameterList == null) ? new Parameter[0] : existParameterList.toArray(new Parameter[0]);