摘要:
前言 当数据库里存储的值是以逗号分隔格式存储的字符串时。 数据格式如下: idname ids 1 张三 a,b,c 2 李四 c,d,e 我们拿到的条件参数是:b,e 1.后台通过逗号分隔数组,生成查询语句 select * from table where ids in (’b’,’e’) 2. 阅读全文
posted @ 2020-11-13 18:48
testgogogo
阅读(1672)
评论(0)
推荐(0)
浙公网安备 33010602011771号