请问 where 条件是OR的形式 怎么写啊
例如:
where 1 = 1
AND (字段A = 参数 or 字段B = 参数) --参数为空时取全部
${if(len(参数)=0,""," and (字段A ='"+参数+"' or 字段B='"+参数+"')")}
where 1=1
${if(len(参数a)=0,"","and 字段a='"+参数a+"' or 字段b='"+参数a+"'")}