<p align="center">
<a href="https://github.com/baomidou/mybatis-plus">
<img alt="Mybatis-Plus-Logo" src="https://raw.githubusercontent.com/baomidou/logo/master/mybatis-plus-logo-new-mini.png">
</a>
</p>
<p align="center">
Born To Simplify Development
</p>
<p align="center">
<a href="https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.baomidou%22%20AND%20a%3A%22mybatis-plus%22">
<img alt="maven" src="https://img.shields.io/maven-central/v/com.baomidou/mybatis-plus.svg?style=flat-square">
</a>
<a href="https://www.apache.org/licenses/LICENSE-2.0">
<img alt="code style" src="https://img.shields.io/badge/license-Apache%202-4EB1BA.svg?style=flat-square">
</a>
<a href="https://gitter.im/baomidou/mybatis-plus?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge">
<img alt="Join the chat at https://gitter.im/baomidou/mybatis-plus" src="https://badges.gitter.im/baomidou/mybatis-plus.svg">
</a>
</p>
[企业版 Mybatis-Mate 高级特性](https://gitee.com/baomidou/mybatis-mate-examples)
添加 `微信 wx153666` 备注进 mp 群
# Special user
<p>
<a href="https://www.diboot.com/?from=mp" target="_blank">
<img alt="Mybatis-Plus-Logo" src="https://www.diboot.com/diboot_slogon.png" width="210px" height="75px">
</a>
<a href="http://aizuda.com/?from=mp" target="_blank">
<img alt="Mybatis-Plus-Logo" src="https://baomidou.com/img/aizuda.png" width="210px" height="75px">
</a>
</p>
## What is MyBatis-Plus?
MyBatis-Plus is an powerful enhanced toolkit of MyBatis for simplify development. This toolkit provides some efficient, useful, out-of-the-box features for MyBatis, use it can effectively save your development time.
## Links
- [Documentation](https://baomidou.com)
- [Code Generator](https://github.com/baomidou/generator)
- [Samples](https://github.com/baomidou/mybatis-plus-samples)
- [Showcase](https://github.com/baomidou/awesome-mybatis-plus)
- [企业版 Mybatis-Mate 高级特性](https://gitee.com/baomidou/mybatis-mate-examples)
## Features
- Fully compatible with MyBatis
- Auto configuration on startup
- Out-of-the-box interfaces for operate database
- Powerful and flexible where condition wrapper
- Multiple strategy to generate primary key
- Lambda-style API
- Almighty and highly customizable code generator
- Automatic paging operation
- SQL Inject defense
- Support active record
- Support pluggable custom interface
- Build-in many useful extensions
## Getting started
- Add MyBatis-Plus dependency
- Latest Version: [![Maven Central](https://img.shields.io/maven-central/v/com.baomidou/mybatis-plus.svg)](https://search.maven.org/search?q=g:com.baomidou%20a:mybatis-*)
- Maven:
```xml
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>Latest Version</version>
</dependency>
```
- Gradle
```groovy
compile group: 'com.baomidou', name: 'mybatis-plus-boot-starter', version: 'Latest Version'
```
- Modify mapper file extends BaseMapper interface
```java
public interface UserMapper extends BaseMapper<User> {
}
```
- Use it
``` java
List<User> userList = userMapper.selectList(
new QueryWrapper<User>()
.lambda()
.ge(User::getAge, 18)
);
```
MyBatis-Plus will execute the following SQL
```sql
SELECT * FROM user WHERE age >= 18
```
> This showcase is just a small part of MyBatis-Plus features. If you want to learn more, please refer to the [documentation](https://baomidou.com).
## License
MyBatis-Plus is under the Apache 2.0 license. See the [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0) file for details.
没有合适的资源?快使用搜索试试~ 我知道了~
Mybatis增强工具包(Mybatis plus).rar
共784个文件
java:650个
xml:29个
kt:14个
需积分: 5 1 下载量 126 浏览量
2023-07-08
13:37:31
上传
评论
收藏 9.75MB RAR 举报
温馨提示
一、Mybatis-Plus介绍 Mybatis-plus是Mybatis的增强工具包,其官网的介绍如下: 润物细无声:只做增强不做改变,引入它不会对现有工程产生影响,如丝般顺滑。 效率至上:只需简单配置,即可快速进行单表CRUD操作,从而节省大量时间。 丰富功能:代码生成、自动分页、逻辑删除、自动填充等功能一应俱全。 其优点如下: 无侵入:Mybatis-Plus 在 Mybatis 的基础上进行扩展,只做增强不做改变,引入 Mybatis-Plus 不会对您现有的 Mybatis 构架产生任何影响,而且 MP 支持所有 Mybatis 原生的特性 依赖少:仅仅依赖 Mybatis 以及 Mybatis-Spring 损耗小:启动即会自动注入基本CURD,性能基本无损耗,直接面向对象操作 通用CRUD操作:内置通用 Mapper、通用 Service,仅仅通过少量配置即可实现单表大部分 CRUD 操作,更有强大的条件构造器,满足各类使用需求 多种主键策略:支持多达4种主键策略(内含分布式唯一ID生成器),可自由配置,完美解决主键问题
资源推荐
资源详情
资源评论
收起资源包目录
Mybatis增强工具包(Mybatis plus).rar (784个子文件)
gradlew.bat 3KB
entity.java.btl 4KB
entity.kt.btl 3KB
mapper.xml.btl 1KB
controller.java.btl 1KB
serviceImpl.java.btl 787B
mapper.java.btl 552B
service.java.btl 385B
.editorconfig 146B
entity.java.ej 4KB
entity.kt.ej 3KB
mapper.xml.ej 1KB
controller.java.ej 908B
serviceImpl.java.ej 755B
mapper.java.ej 505B
service.java.ej 368B
spring.factories 910B
spring.factories 438B
entity.java.ftl 4KB
entity1.java.ftl 4KB
entity.kt.ftl 3KB
mapper.xml.ftl 1KB
controller.java.ftl 975B
serviceImpl.java.ftl 758B
mapper.java.ftl 521B
service.java.ftl 374B
dto.java.ftl 299B
vo.java.ftl 232B
.gitignore 255B
build.gradle 11KB
build.gradle 1KB
build.gradle 968B
settings.gradle 851B
build.gradle 757B
build.gradle 726B
build.gradle 426B
build.gradle 319B
build.gradle 53B
gradlew 6KB
com.baomidou.mybatisplus.test.autoconfigure.AutoConfigureMybatisPlus.imports 821B
org.springframework.boot.autoconfigure.AutoConfiguration.imports 226B
ojdbc8.jar 3.98MB
ojdbc-11.2.0.3-jdk16.jar 2.59MB
jdbcDriver-18.jar 1.34MB
kingbase8-8.2.0.jar 786KB
DmJdbcDriver-1.7.0.jar 598KB
gradle-wrapper.jar 58KB
MybatisMapperAnnotationBuilder.java 34KB
DataChangeRecorderInnerInterceptor.java 31KB
MybatisSqlSessionFactoryBean.java 25KB
H2UserTest.java 23KB
AbstractWrapper.java 22KB
TableNameParserTest.java 21KB
Db.java 21KB
TableInfoHelper.java 21KB
TenantLineInnerInterceptorTest.java 21KB
MybatisXMLConfigBuilder.java 20KB
TableFieldInfo.java 20KB
PaginationInnerInterceptor.java 19KB
MybatisPlusAutoConfiguration.java 19KB
StringUtils.java 19KB
Entity.java 18KB
IService.java 18KB
AbstractMethod.java 18KB
TableInfo.java 17KB
BaseMultiTableInnerInterceptor.java 17KB
MySqlKeyWordsHandler.java 16KB
TableInfoTest.java 16KB
MybatisConfiguration.java 16KB
IllegalSQLInnerInterceptor.java 15KB
StrategyConfigTest.java 15KB
AbstractTemplateEngine.java 15KB
DataSourceConfig.java 14KB
StrategyConfig.java 13KB
SimpleQuery.java 13KB
AbstractChainWrapper.java 12KB
OptimisticLockerInnerInterceptor.java 12KB
Func.java 12KB
TableField.java 12KB
MybatisParameterHandler.java 11KB
ServiceImpl.java 11KB
TableFieldTest.java 11KB
SqlHelper.java 11KB
TableNameParser.java 10KB
CacheTest.java 10KB
TableInfo.java 10KB
DbQueryDecorator.java 10KB
DbTest.java 10KB
MybatisMapperMethod.java 9KB
TenantLineInnerInterceptor.java 9KB
H2CodeGeneratorTest.java 9KB
InterceptorIgnoreHelper.java 9KB
QueryWrapperTest.java 9KB
Mapper.java 9KB
H2UserMapperTest.java 9KB
Model.java 9KB
ClassUtils.java 8KB
DatabaseMetaDataWrapper.java 8KB
TableInfoHelperTest.java 8KB
PackageConfig.java 8KB
共 784 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
资源评论
野生的大熊
- 粉丝: 234
- 资源: 246
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功