我有以下问题。我想在级联组中的BIRT中使用其他参数。我使用带有以下SQL语句的多维数据集:
with
params as
(select ? as startdate, ? as bankname, ? as branchname from dual)
select *
from FACT_AS_BALANCE b, DIM_DATE d, DIM_ACCOUNT a, params
where
b.balance_date_id = d.id
and b.account_id = a.id
and (d.CAL_DATE between TO_DATE (params.startdate, 'DD/MM/YYYY') and TO_DATE (params.startdate, 'DD/MM/YYYY') + 9)
and (a.bank_name = params.bankname or params.bankname is null)
and (a.branch_name = params.branchname or params.branchname is null)
一切正常,但它只适用于输入参数屏幕的第一个默认值。当我更改我的值时,输入参数' OK'按钮不再响应。这是一个非常奇怪的问题,因为它与默认值完美配合。
先谢谢你们!