Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
qmdx committed May 1, 2024
2 parents d570ec7 + cbe21fe commit 273d3bb
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/01.指南/01.快速入门/02.快速开始.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public class Application {

## 编码

编写实体类 `User.java`(此处使用了 [Lombok](https://www.projectlombok.org/) 简化代码)
编写实体类 `User.java`(此处使用了 [Lombok](https://projectlombok.org/) 简化代码)

```java
@Data
Expand Down
10 changes: 9 additions & 1 deletion docs/01.指南/01.快速入门/03.安装.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,15 @@ Maven:
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
```

当使用阿里云仓库无法下载快照时,请在mirrorOf中加上!snapshots.
```
<mirror>
<id>aliyunmaven</id>
<mirrorOf>*,!snapshots</mirrorOf>
<name>阿里云公共仓库</name>
<url>https://maven.aliyun.com/repository/public</url>
</mirror>
```
Gradle:

```groovy
Expand Down
2 changes: 1 addition & 1 deletion docs/01.指南/02.核心功能/02.代码生成器旧.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public class CodeGenerator {
}
```

更多详细配置,请参考[代码生成器配置](../config/generator-config.md)一文。
更多详细配置,请参考[代码生成器配置旧](/pages/061573/)一文。

## 使用教程

Expand Down
2 changes: 1 addition & 1 deletion docs/01.指南/02.核心功能/03.CRUD接口.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ lambdaUpdate().eq(Entity::getId, value).update(entity);
- 通用 CRUD 封装[BaseMapper](https://gitee.com/baomidou/mybatis-plus/blob/3.0/mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/mapper/BaseMapper.java)接口,为 `Mybatis-Plus` 启动时自动解析实体表关系映射转换为 `Mybatis` 内部对象注入容器
- 泛型 `T` 为任意实体对象
- 参数 `Serializable` 为任意类型主键 `Mybatis-Plus` 不推荐使用复合主键约定每一张表都有自己的唯一 `id` 主键
- 对象 `Wrapper`[条件构造器](./wrapper.html)
- 对象 `Wrapper`[条件构造器](/pages/10c804/)
:::

### Insert
Expand Down
2 changes: 1 addition & 1 deletion docs/01.指南/03.扩展/02.通用枚举.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ article: false
解决了繁琐的配置,让 mybatis 优雅的使用枚举属性!
从 3.5.2 版本开始只需完成 `步骤1: 声明通用枚举属性` 即可使用

> ~~`3.1.0`开始,如果你无需使用原生枚举,可配置默认枚举来省略扫描通用枚举配置 [默认枚举配置](../config/#defaultEnumTypeHandler)~~
> ~~`3.1.0`开始,如果你无需使用原生枚举,可配置默认枚举来省略扫描通用枚举配置 [默认枚举配置](/pages/56bac0/#defaultenumtypehandler)~~
>
> - 升级说明:
>
Expand Down

0 comments on commit 273d3bb

Please sign in to comment.