下拉复选框当选择一个时,能正常查询,选择2个及以上时,查询数据为空了。(返回值类型设置为字符串)。
谢谢。
select *
from table
where 1=1
${if(len(参数)==0,"","and 字段 in ('"+参数+"')")}
返回值类型没有设置