${if(len(code)=0,""," where x.code in ('${TREELAYER(code,true,"\',\'")}')")} 语句报错该怎样修改呢
where 1=1
${if(len(code)=0,"","and x.code in ('"+SUBSTITUTE(code,",","','")+"')")}