File tree 14 files changed +36
-17
lines changed
springboot-starter-data-authorization
springboot-starter-data-fast
src/main/java/com/codingapi/springboot/flow/content
springboot-starter-security
14 files changed +36
-17
lines changed Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >springboot-example</artifactId >
7
7
<groupId >com.codingapi.springboot</groupId >
8
- <version >3.3.53 </version >
8
+ <version >3.3.54 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >springboot-example</artifactId >
7
7
<groupId >com.codingapi.springboot</groupId >
8
- <version >3.3.53 </version >
8
+ <version >3.3.54 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >springboot-example</artifactId >
7
7
<groupId >com.codingapi.springboot</groupId >
8
- <version >3.3.53 </version >
8
+ <version >3.3.54 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >springboot-example</artifactId >
7
7
<groupId >com.codingapi.springboot</groupId >
8
- <version >3.3.53 </version >
8
+ <version >3.3.54 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >springboot-example</artifactId >
7
7
<groupId >com.codingapi.springboot</groupId >
8
- <version >3.3.53 </version >
8
+ <version >3.3.54 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change 17
17
</parent >
18
18
19
19
<artifactId >springboot-example</artifactId >
20
- <version >3.3.53 </version >
20
+ <version >3.3.54 </version >
21
21
22
22
<name >springboot-example</name >
23
23
<description >springboot-example project for Spring Boot</description >
Original file line number Diff line number Diff line change 15
15
16
16
<groupId >com.codingapi.springboot</groupId >
17
17
<artifactId >springboot-parent</artifactId >
18
- <version >3.3.53 </version >
18
+ <version >3.3.54 </version >
19
19
20
20
<url >https://github.com/codingapi/springboot-framewrok</url >
21
21
<name >springboot-parent</name >
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.codingapi.springboot</groupId >
8
8
<artifactId >springboot-parent</artifactId >
9
- <version >3.3.53 </version >
9
+ <version >3.3.54 </version >
10
10
</parent >
11
11
12
12
<artifactId >springboot-starter-data-authorization</artifactId >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >springboot-parent</artifactId >
7
7
<groupId >com.codingapi.springboot</groupId >
8
- <version >3.3.53 </version >
8
+ <version >3.3.54 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<artifactId >springboot-parent</artifactId >
8
8
<groupId >com.codingapi.springboot</groupId >
9
- <version >3.3.53 </version >
9
+ <version >3.3.54 </version >
10
10
</parent >
11
11
12
12
<name >springboot-starter-flow</name >
Original file line number Diff line number Diff line change @@ -184,11 +184,10 @@ public MessageResult rejectFlow() {
184
184
}
185
185
186
186
/**
187
- * 是否为驳回状态
188
- *
189
- * @return 是否为驳回状态
187
+ * 上级节点的状态是驳回状态
188
+ * @return 上级节点的状态是驳回状态
190
189
*/
191
- public boolean isRejectState () {
190
+ public boolean backStateIsReject () {
192
191
if (flowRecord == null ) {
193
192
return false ;
194
193
}
@@ -204,6 +203,26 @@ public boolean isRejectState() {
204
203
return false ;
205
204
}
206
205
206
+ /**
207
+ * 是否来自驳回状态
208
+ *
209
+ * @see #backStateIsReject()
210
+ */
211
+ @ Deprecated
212
+ public boolean isRejectState () {
213
+ return this .backStateIsReject ();
214
+ }
215
+
216
+ /**
217
+ * 当前节点的状态是驳回状态
218
+ */
219
+ public boolean currentStateIsReject () {
220
+ if (flowRecord != null ) {
221
+ return flowRecord .getFlowSourceDirection () == FlowSourceDirection .REJECT ;
222
+ }
223
+ return false ;
224
+ }
225
+
207
226
208
227
/**
209
228
* 预提交流程
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<artifactId >springboot-parent</artifactId >
8
8
<groupId >com.codingapi.springboot</groupId >
9
- <version >3.3.53 </version >
9
+ <version >3.3.54 </version >
10
10
</parent >
11
11
12
12
<artifactId >springboot-starter-security</artifactId >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >com.codingapi.springboot</groupId >
7
7
<artifactId >springboot-parent</artifactId >
8
- <version >3.3.53 </version >
8
+ <version >3.3.54 </version >
9
9
</parent >
10
10
<artifactId >springboot-starter</artifactId >
11
11
Original file line number Diff line number Diff line change 1
1
------------------------------------------------------
2
- CodingApi SpringBoot-Starter 3.3.53
2
+ CodingApi SpringBoot-Starter 3.3.54
3
3
springboot version (${spring-boot.version})
4
4
------------------------------------------------------
You can’t perform that action at this time.
0 commit comments