做一个0与非0的筛选框,sql里的参数该怎么写
SELECT * FROM TABLE WHERE 1=1 ${if(comboBox0==0," and 字段=0",if(comboBox0==1," and 字段<>0",""))}
where 1=1
${if(控件名=0,"and 字段=0","and 字段!=0")}