在设置模版数据集时,根据sql设置对应的控件查询条件,但是在判断的时候,无法通过,提示语法错误,是什么原因 textEditor0 :单据入参;begindate,enddate:时间入参
${if(len('${textEditor0}')==0 ," and A.BusinessDate BETWEEN '"+${begindate}+"' AND '"+${enddate}+"'","and A.docno='"+${textEditor0}+"'")}
${if(len(textEditor0)==0 ," and A.BusinessDate BETWEEN '"+begindate+"' AND '"+enddate+"'","and A.docno='"+textEditor0+"'")}
========
${}不在需要${}