![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
人月IT
深挖问题与动手实践-完成率比完成度更重要
展开
-
Mybatis的动态拼接条件
官网的例子永远是最好的,切记切记!! 拼接条件 <sql id="select_asset_where"> <if test="accountType != null and accountType.size != 0" > and <foreach collection="accountType" item="param"原创 2017-11-28 14:40:42 · 3136 阅读 · 0 评论 -
mybatis + spring boot + yml 配置,告别XML
1第一步配置yml文件 2第二部配置Spring boot启动类 3—spring-boot+mybatis动态sql http://blog.csdn.net/zhugeyangyang1994/article/details/52045924原创 2017-12-08 10:38:10 · 16550 阅读 · 2 评论 -
Mybatis分页插件pagehelper的使用
@Configuration public class MybatisConfig { @Bean public PageHelper pageHelper() { PageHelper pageHelper = new PageHelper(); Properties properties = new Properties(); p...原创 2018-03-22 17:26:21 · 1141 阅读 · 0 评论