Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
634f2036
Commit
634f2036
authored
Mar 08, 2024
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(JG):撤回添加状态校验
parent
2f0d62f1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
JgInstallationNoticeServiceImpl.java
.../jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
+1
-1
JgMaintainNoticeServiceImpl.java
...dule/jg/biz/service/impl/JgMaintainNoticeServiceImpl.java
+1
-1
JgReformNoticeServiceImpl.java
...module/jg/biz/service/impl/JgReformNoticeServiceImpl.java
+1
-1
JgTransferNoticeServiceImpl.java
...dule/jg/biz/service/impl/JgTransferNoticeServiceImpl.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
View file @
634f2036
...
...
@@ -783,7 +783,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
String
expectedStatus
=
String
.
valueOf
(
FlowStatusEnum
.
TO_BE_PROCESSED
.
getCode
());
// 检查实际状态是否不等于期望状态
if
(!
expectedStatus
.
equals
(
jgInstallationNotice
.
getNoticeStatus
()))
{
throw
new
BadRequest
(
"当前业务状态不是待处理状态,请
刷新页面后重试
操作!"
);
throw
new
BadRequest
(
"当前业务状态不是待处理状态,请
重新打开页面后
操作!"
);
}
ProcessTaskDTO
processTaskDTO
=
iCmWorkflowService
.
rollBack
(
jgInstallationNotice
.
getInstanceId
());
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgMaintainNoticeServiceImpl.java
View file @
634f2036
...
...
@@ -679,7 +679,7 @@ public class JgMaintainNoticeServiceImpl extends BaseService<JgMaintainNoticeDto
String
expectedStatus
=
String
.
valueOf
(
FlowStatusEnum
.
TO_BE_PROCESSED
.
getCode
());
// 检查实际状态是否不等于期望状态
if
(!
expectedStatus
.
equals
(
jgMaintainNotice
.
getNoticeStatus
()))
{
throw
new
BadRequest
(
"当前业务状态不是待处理状态,请
刷新页面后重试
操作!"
);
throw
new
BadRequest
(
"当前业务状态不是待处理状态,请
重新打开页面后
操作!"
);
}
ProcessTaskDTO
processTaskDTO
=
cmWorkflowService
.
rollBack
(
jgMaintainNotice
.
getInstanceId
());
// 提取节点等信息
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgReformNoticeServiceImpl.java
View file @
634f2036
...
...
@@ -642,7 +642,7 @@ public class JgReformNoticeServiceImpl extends BaseService<JgReformNoticeDto, Jg
String
expectedStatus
=
String
.
valueOf
(
FlowStatusEnum
.
TO_BE_PROCESSED
.
getCode
());
// 检查实际状态是否不等于期望状态
if
(!
expectedStatus
.
equals
(
notice
.
getNoticeStatus
()))
{
throw
new
BadRequest
(
"当前业务状态不是待处理状态,请
刷新页面后重试
操作!"
);
throw
new
BadRequest
(
"当前业务状态不是待处理状态,请
重新打开页面后
操作!"
);
}
// 回滚工作流
ProcessTaskDTO
processTaskDTO
=
cmWorkflowService
.
rollBack
(
noticeDto
.
getInstanceId
());
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgTransferNoticeServiceImpl.java
View file @
634f2036
...
...
@@ -616,7 +616,7 @@ public class JgTransferNoticeServiceImpl extends BaseService<JgTransferNoticeDto
String
expectedStatus
=
String
.
valueOf
(
FlowStatusEnum
.
TO_BE_PROCESSED
.
getCode
());
// 检查实际状态是否不等于期望状态
if
(!
expectedStatus
.
equals
(
jgInstallationNotice
.
getNoticeStatus
()))
{
throw
new
BadRequest
(
"当前业务状态不是待处理状态,请
刷新页面后重试
操作!"
);
throw
new
BadRequest
(
"当前业务状态不是待处理状态,请
重新打开页面后
操作!"
);
}
ProcessTaskDTO
processTaskDTO
=
iCmWorkflowService
.
rollBack
(
jgInstallationNotice
.
getInstanceId
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment