Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-qc-change-system
Overview
Overview
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
yx-qc-change-flow
yanxuan-qc-change-system
Commits
3fa811ad
Commit
3fa811ad
authored
Jan 12, 2023
by
“zcwang”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify: 导出字段优化
parent
32019117
Pipeline
#44750
passed with stages
in 2 minutes 4 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
ChangeFlowExportCallback.java
...yanxuan/change/biz/callback/ChangeFlowExportCallback.java
+2
-3
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/callback/ChangeFlowExportCallback.java
View file @
3fa811ad
...
@@ -127,7 +127,7 @@ public class ChangeFlowExportCallback implements DesCallbackService {
...
@@ -127,7 +127,7 @@ public class ChangeFlowExportCallback implements DesCallbackService {
ChangeFlowListQueryReq
changeFlowListQueryReq
=
new
ChangeFlowListQueryReq
();
ChangeFlowListQueryReq
changeFlowListQueryReq
=
new
ChangeFlowListQueryReq
();
BeanUtils
.
copyProperties
(
query
,
changeFlowListQueryReq
);
BeanUtils
.
copyProperties
(
query
,
changeFlowListQueryReq
);
List
<
ChangeRecord
>
changeRecords
=
changeRecordMapper
.
selectByConditionAndLimit
(
changeFlowListQueryReq
);
List
<
ChangeRecord
>
changeRecords
=
changeRecordMapper
.
selectByConditionAndLimit
(
changeFlowListQueryReq
);
log
.
debug
(
"[getExportList] changeRecords:{}"
,
changeRecords
);
log
.
debug
(
"[getExportList] changeRecords:{}"
,
JSON
.
toJSONString
(
changeRecords
)
);
if
(
CollectionUtils
.
isEmpty
(
changeRecords
))
{
if
(
CollectionUtils
.
isEmpty
(
changeRecords
))
{
return
Lists
.
newArrayList
();
return
Lists
.
newArrayList
();
}
}
...
@@ -138,7 +138,6 @@ public class ChangeFlowExportCallback implements DesCallbackService {
...
@@ -138,7 +138,6 @@ public class ChangeFlowExportCallback implements DesCallbackService {
List
<
String
>
allQueryDepartmentList
=
new
ArrayList
<>();
List
<
String
>
allQueryDepartmentList
=
new
ArrayList
<>();
if
(
CollectionUtils
.
isNotEmpty
(
creatorList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
creatorList
))
{
allQueryDepartmentList
.
addAll
(
creatorList
);
allQueryDepartmentList
.
addAll
(
creatorList
);
}
}
List
<
String
>
changeCommanderList
=
changeRecords
.
stream
().
map
(
ChangeRecord:
:
getChangeCommander
).
collect
(
Collectors
.
toList
());
List
<
String
>
changeCommanderList
=
changeRecords
.
stream
().
map
(
ChangeRecord:
:
getChangeCommander
).
collect
(
Collectors
.
toList
());
if
(
CollectionUtils
.
isNotEmpty
(
changeCommanderList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
changeCommanderList
))
{
...
@@ -148,7 +147,7 @@ public class ChangeFlowExportCallback implements DesCallbackService {
...
@@ -148,7 +147,7 @@ public class ChangeFlowExportCallback implements DesCallbackService {
if
(
CollectionUtils
.
isNotEmpty
(
allQueryDepartmentList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
allQueryDepartmentList
))
{
// 查询创建人部门名
// 查询创建人部门名
IusDepartmentReq
iusDepartmentReq
=
new
IusDepartmentReq
();
IusDepartmentReq
iusDepartmentReq
=
new
IusDepartmentReq
();
iusDepartmentReq
.
setUids
(
new
ArrayList
<>(
creator
List
));
iusDepartmentReq
.
setUids
(
new
ArrayList
<>(
allQueryDepartment
List
));
iusDepartmentReq
.
setIcac
(
true
);
iusDepartmentReq
.
setIcac
(
true
);
orgMap
=
iusService
.
queryDepartment
(
iusDepartmentReq
);
orgMap
=
iusService
.
queryDepartment
(
iusDepartmentReq
);
}
}
...
...
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