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
f0f67ad0
Commit
f0f67ad0
authored
Jan 18, 2022
by
chenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交防火监督流程图的节点修改
parent
4570bc19
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
LatentDangerServiceImpl.java
...danger/business/service/impl/LatentDangerServiceImpl.java
+8
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-latentdanger-biz/src/main/java/com/yeejoin/amos/latentdanger/business/service/impl/LatentDangerServiceImpl.java
View file @
f0f67ad0
...
...
@@ -14,6 +14,7 @@ import com.yeejoin.amos.boot.biz.common.bo.DepartmentBo;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.bo.RoleBo
;
import
com.yeejoin.amos.boot.biz.common.enums.RuleTypeEnum
;
import
com.yeejoin.amos.boot.biz.common.enums.WorkFlowEnum
;
import
com.yeejoin.amos.boot.biz.common.service.impl.WorkflowExcuteServiceImpl
;
import
com.yeejoin.amos.boot.biz.common.utils.DateUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisKey
;
...
...
@@ -1191,6 +1192,13 @@ public class LatentDangerServiceImpl extends BaseService<LatentDangerBo, LatentD
JSONObject
body
=
new
JSONObject
();
body
.
put
(
"businessKey"
,
latentDanger
.
getBusinessKey
());
body
.
put
(
"processDefinitionKey"
,
workflowProcessDefinitionKey
);
/* 修改现场确认的工作流流程的节点执行条件分支------strat by chenhao 2022-01-18*/
String
startCondition
=
"inner"
;
if
(
"1"
.
equals
(
bizInfo
.
getString
(
"isOuter"
))
)
startCondition
=
"outer"
;
HashMap
<
String
,
Object
>
conditionMap
=
new
HashMap
<
String
,
Object
>();
conditionMap
.
put
(
WorkFlowEnum
.
CONDITION
.
getCode
(),
startCondition
);
body
.
put
(
"variables"
,
conditionMap
);
/* 修改现场确认的工作流流程的节点执行条件分支------end by chenhao 2022-01-18*/
JSONObject
result
=
workflowFeignService
.
startByVariable
(
body
);
if
(
result
==
null
||
ValidationUtil
.
isEmpty
(
result
.
get
(
"data"
)))
{
executeSubmitDto
.
setIsOk
(
false
);
...
...
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