在设置查询控件中,如果要设置日期为空默认查询所有,除了在sql语句中添加,还需要哪些设置
==0 放到括号外,${if(len(bdate)==0,""," and oa_fund_plan.billdate='"+bdate+"'")}
基本是在sql数据集的sql语句中处理好就OK了
参考下拉框参数为空选择全部-https://help.fanruan.com/finereport/doc-view-2394.html