比如我想查多个款号的数据,每个款号中间用逗号隔开,sql代码要怎么设置?
原理参考,一模一样用法;
————————————————
文本域控件实现多值查询-https://help.fanruan.com/finereport/doc-view-3735.html
where 1=1
if(len(org_co)=0,"","and ou_code in ('"+SUBSTITUTE(org_co,",","','")+"')"),1,1)