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
e873743c
Commit
e873743c
authored
Jan 16, 2024
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
35a0449f
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 @
e873743c
...
...
@@ -239,7 +239,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
dto
.
setProcessDefinitionKey
(
"renovationRegistrationReviewNew"
);
dto
.
setBusinessKey
(
"submit"
);
dto
.
setCompleteFirstTask
(
Boolean
.
TRUE
);
dto
.
setNextExecuteUserCompanyCode
(
commonMapper
.
getOrgCodeByCompanyCode
(
jgChangeRegistrationReform
.
getReceiveOrgCode
()
));
dto
.
setNextExecuteUserCompanyCode
(
jgChangeRegistrationReform
.
getReceiveOrgCode
(
));
List
<
ActWorkflowStartDTO
>
actWorkflowStartDTOList
=
Arrays
.
asList
(
dto
);
ActWorkflowBatchDTO
actWorkflowBatchDTO
=
new
ActWorkflowBatchDTO
();
actWorkflowBatchDTO
.
setProcess
(
actWorkflowStartDTOList
);
...
...
@@ -352,7 +352,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
map
.
put
(
"approvalStatus"
,
"提交"
);
}
dto
.
setVariable
(
map
);
dto
.
setNextExecuteUserCompanyCode
(
commonMapper
.
getOrgCodeByCompanyCode
(
jgChangeRegistrationReform
.
getReceiveOrgCode
()
));
dto
.
setNextExecuteUserCompanyCode
(
getNextUserOrgCode
(
operate
,
jgChangeRegistrationReform
));
//执行流程
processTaskDTO
=
iCmWorkflowService
.
complete
(
taskId
,
dto
);
}
catch
(
Exception
e
)
{
...
...
@@ -783,4 +783,20 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
taskMessageDto
.
setNextExecuteIds
(
jgChangeRegistrationReform
.
getNextExecutorIds
());
return
taskMessageDto
;
}
private
String
getNextUserOrgCode
(
String
operate
,
JgChangeRegistrationReform
jgChangeRegistrationReform
)
{
if
(
"0"
.
equals
(
operate
)){
// 执行通过节点,单位code为接收机构单位信息
return
jgChangeRegistrationReform
.
getReceiveOrgCode
();
}
if
(
jgChangeRegistrationReform
.
getAuditStatus
().
equals
(
WorkFlowStatusEnum
.
CHANGE_RECEIVE
.
getPass
())
||
jgChangeRegistrationReform
.
getAuditStatus
().
equals
(
WorkFlowStatusEnum
.
CHANGE_RECEIVE
.
getReject
())
||
jgChangeRegistrationReform
.
getAuditStatus
().
equals
(
WorkFlowStatusEnum
.
CHANGE_RECEIVE
.
getRollBack
())){
// 驳回且当前节点为一键节点时,单位code为发起人单位信息
return
jgChangeRegistrationReform
.
getUseUnitCreditCode
();
}
// 2、3级驳回时,单位code为接收单位code
return
jgChangeRegistrationReform
.
getReceiveOrgCode
();
}
}
\ 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