<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>
## 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://mybatis.plus)
- [Samples](https://github.com/baomidou/mybatis-plus-samples.git)
- [Showcase](https://github.com/baomidou/awosome-mybaits-plus)
## 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
- Maven:
```xml
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.1.2</version>
</dependency>
```
- Gradle
```groovy
compile group: 'com.baomidou', name: 'mybatis-plus-boot-starter', version: '3.1.2'
```
- 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://mybatis.plus).
## 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-plus-3.0.rar
共509个文件
java:424个
xml:17个
gradle:9个
需积分: 12 7 下载量 7 浏览量
2019-10-15
21:21:28
上传
评论
收藏 4.44MB RAR 举报
温馨提示
mybatisplus源码,mybatisplus是mybatis的升级版,改进了很多
资源推荐
资源详情
资源评论
收起资源包目录
mybatis-plus-3.0.rar (509个子文件)
gradlew.bat 3KB
entity.java.btl 4KB
entity.kt.btl 3KB
mapper.xml.btl 1KB
controller.java.btl 1KB
serviceImpl.java.btl 665B
service.java.btl 385B
mapper.java.btl 383B
example.db 10KB
.editorconfig 146B
spring.factories 152B
entity2.java.ftl 4KB
entity.java.ftl 4KB
entity.kt.ftl 3KB
mapper.xml.ftl 1KB
controller.java.ftl 951B
serviceImpl.java.ftl 654B
service.java.ftl 374B
mapper.java.ftl 372B
dto.java.ftl 299B
.gitignore 241B
build.gradle 10KB
build.gradle 1KB
build.gradle 959B
build.gradle 850B
build.gradle 826B
build.gradle 541B
build.gradle 522B
settings.gradle 253B
build.gradle 40B
gradlew 6KB
mybatis-plus-3.0.iml 504B
ojdbc-11.2.0.3-jdk16.jar 2.59MB
jdbcDriver-18.jar 1.34MB
gradle-wrapper.jar 54KB
MybatisMapperAnnotationBuilder.java 30KB
ConfigBuilder.java 29KB
MybatisSqlSessionFactoryBean.java 27KB
StringUtils.java 27KB
MybatisXMLConfigBuilder.java 21KB
TableNameParserTest.java 20KB
TableInfoHelper.java 17KB
BaseDbTest.java 16KB
TableFieldInfo.java 16KB
IllegalSQLInterceptor.java 15KB
IOUtils.java 15KB
MybatisPlusAutoConfiguration.java 15KB
AbstractWrapper.java 15KB
MysqlTestDataMapperTest.java 15KB
AbstractMethod.java 14KB
H2UserTest.java 14KB
AbstractTemplateEngine.java 13KB
TableInfo.java 12KB
IService.java 12KB
TenantSqlParser.java 11KB
PaginationInterceptor.java 11KB
OptimisticLockerInterceptor.java 11KB
MybatisDefaultParameterHandler.java 10KB
ServiceImpl.java 10KB
MybatisMapperMethod.java 10KB
PostgresTestDataMapperTest.java 10KB
TableNameParser.java 10KB
StrategyConfig.java 9KB
ReflectionKit.java 9KB
MysqlGenerator.java 9KB
WrapperTest.java 9KB
H2UserMapperTest.java 8KB
Model.java 8KB
AbstractChainWrapper.java 8KB
Page.java 8KB
Func.java 7KB
MybatisBatchExecutor.java 7KB
MetaObjectHandler.java 7KB
PostgreSQLGenerator.java 7KB
SqlRunner.java 7KB
SQLServerGenerator.java 7KB
MybatisCachingExecutor.java 7KB
Compare.java 7KB
ActiveRecordTest.java 7KB
BaseMapper.java 7KB
MybatisPlusConfig.java 7KB
AutoGenerator.java 6KB
Sequence.java 6KB
MybatisPlusConfig.java 6KB
SqlRunnerInjector.java 6KB
MybatisEnumTypeHandlerTest.java 6KB
Wrappers.java 6KB
MybatisConfigurationTest.java 6KB
JsqlParserCountOptimize.java 6KB
DataSourceConfig.java 6KB
MybatisMapperAnnotationBuilderTest.java 6KB
DMGenerator.java 6KB
SelectCountDistinctTest.java 6KB
MybatisConfiguration.java 6KB
Assert.java 5KB
SqlScriptUtils.java 5KB
MybatisMapperMethodTest.java 5KB
TableInfo.java 5KB
InsertBatchSomeColumn.java 5KB
DialectModel.java 5KB
共 509 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
哇呜哦~~
- 粉丝: 49
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- SRS-CentOS7-x86-64-5.0-r1.zip
- 全文检索使用ElasticSearch实现全文检索的详细说明和实践探索
- 基于matlab主成分分析图像压缩重建系统代码14
- C语言《基于AT89C52单片机搭建的PID直流电机控制程序,主要用于Proteus电路仿真》+源代码
- C++《基于规划和汽车动力学的自动驾驶项目仿真(基于ROS的自动驾驶项目仿真,使用DWA路径规划算法和双PID控制器)》+源代码
- vos3000客户端2.1.7.03、2.1.8.05、2.1.9.07
- c++《用于船舶控制方法研究的3D船舶运动仿真软件》+源代码
- globalmapper24
- Python 小游戏 (贪吃蛇、五子棋、扫雷、俄罗斯方块)源码.zip
- Map data that can be used for 2D raster map path planning
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功