天天看点

Mysql 关键字IN传入String数组(FIND_IN_SET(id, ?))

select * from product_attachment where productId=? and FIND_IN_SET(id, ?)
select * from product_attachment where productId=? and !FIND_IN_SET(id, ?)