mybatis中使用in查询问题
摘要:
当mybatis中需要查询in这种sql时候 ,需要使用 foreach 标签使用 分隔符将 in(23,13,233)拼接起来,如下 open="(" separator="," close=")" sql如下:<select id="selectStudentInfoByIds" resultM 阅读全文
posted @ 2021-04-06 20:09 xiaohouye 阅读(467) 评论(0) 推荐(0) 编辑