Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 88692098
authored
Jan 11, 2024
by
yangxiujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:打印日志
1 parent
9e854da0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
project-order/src/main/java/com/dituhui/pea/order/dto/OrderInfoErrorExcelDTO.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderCreateServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/dto/OrderInfoErrorExcelDTO.java
View file @
8869209
...
...
@@ -93,9 +93,14 @@ public class OrderInfoErrorExcelDTO {
@ColumnWidth
(
value
=
20
)
private
String
description
;
@ExcelProperty
(
value
=
"工单标签"
)
@ColumnWidth
(
value
=
20
)
private
String
orderTags
;
@ExcelProperty
(
value
=
"失败原因"
)
@ColumnWidth
(
value
=
20
)
private
String
error
;
}
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderCreateServiceImpl.java
View file @
8869209
...
...
@@ -276,9 +276,11 @@ public class OrderCreateServiceImpl implements OrderCreateService {
//创建保存的对象
FileRateDTO
fileRateDTO
=
new
FileRateDTO
();
ArrayList
<
OrderInfoErrorExcelDTO
>
errorExcelDTOS
=
new
ArrayList
<>(
errorList
);
ArrayList
<
OrderInfoErrorExcelDTO
>
errorExcelDTOS
=
new
ArrayList
<>();
errorExcelDTOS
.
addAll
(
errorList
);
log
.
info
(
"错误日志"
+
errorExcelDTOS
);
fileRateDTO
.
setTotalCount
(
cachedDataList
.
size
());
fileRateDTO
.
setErrorCount
(
errorExcelDTOS
.
size
());
for
(
OrderInfoExcelDTO
req
:
cachedDataList
)
{
OrderInfoEntity
byOrderId
=
orderInfoDao
.
getByOrderId
(
req
.
getOrderId
());
String
peaBrand
=
req
.
getBrand
();
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment