itemno 要等于所筛选的几个参数用','拼接起来的值, 类似joinarray的写法怎么操作?
joinarray 不是数据库的函数
改成itemno IN ('"+joinarray(ITEMNO,",")+"')试试
用in的把
XXXand ITEMNO in ('"+repalce(ITEMNO,",","','")+"')")}