File tree Expand file tree Collapse file tree 9 files changed +23
-7
lines changed
springboot-starter-data-authorization
springboot-starter-data-fast
src/main/java/com/codingapi/springboot/flow
springboot-starter-security
src/main/resources/META-INF Expand file tree Collapse file tree 9 files changed +23
-7
lines changed Original file line number Diff line number Diff line change 1515
1616 <groupId >com.codingapi.springboot</groupId >
1717 <artifactId >springboot-parent</artifactId >
18- <version >2.10.14 </version >
18+ <version >2.10.15 </version >
1919
2020 <url >https://github.com/codingapi/springboot-framewrok</url >
2121 <name >springboot-parent</name >
Original file line number Diff line number Diff line change 66 <parent >
77 <artifactId >springboot-parent</artifactId >
88 <groupId >com.codingapi.springboot</groupId >
9- <version >2.10.14 </version >
9+ <version >2.10.15 </version >
1010 </parent >
1111
1212 <name >springboot-starter-data-authorization</name >
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >springboot-parent</artifactId >
77 <groupId >com.codingapi.springboot</groupId >
8- <version >2.10.14 </version >
8+ <version >2.10.15 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
Original file line number Diff line number Diff line change 66 <parent >
77 <artifactId >springboot-parent</artifactId >
88 <groupId >com.codingapi.springboot</groupId >
9- <version >2.10.14 </version >
9+ <version >2.10.15 </version >
1010 </parent >
1111
1212 <name >springboot-starter-flow</name >
Original file line number Diff line number Diff line change @@ -183,8 +183,20 @@ public MessageResult rejectFlow() {
183183 return MessageResult .create (result );
184184 }
185185
186+ /**
187+ * 停止流程
188+ */
189+ public void stopFlow () {
190+ if (flowRecord == null ) {
191+ throw new IllegalArgumentException ("flow record is null" );
192+ }
193+ FlowService flowService = loadFlowService ();
194+ flowService .stop (flowRecord .getId (), currentOperator );
195+ }
196+
186197 /**
187198 * 上级节点的状态是驳回状态
199+ *
188200 * @return 上级节点的状态是驳回状态
189201 */
190202 public boolean backStateIsReject () {
Original file line number Diff line number Diff line change @@ -89,6 +89,10 @@ public boolean isTodo() {
8989 return state == STATE_TODO ;
9090 }
9191
92+ public boolean isStop () {
93+ return state == STATE_STOP ;
94+ }
95+
9296 public boolean isSave () {
9397 return state == STATE_SAVE ;
9498 }
Original file line number Diff line number Diff line change 66 <parent >
77 <artifactId >springboot-parent</artifactId >
88 <groupId >com.codingapi.springboot</groupId >
9- <version >2.10.14 </version >
9+ <version >2.10.15 </version >
1010 </parent >
1111
1212 <artifactId >springboot-starter-security</artifactId >
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >com.codingapi.springboot</groupId >
77 <artifactId >springboot-parent</artifactId >
8- <version >2.10.14 </version >
8+ <version >2.10.15 </version >
99 </parent >
1010 <artifactId >springboot-starter</artifactId >
1111
Original file line number Diff line number Diff line change 11------------------------------------------------------
2- CodingApi SpringBoot-Starter 2.10.14
2+ CodingApi SpringBoot-Starter 2.10.15
33springboot version (${spring-boot.version})
44------------------------------------------------------
You can’t perform that action at this time.
0 commit comments