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
a6576852
Commit
a6576852
authored
Jan 12, 2023
by
“zcwang”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify: 导出字段优化
parent
2143e24b
Pipeline
#44752
passed with stages
in 1 minute 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ChangeFlowExportCallback.java
...yanxuan/change/biz/callback/ChangeFlowExportCallback.java
+3
-2
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/callback/ChangeFlowExportCallback.java
View file @
a6576852
...
@@ -276,7 +276,7 @@ public class ChangeFlowExportCallback implements DesCallbackService {
...
@@ -276,7 +276,7 @@ public class ChangeFlowExportCallback implements DesCallbackService {
for
(
ChangeExecRecord
changeExecRecord
:
changeExecRecords
)
{
for
(
ChangeExecRecord
changeExecRecord
:
changeExecRecords
)
{
// 组装通用信息,除商品信息,行动项以外其他字段一致
// 组装通用信息,除商品信息,行动项以外其他字段一致
ChangeFlowExcelDTO
changeFlowExcelDTO
=
this
.
obtainCommon
(
record
,
changeSubjectEnum
,
orgMap
);
ChangeFlowExcelDTO
changeFlowExcelDTO
=
this
.
obtainCommon
(
record
,
changeSubjectEnum
,
orgMap
);
String
changeSupplier
=
record
.
getChangeSupplier
();
String
changeSupplier
=
StringUtils
.
isBlank
(
record
.
getChangeSupplier
())
?
""
:
record
.
getChangeSupplier
();
String
changeSupplierName
=
""
;
String
changeSupplierName
=
""
;
if
(
StringUtils
.
isNotBlank
(
changeSupplier
))
{
if
(
StringUtils
.
isNotBlank
(
changeSupplier
))
{
List
<
SupplierSimpleRsp
>
supplierSimple
=
supplierService
.
getSupplierName
(
changeSupplier
);
List
<
SupplierSimpleRsp
>
supplierSimple
=
supplierService
.
getSupplierName
(
changeSupplier
);
...
@@ -285,7 +285,8 @@ public class ChangeFlowExportCallback implements DesCallbackService {
...
@@ -285,7 +285,8 @@ public class ChangeFlowExportCallback implements DesCallbackService {
changeSupplierName
=
supplier
.
getSupplierName
();
changeSupplierName
=
supplier
.
getSupplierName
();
}
}
}
}
changeFlowExcelDTO
.
setSupplier
(
changeSupplier
+
changeSupplierName
);
changeFlowExcelDTO
.
setSupplier
(
StringUtils
.
isBlank
(
changeSupplier
)
?
"/"
:
changeSupplier
+
changeSupplierName
);
changeFlowExcelDTO
.
setChangeItem
(
null
);
changeFlowExcelDTO
.
setChangeItem
(
null
);
changeFlowExcelDTO
.
setSPUId
(
null
);
changeFlowExcelDTO
.
setSPUId
(
null
);
changeFlowExcelDTO
.
setQcCategory
(
null
);
changeFlowExcelDTO
.
setQcCategory
(
null
);
...
...
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