${if(len(area) == 0,"","and 货主地区 = '" +area + "'")}
如果参数为空就用空, 不然就 按area筛选货主地区
配合where 1=1 实现为空全选
https://help.fanruan.com/finereport/doc-view-2394.html?source=1
下拉框参数为空选择全部值