mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
!555 update docs/zh/core/id.md.
Merge pull request !555 from 励志理智离职/N/A
This commit is contained in:
commit
3967aac363
@ -132,7 +132,9 @@ public class UUIDKeyGenerator implements IKeyGenerator {
|
||||
第 2 步:注册 UUIDKeyGenerator
|
||||
|
||||
```java
|
||||
static {
|
||||
KeyGeneratorFactory.register("myUUID", new UUIDKeyGenerator());
|
||||
}
|
||||
```
|
||||
|
||||
第 3 步:在 Entity 里使用 "myUUID" 生成器:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user