![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis_plus
hlvy
这个作者很懒,什么都没留下…
展开
-
springboot项目 mybatis_plus自动生成entity service controller mapper mapper.xml
github地址:https://github.com/heng1234/mybatis_pluspackage com.hlvy.mybatis_plus.generator;import com.baomidou.mybatisplus.annotation.DbType;import com.baomidou.mybatisplus.core.exceptions.Mybatis...原创 2019-04-17 11:18:11 · 1079 阅读 · 0 评论 -
mybatis逻辑删除
github地址https://github.com/heng1234/mybatis_pluspom.xml<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSche...原创 2019-09-13 22:07:04 · 4739 阅读 · 0 评论 -
mybatis-plus公共字段自动填充
github地址https://github.com/heng1234/mybatis_plus需求: 要求insert或者update填充当前时间主要是工具类和实体字段属性加入注解@TableField(fill = FieldFill.UPDATE)//修改时填充@TableField(fill = FieldFill.INSERT)//插入时填充代码实体:...原创 2019-09-14 21:47:53 · 3456 阅读 · 2 评论 -
mybatis plus 乐观锁
github地址https://github.com/heng1234/mybatis_plus基于https://blog.csdn.net/qq_39313596/article/details/100836664文章在MybatisPlusConfig 加入乐观锁插件/** * 乐观锁插件 * @return */ @Bean ...原创 2019-09-15 19:46:04 · 558 阅读 · 0 评论 -
mybatis plus sql性能分析插件
github地址https://github.com/heng1234/mybatis_plus基于https://blog.csdn.net/qq_39313596/article/details/100862049文章建议性能分析插件只在开发环境和测试环境开启 有性能损耗在MybatisPlusConfig 加入sql性能分析插件一、 mybatis-plus自带的...原创 2019-09-16 21:10:11 · 5501 阅读 · 0 评论 -
mybatis plus 多租户 SQL 解析器
github地址https://github.com/heng1234/mybatis_plus基于https://blog.csdn.net/qq_39313596/article/details/100901642文章使用场景 一个系统多个不同用户查询不同用户的数据manager_id用于作为多租户id查询在MybatisPlusConfig加入多租户解...原创 2019-09-17 23:10:10 · 9593 阅读 · 1 评论 -
mybatis plus 动态表名 SQL 解析器
github地址https://github.com/heng1234/mybatis_plus基于https://blog.csdn.net/qq_39313596/article/details/100943090文章需求如果多张表比如说 user user_a user_b 里面的字段一样的表名不一样需求需要动态表名替换查询那么sql解析器就祈祷作用了在MybatisP...原创 2019-09-18 22:42:43 · 8596 阅读 · 9 评论 -
mybatis plus SQL注入器 及 InsertBatchSomeColumn LogicDeleteByIdWithFill AlwaysUpdateSomeColumnById装载器
github地址https://github.com/heng1234/mybatis_plus基于https://blog.csdn.net/qq_39313596/article/details/100943090文章参考官方文章https://gitee.com/baomidou/mybatis-plus-samples/tree/master/mybatis-plus-sampl...原创 2019-09-19 23:30:41 · 9014 阅读 · 5 评论