过滤写:
where 1=1
${if(len(参数1)=0,"","and 字段1 in ('"+参数1+"')")}
${if(len(参数2)=0,"","and 字段2 in ('"+参数2+"')")}
${if(len(参数3)=0,"","and 字段3 in ('"+参数3+"')")}
${if(len(参数4)=0,"","and 字段4 in ('"+参数4+"')")}
---------------------------------------------------------------
控件参数联动参考:
https://help.fanruan.com/finereport/doc-view-1284.html