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
123d2e83
Commit
123d2e83
authored
Apr 19, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):车用气瓶撤回
parent
a2a9bc8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
JgVehicleInformationServiceImpl.java
.../jg/biz/service/impl/JgVehicleInformationServiceImpl.java
+10
-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/JgVehicleInformationServiceImpl.java
View file @
123d2e83
...
...
@@ -375,6 +375,8 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
jsonObject
.
put
(
"flowStatus"
,
this
.
getTaskCodeByName
(
vehicleInfo
.
getStatus
()));
jsonObject
.
put
(
"flowStatusLabel"
,
vehicleInfo
.
getStatus
());
jsonObject
.
put
(
"maintenanceContract"
,
null
);
// 不传合同照片附件信息//TODO
// 判断撤回后当前的节点,如果当前节点为提交节点则页面可编辑
jsonObject
.
put
(
"pageType"
,
this
.
getPageTypeByCurrentNode
(
vehicleInfo
.
getStatus
()));
commonService
.
rollbackTask
(
instanceId
,
jsonObject
);
// redis流程实时数据更新
...
...
@@ -388,6 +390,14 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
}
}
private
String
getPageTypeByCurrentNode
(
String
auditStatus
)
{
if
(
WorkFlowStatusEnum
.
USE_SUBMIT
.
getPass
().
equals
(
auditStatus
)
||
WorkFlowStatusEnum
.
USE_SUBMIT
.
getReject
().
equals
(
auditStatus
)
||
WorkFlowStatusEnum
.
USE_SUBMIT
.
getRollBack
().
equals
(
auditStatus
))
{
return
"edit"
;
}
else
{
return
"look"
;
}
}
public
InstanceRuntimeData
buildInstanceRuntimeData
(
JgVehicleInformation
jgVehicleInformation
)
{
return
InstanceRuntimeData
.
builder
()
.
nextExecuteUserIds
(
jgVehicleInformation
.
getNextExecuteUserIds
())
...
...
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