浏览数据的参数值没有传到后台 sql 中

在 XXX.rpx 文件中配置好了数据集和参数,点击浏览数据,输入参数值,参数值并没有传到后台 sql。

select t.* from (select Fst_Subbranch_Name as 分机构名称, mgmt_org as 机构, Txn_Dt as 日期 from t1 where t1.flag=1 union select Fst_Subbranch_Name as 分机构名称, mgmt_org as 机构, Txn_Dt as 日期 from t1 where t1.flag=2) t where t.机构 = '?' and Txn_Dt between '?' and '?'

设置报表参数值:
名称 数值
机构 ‘00000’
日期 1 ‘2020-02-01’
日期 2 ‘2020-02-03’

去后台查询执行的 sql 语句是
select t.* from (select Fst_Subbranch_Name as 分机构名称, mgmt_org as 机构, Txn_Dt as 日期 from t1 where t1.flag=1 union select Fst_Subbranch_Name as 分机构名称, mgmt_org as 机构, Txn_Dt as 日期 from t1 where t1.flag=2) t where t. 机构 = ‘?’ and Txn_Dt between ‘?’ and ‘?’

此时的参数值并没传入 sql 中