在数据列中是这样实现的,如图:
请问在数据集中怎么实现:
https://help.fanruan.com/finereport/doc-view-4455.html 参考
----------
">="
-------
SELECT * FROM TABLE WHERE 1=1 ${IF(LEN(startdate)=0,""," and 日期>='"+startdate+"'")}
select * from 库存数据
where 1=1
${if(len(startdate)=0,"","and 日期>='"+startdate+"'")}
${if(len(enddate)=0,"","and 日期<='"+enddate+"'")}