数据集${if(,"","")},if里想用 参数not in 子查询,怎么写
直接
${if(len(控件名)=0,""," and 字段 not in ('"+控件名+"')")}
=============
${if(len(控件名)=0||find(控件名,sql("数据库连接名","你的SQL语句",1))=0,""," and 字段 not in ('"+控件名+"')")}
SELECT * FROM 表名 where 1=1 ${if(len(控件名)==0,""," AND 字段 NOT IN ('"+控件名+"')")}