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
f46543c3
Commit
f46543c3
authored
Oct 18, 2022
by
zhangyingbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化流程
parent
d049c82d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
20 deletions
+5
-20
ProblemInitiationServiceImpl.java
...le/ugp/biz/service/impl/ProblemInitiationServiceImpl.java
+3
-20
application.properties
...-module-ugp-biz/src/main/resources/application.properties
+2
-0
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/ProblemInitiationServiceImpl.java
View file @
f46543c3
...
@@ -103,31 +103,14 @@ public class ProblemInitiationServiceImpl {
...
@@ -103,31 +103,14 @@ public class ProblemInitiationServiceImpl {
}
}
if
(
ProjectInitiationEnum
.
接受审查意见
.
getName
().
equals
(
dataObject
.
getString
(
"name"
))){
projectInitiation
.
setTaskName
(
dataObject
.
getString
(
"name"
)+
"(流程结束!)"
);
}
if
(
ProjectInitiationEnum
.
告知申请
.
getName
().
equals
(
dataObject
.
getString
(
"name"
)))
{
}
if
(
"监检科室分配"
.
equals
(
dataObject
.
getString
(
"name"
)))
{
}
if
(
"监检员分配"
.
equals
(
dataObject
.
getString
(
"name"
)))
{
}
if
(
"监检员审核"
.
equals
(
dataObject
.
getString
(
"name"
)))
{
}
try
{
try
{
//组装信息
//组装信息
TaskResultDTO
dto
=
new
TaskResultDTO
();
TaskResultDTO
dto
=
new
TaskResultDTO
();
dto
.
setResult
(
option
);
dto
.
setResult
(
option
);
dto
.
setResultCode
(
"
condition
"
);
dto
.
setResultCode
(
"
select
"
);
dto
.
setTaskId
(
projectInitiation
.
getTaskId
());
dto
.
setTaskId
(
projectInitiation
.
getTaskId
());
HashMap
<
String
,
Object
>
var
=
new
HashMap
<>();
HashMap
<
String
,
Object
>
var
=
new
HashMap
<>();
var
.
put
(
"
condition
"
,
option
);
var
.
put
(
"
select
"
,
option
);
dto
.
setVariable
(
var
);
dto
.
setVariable
(
var
);
//执行流程
//执行流程
Workflow
.
taskClient
.
completeByTask
(
projectInitiation
.
getTaskId
(),
dto
);
Workflow
.
taskClient
.
completeByTask
(
projectInitiation
.
getTaskId
(),
dto
);
...
@@ -137,7 +120,7 @@ public class ProblemInitiationServiceImpl {
...
@@ -137,7 +120,7 @@ public class ProblemInitiationServiceImpl {
e
.
printStackTrace
();
e
.
printStackTrace
();
System
.
out
.
println
(
"任务完成失败:"
+
e
.
getMessage
());
System
.
out
.
println
(
"任务完成失败:"
+
e
.
getMessage
());
}
finally
{
}
finally
{
//更新pro
ject种
的status字段,表示当前流程下一个执行的任务
//更新pro
blem中
的status字段,表示当前流程下一个执行的任务
updateProBlemFlowStatus
(
instanceId
);
updateProBlemFlowStatus
(
instanceId
);
}
}
}
}
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/resources/application.properties
View file @
f46543c3
...
@@ -30,6 +30,7 @@ emqx.password=123456
...
@@ -30,6 +30,7 @@ emqx.password=123456
fire-rescue
=
123
fire-rescue
=
123
params.work.flow.processDefinitionKey
=
xiangmulixiangliucheng
params.work.flow.processDefinitionKey
=
xiangmulixiangliucheng
params.work.flow.problemDefinitionKey
=
zhiliangwentiliucheng
amos.secret.key
=
ugp
amos.secret.key
=
ugp
#
logging.level.com.yeejoin.amos
=
error
#
logging.level.com.yeejoin.amos
=
error
\ 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