mybatis-plus

dependabot[bot] 7f30f30f45 Bump org.aspectj:aspectjweaver from 1.9.22 to 1.9.22.1 (#6161) il y a 1 an
.gitee 10947e36fa md il y a 5 ans
.github 8c8f5de5cd Update issue templates il y a 1 an
gradle 2fd7e05988 upgrading to Gradle 8.4. il y a 1 an
libs 0a9f40ab33 清理无用依赖. il y a 1 an
mybatis-plus 321f9e515f 更新license. il y a 1 an
mybatis-plus-annotation 321f9e515f 更新license. il y a 1 an
mybatis-plus-bom e7e358fbe3 Bump io.spring.gradle:dependency-management-plugin from 1.1.3 to 1.1.5 (#6136) il y a 1 an
mybatis-plus-core 460a739c8d 修复编译报错. il y a 1 an
mybatis-plus-extension ec6c286704 Fix no such table: ddl_history in sqlite (#6153) il y a 1 an
mybatis-plus-generator c7fafbae43 修复达梦数据库代码生成. il y a 1 an
spring-boot-starter 321f9e515f 更新license. il y a 1 an
.editorconfig 5ae96cbb64 统一缩进风格 il y a 7 ans
.gitignore e802a90e3c gitignore il y a 4 ans
CHANGELOG.md d991dfe239 发布3.5.6. il y a 1 an
LICENSE 1fb2327ced change license il y a 1 an
MPCodeStyle.xml 328e476728 使用IDEA贡献代码的同学,使用该文件统一代码风格 il y a 8 ans
README-zh.md 8922528996 调整特别用户地址 il y a 1 an
README.md 8922528996 调整特别用户地址 il y a 1 an
build.gradle 7f30f30f45 Bump org.aspectj:aspectjweaver from 1.9.22 to 1.9.22.1 (#6161) il y a 1 an
changelog-temp.md 0a9f40ab33 清理无用依赖. il y a 1 an
gradle.properties 7847987d59 更新快照. il y a 1 an
gradlew 2cbef3e010 升级 gradle 7.1 il y a 3 ans
gradlew.bat 2cbef3e010 升级 gradle 7.1 il y a 3 ans
license.txt 321f9e515f 更新license. il y a 1 an
settings.gradle 9f7ab1bc7e Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.23 to 1.9.24 (#6143) il y a 1 an

README-zh.md

Mybatis-Plus-Logo

为简化开发工作、提高生产率而生

maven code style

企业版 Mybatis-Mate 高级特性

简介 | Intro

Mybatis 增强工具包 - 只做增强不做改变,简化CRUD操作

添加 微信 wx153666 备注进 mp 群

不允许非法项目使用,后果自负

特别用户

AiZuDa-Logo Mybatis-Plus-Logo Crmeb-Logo

依赖引用

  • Latest Version: Maven Central

    • Maven:
    • SpringBoot2

      <dependency>
        <groupId>com.baomidou</groupId>
        <artifactId>mybatis-plus-boot-starter</artifactId>
        <version>Latest Version</version>
      </dependency>
      
      • SpringBoot3 xml <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-spring-boot3-starter</artifactId> <version>Latest Version</version> </dependency>
    • Gradle

    • SpringBoot2

      compile group: 'com.baomidou', name: 'mybatis-plus-boot-starter', version: 'Latest Version'
      
      • SpringBoot3 groovy compile group: 'com.baomidou', name: 'mybatis-plus-spring-boot3-starter', version: 'Latest Version'

优点 | Advantages

  • 无侵入:Mybatis-Plus 在 Mybatis 的基础上进行扩展,只做增强不做改变,引入 Mybatis-Plus 不会对您现有的 Mybatis 构架产生任何影响,而且 MP 支持所有 Mybatis 原生的特性
  • 依赖少:仅仅依赖 Mybatis 以及 Mybatis-Spring
  • 损耗小:启动即会自动注入基本CURD,性能基本无损耗,直接面向对象操作
  • 通用CRUD操作:内置通用 Mapper、通用 Service,仅仅通过少量配置即可实现单表大部分 CRUD 操作,更有强大的条件构造器,满足各类使用需求
  • 多种主键策略:支持多达4种主键策略(内含分布式唯一ID生成器),可自由配置,完美解决主键问题
  • 支持ActiveRecord:支持 ActiveRecord 形式调用,实体类只需继承 Model 类即可实现基本 CRUD 操作
  • 支持代码生成:采用代码或者 Maven 插件可快速生成 Mapper 、 Model 、 Service 、 Controller 层代码,支持模板引擎,更有超多自定义配置等您来使用(P.S. 比 Mybatis 官方的 Generator 更加强大!)
  • 支持自定义全局通用操作:支持全局通用方法注入( Write once, use anywhere )
  • 内置分页插件:基于Mybatis物理分页,开发者无需关心具体操作,配置好插件之后,写分页等同于写基本List查询
  • 内置性能分析插件:可输出Sql语句以及其执行时间,建议开发测试时启用该功能,能有效解决慢查询
  • 内置全局拦截插件:提供全表 delete 、 update 操作智能分析阻断,预防误操作

相关链接 | Links

原理 | Principle

Mybatis-Plus 实践及架构原理

应用实例 | Demo

Spring-MVC

Spring-Boot

SSM-实战 Demo

其他开源项目 | Other Project

王者荣耀

MPTrophy

期望 | Futures

欢迎提出更好的意见,帮助完善 Mybatis-Plus

版权 | License

Apache License 2.0

捐赠 mybatis-plus

关注我 | About Me

程序员日记