这样写也行 ${if(len(参数) == 0,""," and 字段 in ( '" + SUBSTITUTE(参数,",","','") + "')")}
多选设置分隔符为','
在数据集里面用 in