帆软报表中设置一个单选下拉框,我配置后总是提示错误代码11300001,数据集配置错误,出现不支持的SQL标记,118。 下拉框名字为tongjikj ,自定义了两个值 tj1 和 tj2 sql中where 条件这样写的 ${if(tongjikj == "tj1"," trunc(tongjirq) BETWEEN TO_DATE('${date_start}', 'YYYY-MM-DD') AND TO_DATE('${date_end}', 'YYYY-MM-DD')", "")} ${if(tongjikj == "tj2"," trunc(jisuanrq) BETWEEN TO_DATE('${date_start}', 'YYYY-MM-DD') AND TO_DATE('${date_end}', 'YYYY-MM-DD')", "")} 哪里错了呢 |