oracle使用in,加下拉多选框参数,怎么写,
select * from aa where b in 下拉多选框参数
拼接单引号总是报错
select * from aa where b in '${参数}'
select * from aa $if(len(参数)==0,”where 1=1“, “ where b in (‘ ”+参数+“ ‘)”)
控件记得返回值为字符串,然后分隔符 用‘ ,’
where 1=1 ${if(len(b==0,"","and aa in ('"+b+"')")} 复选框控件加上数据字典,字符串‘,’