Browse Source

Pull request #14148: REPORT-123731 数据集含有注释和未注释的参数,但注释参数依然生效

Merge in DESIGN/design from ~ROGER.CHEN/design:release/11.0 to release/11.0

* commit '25abc68ee2c54c378dd6c2cc2cc6c95217c4fd77':
  REPORT-123731 数据集含有注释和未注释的参数,但注释参数依然生效
release/11.0
Roger.Chen-陈旺 6 months ago
parent
commit
6ca0c8fd59
  1. 4
      designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/DBTableDataPane.java

4
designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/DBTableDataPane.java

@ -296,8 +296,8 @@ public class DBTableDataPane extends AbstractTableDataPane<DBTableData> 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<ParameterProvider> existParameterList = this.editorPane.update();
Parameter[] ps = (existParameterList == null) ? new Parameter[0] : existParameterList.toArray(new Parameter[0]);

Loading…
Cancel
Save