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
69dc7a6e
Commit
69dc7a6e
authored
Jan 17, 2024
by
刘凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化:移装变更 撤回后是否可编辑的逻辑
parent
a1a5a27b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
JgChangeRegistrationTransferServiceImpl.java
...service/impl/JgChangeRegistrationTransferServiceImpl.java
+16
-0
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/JgChangeRegistrationTransferServiceImpl.java
View file @
69dc7a6e
...
@@ -415,6 +415,8 @@ public class JgChangeRegistrationTransferServiceImpl extends BaseService<JgChang
...
@@ -415,6 +415,8 @@ public class JgChangeRegistrationTransferServiceImpl extends BaseService<JgChang
jsonObject
.
put
(
"nextTaskId"
,
jgTransfer
.
getNextTaskId
());
jsonObject
.
put
(
"nextTaskId"
,
jgTransfer
.
getNextTaskId
());
jsonObject
.
put
(
"nextExecuteUser"
,
jgTransfer
.
getNextExecutorIds
());
jsonObject
.
put
(
"nextExecuteUser"
,
jgTransfer
.
getNextExecutorIds
());
jsonObject
.
put
(
"taskType"
,
BusinessTypeEnum
.
JG_CHANGE_REGISTRATION
.
getCode
());
jsonObject
.
put
(
"taskType"
,
BusinessTypeEnum
.
JG_CHANGE_REGISTRATION
.
getCode
());
// 判断撤回后当前的节点,如果当前节点为提交节点则页面可编辑
jsonObject
.
put
(
"pageType"
,
this
.
getPageTypeByCurrentNode
(
jgTransfer
.
getAuditStatus
()));
commonService
.
rollbackTask
(
instanceId
,
jsonObject
);
commonService
.
rollbackTask
(
instanceId
,
jsonObject
);
}
}
...
@@ -1118,4 +1120,17 @@ public class JgChangeRegistrationTransferServiceImpl extends BaseService<JgChang
...
@@ -1118,4 +1120,17 @@ public class JgChangeRegistrationTransferServiceImpl extends BaseService<JgChang
}
}
return
code
==
null
?
contract
.
getReceiveOrgCode
()
:
code
;
return
code
==
null
?
contract
.
getReceiveOrgCode
()
:
code
;
}
}
private
String
getPageTypeByCurrentNode
(
String
auditStatus
)
{
if
(
WorkFlowStatusEnum
.
TRANSFER_SUBMIT
.
getPass
().
equals
(
auditStatus
)
||
WorkFlowStatusEnum
.
TRANSFER_SUBMIT
.
getReject
().
equals
(
auditStatus
)
||
WorkFlowStatusEnum
.
TRANSFER_SUBMIT
.
getRollBack
().
equals
(
auditStatus
)
){
// urlInfo.json 文件的 pageType
return
"edit"
;
}
else
{
// urlInfo.json 文件的 pageType
return
"look"
;
}
}
}
}
\ No newline at end of file
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