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 9562cedc
authored
Jan 10, 2024
by
yangxiujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改环境
1 parent
22e9a7fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
project-order/src/main/java/com/dituhui/pea/order/controller/FileController.java
project-order/src/main/java/com/dituhui/pea/order/controller/FileController.java
View file @
9562ced
...
@@ -127,7 +127,7 @@ public class FileController {
...
@@ -127,7 +127,7 @@ public class FileController {
ByteArrayOutputStream
outputStream
=
new
ByteArrayOutputStream
();
ByteArrayOutputStream
outputStream
=
new
ByteArrayOutputStream
();
EasyExcel
.
write
(
outputStream
,
OrderInfoExcelDTO
.
class
)
EasyExcel
.
write
(
outputStream
,
OrderInfoExcelDTO
.
class
)
.
registerWriteHandler
(
ExcelUtil
.
getDefaultWriteHandler
())
//不设置字体
.registerWriteHandler(ExcelUtil.getDefaultWriteHandler())
.
registerConverter
(
new
DateStringConverter
())
.
registerConverter
(
new
DateStringConverter
())
.
registerConverter
(
new
BigDecimalStringConverter
())
.
registerConverter
(
new
BigDecimalStringConverter
())
.
sheet
(
"工单列表"
).
doWrite
(
arrayList
);
.
sheet
(
"工单列表"
).
doWrite
(
arrayList
);
...
...
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