这个吗?
超链时一个参数传递多个值-https://help.fanruan.com/finereport/doc-view-4253.html
============
${if(len(lr)==0,"","and substr(code,-1,1) in('"+REPLACE(lr,",","','")+"')" )}