https://github.com/gouyiba/mybatis-max
Mybatis-Max is an automatic injection SQL toolkit based on Mybatis.
https://github.com/gouyiba/mybatis-max
curd mybatis mybatis-max orm sql toolkit
Last synced: 5 months ago
JSON representation
Mybatis-Max is an automatic injection SQL toolkit based on Mybatis.
- Host: GitHub
- URL: https://github.com/gouyiba/mybatis-max
- Owner: gouyiba
- Created: 2020-06-26T09:01:52.000Z (almost 6 years ago)
- Default Branch: develop-v1.0.3
- Last Pushed: 2023-12-05T22:27:36.000Z (over 2 years ago)
- Last Synced: 2025-08-04T15:57:56.238Z (11 months ago)
- Topics: curd, mybatis, mybatis-max, orm, sql, toolkit
- Language: Java
- Homepage: https://github.com/gouyiba/mybatis-max
- Size: 596 KB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## MyBatis-Max
[](https://search.maven.org/artifact/cloud.gouyiba/mybatis-max/)
[](https://github.com/gouyiba/mybatis-max/releases)
[](https://www.apache.org/licenses/LICENSE-2.0.html)
[](https://gitpod.io/#https://github.com/gouyiba/mybatis-max)
[](https://github.com/gouyiba/mybatis-max/issues)
## What is MyBatis-Max?
Mybatis Max is to simplify and solve the tedious development work of the data layer based on Mybatis, greatly improve the development efficiency, and enable developers to focus on the implementation of the Service business, and do not need to spend too much energy on the development of the data layer.
## Get Step
- Add MyBatis-Max dependency
- Maven:
```xml
cloud.gouyiba
mybatis-max-boot-starter
1.0.5-RELEASE
```
- Gradle:
``` groovy
compile group: 'cloud.gouyiba', name: 'mybatis-max-boot-starter', version: '1.0.5-RELEASE'
```
- Modify mapper file(extends BaseMapper interface)
```java
public interface AccountMapper extends BaseMapper {
}
```
- Use it
- Example Code:
```java
@Resource
private AccountMapper accountMapper;
public void getMybatisMaxFunction() {
accountMapper.selectById();
accountMapper.selectOne();
accountMapper.insert();
accountMapper.update();
accountMapper.updateById();
accountMapper.delete();
// accountMapper.method()......
}
```
- All the injection methods provided in BaseMapper are accessible through an AccountMapper agent instance
## Dependency
Please see this [China Maven Download Page] for more repository infos.
## Welcome
We invite interested people to join our gouyiba development team communicate together and let us know by sending an issue.
### *License*
MyBatis-Max is released under the [Apache 2.0 license](license.txt).