Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
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
huluobin
bailuntec-cost
Commits
e7401b64
Commit
e7401b64
authored
Jul 17, 2021
by
liyanlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
be6e10a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
CostPlanServiceFactory.java
...le/cost/service/impl/costplan/CostPlanServiceFactory.java
+3
-2
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/costplan/CostPlanServiceFactory.java
View file @
e7401b64
...
@@ -33,6 +33,7 @@ import org.springframework.beans.BeanUtils;
...
@@ -33,6 +33,7 @@ import org.springframework.beans.BeanUtils;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.io.*
;
import
java.io.*
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.nio.charset.StandardCharsets
;
import
java.util.*
;
import
java.util.*
;
import
static
com
.
blt
.
other
.
common
.
wrapper
.
ThrowingConsumer
.
handlingConsumerWrapper
;
import
static
com
.
blt
.
other
.
common
.
wrapper
.
ThrowingConsumer
.
handlingConsumerWrapper
;
...
@@ -128,9 +129,9 @@ public class CostPlanServiceFactory {
...
@@ -128,9 +129,9 @@ public class CostPlanServiceFactory {
fileMap
.
put
(
entry
.
getName
(),
tempFile
);
fileMap
.
put
(
entry
.
getName
(),
tempFile
);
}
}
}
}
File
feeExcel
=
fileMap
.
get
(
"
费用计划
.xlsx"
);
File
feeExcel
=
fileMap
.
get
(
"
costPlan
.xlsx"
);
if
(
feeExcel
==
null
){
if
(
feeExcel
==
null
){
throw
new
Exception
(
"缺少文件【
费用计划
.xlsx】"
);
throw
new
Exception
(
"缺少文件【
costPlan
.xlsx】"
);
}
}
InputStream
feeIn
=
new
FileInputStream
(
feeExcel
);
InputStream
feeIn
=
new
FileInputStream
(
feeExcel
);
Workbook
wb
=
new
XSSFWorkbook
(
feeIn
);
Workbook
wb
=
new
XSSFWorkbook
(
feeIn
);
...
...
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