目录
- 1、数组为入参
- 2、List为入参
- 3、Mybatis-plus条件构造器为入参
- 参考文章
在MySQL中使用in查询
1、数组为入参
Mapper
Mapper.xml
Test
日志中输出的SQL
2、List为入参
Mapper
Mapper.xml
Test
日志中输出的SQL
3、Mybatis-plus条件构造器为入参
Mapper
Mapper.xml
Test
日志中输出的SQL
参考文章
1、 https://mouday.github.io/coding-tree/mybatis-plus/1-MyBatis-Plus.html#自定义-sql 2、Mybatis中使用in()查询