Skip to content

Commit 9e2a68e

Browse files
committed
update wiki
1 parent 3760c55 commit 9e2a68e

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

docs/wiki/springboot-starter.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,18 @@ public class DemoChangeLogHandler implements IHandler<DemoChangeEvent> {
124124
1. domain对象创建时的监听
125125
2. domain对象中的字段值发生改变时的监听
126126

127+
同时框架提供IDomain接口,该接口提供了domain对象的持久化方法与删除方法:
128+
129+
1. persist():持久化方法,该方法会触发domain对象的持久化事件
130+
2. delete():删除方法,该方法会触发domain对象的删除事件
131+
132+
127133
实例domain如下:
128134
```java
129135

130136
import lombok.Getter;
131137

132-
public class Demo {
138+
public class Demo implements IDomain {
133139

134140
@Getter
135141
private final long id;

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<groupId>com.codingapi.springboot</groupId>
1414
<artifactId>springboot-parent</artifactId>
15-
<version>2.1.1</version>
15+
<version>2.1.2</version>
1616

1717
<url>https://github.com/codingapi/springboot-framewrok</url>
1818
<name>springboot-parent</name>

springboot-starter-data-fast/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>springboot-parent</artifactId>
77
<groupId>com.codingapi.springboot</groupId>
8-
<version>2.1.1</version>
8+
<version>2.1.2</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

springboot-starter-id-generator/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>springboot-parent</artifactId>
77
<groupId>com.codingapi.springboot</groupId>
8-
<version>2.1.1</version>
8+
<version>2.1.2</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

springboot-starter-security-jwt/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<artifactId>springboot-parent</artifactId>
88
<groupId>com.codingapi.springboot</groupId>
9-
<version>2.1.1</version>
9+
<version>2.1.2</version>
1010
</parent>
1111

1212
<artifactId>springboot-starter-security-jwt</artifactId>

springboot-starter/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.codingapi.springboot</groupId>
77
<artifactId>springboot-parent</artifactId>
8-
<version>2.1.1</version>
8+
<version>2.1.2</version>
99
</parent>
1010
<artifactId>springboot-starter</artifactId>
1111

0 commit comments

Comments
 (0)