select * from 表名
where A in ('') or a is null
----------
通用SQL
SELECT * FROM 表名 WHERE 1=1 ${IF(参数名)==0,""," and (case when a is null then '' else a end) in ('"+参数名+"')"}
--------------
控件数据集
SELECT (case when a='' or a is null then '空' else a end) [new_] FROM TABLE
查询SQL
SELECT * FROM 表名 WHERE 1=1 ${IF(参数名)==0,""," and (case when a is null then '' else a end) in ('"+REPLACE(参数名,"空","''")+"')"}