update readme

This commit is contained in:
开源海哥 2023-03-02 10:15:33 +08:00
parent e502f2fe01
commit 3529570ae9
2 changed files with 43 additions and 3 deletions

34
docs/zh/maven.md Normal file
View File

@ -0,0 +1,34 @@
# Maven 安装
> 以下的 xml maven 依赖示例中,可能并非最新的 Mybatis-Flex 版本,请自行查看最新版本,并修改版本号。
1、只用到了 Mybatis没用到 Spring 等框架的场景:
```xml
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-core</artifactId>
<version>1.0.0-beta.1</version>
</dependency>
```
2、用到了 Spring 的场景
```xml
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-spring</artifactId>
<version>1.0.0-beta.1</version>
</dependency>
``````
2、用到了 Spring Boot 的场景
```xml
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-spring-boot-starter</artifactId>
<version>1.0.0-beta.1</version>
</dependency>
```

View File

@ -11,6 +11,12 @@
- 6、极其友好的 SQL 联动查询IDE 自动提示不再担心出错
- 7、更多小惊喜
## 开始
- [Maven 依赖](./docs/zh/maven.md)
- [示例项目](./mybatis-flex-test)
## QQ 群
群号: 532992631
@ -424,8 +430,8 @@ public class Account {
## 更多示例
- 1、[Mybatis-Flex 原生(无其他依赖](./mybatis-flex-test/mybatis-flex-native-test)
- 2、[Mybatis-Flex with Spring](./mybatis-flex-test/mybatis-flex-spring-test)
- 3、[Mybatis-Flex with Spring boot](./mybatis-flex-test/mybatis-flex-spring-boot-test)
- 示例 1[Mybatis-Flex 原生(非 Spring](./mybatis-flex-test/mybatis-flex-native-test)
- 示例 2[Mybatis-Flex with Spring](./mybatis-flex-test/mybatis-flex-spring-test)
- 示例 3[Mybatis-Flex with Spring boot](./mybatis-flex-test/mybatis-flex-spring-boot-test)