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
83b95f84
Commit
83b95f84
authored
Jan 11, 2024
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增流程字段相关代码
parent
9be08289
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
JgChangeRegistrationReformServiceImpl.java
...z/service/impl/JgChangeRegistrationReformServiceImpl.java
+19
-2
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/JgChangeRegistrationReformServiceImpl.java
View file @
83b95f84
...
...
@@ -278,8 +278,15 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
if
(
updateTodoAndCreate
)
{
// 上个代办改为已办
HashMap
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"taskStatus"
,
commonServiceImpl
.
getDictionaryCodeByName
(
jgChangeRegistrationReform
.
getStatus
()));
map
.
put
(
"taskStatusLabel"
,
jgChangeRegistrationReform
.
getStatus
());
if
(
"0"
.
equals
(
operate
)){
map
.
put
(
"taskStatus"
,
FlowStatusEnum
.
TO_BE_FINISHED
.
getCode
());
map
.
put
(
"taskStatusLabel"
,
FlowStatusEnum
.
TO_BE_FINISHED
.
getName
());
}
else
{
map
.
put
(
"taskStatus"
,
FlowStatusEnum
.
REJECTED
.
getCode
());
map
.
put
(
"taskStatusLabel"
,
FlowStatusEnum
.
REJECTED
.
getName
());
}
map
.
put
(
"flowStatus"
,
commonServiceImpl
.
getDictionaryCodeByName
(
jgChangeRegistrationReform
.
getStatus
()));
map
.
put
(
"flowStatusLabel"
,
jgChangeRegistrationReform
.
getStatus
());
map
.
put
(
"relationId"
,
jgChangeRegistrationReform
.
getInstanceId
());
TaskV2Model
taskV2Model
=
commonServiceImpl
.
updateTaskModel
(
map
);
TaskModelDto
taskModelDto
=
new
TaskModelDto
();
...
...
@@ -304,6 +311,8 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
HashMap
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"taskStatus"
,
FlowStatusEnum
.
TO_BE_FINISHED
.
getCode
());
map
.
put
(
"taskStatusLabel"
,
FlowStatusEnum
.
TO_BE_FINISHED
.
getName
());
map
.
put
(
"flowStatus"
,
FlowStatusEnum
.
TO_BE_FINISHED
.
getCode
());
map
.
put
(
"flowStatusLabel"
,
FlowStatusEnum
.
TO_BE_FINISHED
.
getName
());
map
.
put
(
"relationId"
,
jgChangeRegistrationReform
.
getInstanceId
());
TaskV2Model
taskV2Model
=
commonServiceImpl
.
updateTaskModel
(
map
);
}
...
...
@@ -619,6 +628,12 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
return
String
.
format
(
result
,
jgChangeRegistrationReform
.
getEquipListName
(),
jgChangeRegistrationReform
.
getSupervisoryCode
(),
jgChangeRegistrationReform
.
getApplyNo
());
}
/**
* 构建工作台待办实体类
* @param jgChangeRegistrationReform
* @param processTaskDTO
* @return
*/
public
TaskModelDto
getTaskModelDtoList
(
JgChangeRegistrationReform
jgChangeRegistrationReform
,
ProcessTaskDTO
processTaskDTO
)
{
List
<
WorkflowResultDto
>
workflowResultDtoList
=
commonServiceImpl
.
buildWorkFlowInfo
(
Arrays
.
asList
(
processTaskDTO
));
...
...
@@ -675,4 +690,5 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
}
return
workflowResultDto
;
}
}
\ 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