where 1=1
${if(len(daqu1) == 0,"","and h.name in ('" + daqu1 + "')")}
这样子为空就查全部了。
下拉复选框参数为空选择全部-https://help.fanruan.com/finereport/doc-view-2395.html
————————
---