选择部分就有数据出来
数据集
1=1 ${if(len(参数) == 0 ,"","and 字段 in ('"+参数名+"')")}
-------------
and 1=1 ${if( len(参数) == 0 , "", "and 字段 in ('" + ARRAY(replace(参数名,",","','")) + "') " )}
--------
and 1=1 ${if(len(name) == 0 , "", " and 字段名 in ('"+name+"') " )}
你这是为空查全部没有设置
https://help.fanruan.com/finereport/doc-view-2395.html
下拉复选框为空查全部