- 链接地址:https://blog.csdn.net/jinjiankang/article/details/117303230
- 链接标题:MyBatis-Plus 使用 Wrapper 自定义SQL_mybatis plus自定义查询使用wrapper-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:4675
文章浏览阅读1.6k次。MyBatis-Plus 版本要求需要mybatis-plus版本 >= 3.0.7用注解@Select("select * from some_entity ${ew.customSqlSegment}")List<SomeEntity> getAll(@Param(Constants.WRAPPER) Wrapper wrapper);以下用法无效,即不能传入多个Wrapper:@Select("select * from some_entity ${ew.customS_mybatis plus自定义查询使用wrapper
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除