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
6c14fbfe
Commit
6c14fbfe
authored
Dec 05, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工作流执行日志增加备注,以及执行备注
parent
4b5feffe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
+16
-10
SurveyInformationServiceImpl.java
...e/hygf/biz/service/impl/SurveyInformationServiceImpl.java
+16
-10
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/SurveyInformationServiceImpl.java
View file @
6c14fbfe
...
@@ -396,18 +396,24 @@ public class SurveyInformationServiceImpl extends BaseService<SurveyInformationD
...
@@ -396,18 +396,24 @@ public class SurveyInformationServiceImpl extends BaseService<SurveyInformationD
try
{
try
{
Map
<
String
,
Object
>
flowLoggerMap
=
workflowFeignClient
.
getFlowLogger
(
processInstanceId
).
getResult
();
Map
<
String
,
Object
>
flowLoggerMap
=
workflowFeignClient
.
getFlowLogger
(
processInstanceId
).
getResult
();
List
<
LinkedHashMap
>
flowLogger
=
(
List
<
LinkedHashMap
>)
flowLoggerMap
.
get
(
"flowLogger"
);
List
<
LinkedHashMap
>
flowLogger
=
(
List
<
LinkedHashMap
>)
flowLoggerMap
.
get
(
"flowLogger"
);
flowLogger
=
flowLogger
.
stream
().
map
(
i
->
{
List
<
LinkedHashMap
>
flowLoggernew
=
new
ArrayList
<>();
i
.
put
(
"approvalStatue"
,
i
.
get
(
"approvalStatue"
).
toString
().
equals
(
"0"
)?
"通过"
:
"驳回"
);
for
(
LinkedHashMap
linkedHashMap
:
flowLogger
)
{
//审核意见
if
(
linkedHashMap
.
get
(
"operateDate"
)!=
null
&&!
linkedHashMap
.
get
(
"operateDate"
).
toString
().
isEmpty
()){
List
<
LinkedHashMap
>
approvalSuggestion
=
(
List
<
LinkedHashMap
>)
i
.
get
(
"approvalSuggestion"
);
LinkedHashMap
linke
=
new
LinkedHashMap
();
if
(
approvalSuggestion
!=
null
&&!
approvalSuggestion
.
isEmpty
()){
linke
.
put
(
"approvalStatue"
,
linkedHashMap
.
get
(
"approvalStatue"
).
toString
().
equals
(
"0"
)?
"通过"
:
"驳回"
);
i
.
put
(
"approvalSuggestion"
,
approvalSuggestion
.
get
(
0
).
get
(
"message"
));
//审核意见
List
<
LinkedHashMap
>
approvalSuggestion
=
(
List
<
LinkedHashMap
>)
linkedHashMap
.
get
(
"approvalSuggestion"
);
if
(
approvalSuggestion
!=
null
&&!
approvalSuggestion
.
isEmpty
()){
linke
.
put
(
"approvalSuggestion"
,
approvalSuggestion
.
get
(
0
).
get
(
"message"
));
}
linke
.
put
(
"taskName"
,
linkedHashMap
.
get
(
"taskName"
).
toString
());
linke
.
put
(
"operator"
,
linkedHashMap
.
get
(
"operator"
).
toString
());
linke
.
put
(
"operateDate"
,
linkedHashMap
.
get
(
"operateDate"
).
toString
());
flowLoggernew
.
add
(
linke
);
}
}
}
return
i
;
}).
collect
(
Collectors
.
toList
());
LoggerDto
loggerDto
=
new
LoggerDto
();
LoggerDto
loggerDto
=
new
LoggerDto
();
loggerDto
.
setLogger
(
flowLogger
);
loggerDto
.
setLogger
(
flowLogger
new
);
surveyInfoAllDto
.
setOrderTracking
(
loggerDto
);
surveyInfoAllDto
.
setOrderTracking
(
loggerDto
);
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
e
.
printStackTrace
();
e
.
printStackTrace
();
...
...
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