select * from lot_sent ls where ls.del_flag=0 and not exists (select * from lot_sent l where l.row_id=ls.Row_ID and ( l.remark like \'%未抛送%\' or l.remark like \'%未能接收%\' ) ) and FPROCTYPE like \%'${工艺段}'%\ order By ls.datecode,ls.fpurorderno
你的sql语句改成这样试试呢,然后返回值字符串那一块还是','这样 你试试吧