select * from 表 where instr(','||判断的字段||',',',指定的值,')>0 mybatis : select * from 表 where instr(','||判断的字段||',',concat(concat(',', #{userId}), ',')) >0 Read More
posted @ 2019-11-22 13:34 苹果也是梨 Views(5515) Comments(0) Diggs(0)