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
aee94716
Commit
aee94716
authored
Aug 23, 2021
by
liyanlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a212d65b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CostPlanServiceFactory.java
...le/cost/service/impl/costplan/CostPlanServiceFactory.java
+1
-1
CostFileUtil.java
...in/java/com/blt/other/module/cost/utils/CostFileUtil.java
+1
-1
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/costplan/CostPlanServiceFactory.java
View file @
aee94716
...
...
@@ -204,7 +204,7 @@ public class CostPlanServiceFactory {
if
(
path
==
null
)
{
throw
new
Exception
(
"上传附件失败"
);
}
path
=
"http://
dcfil
e.blsct.com/"
+
path
;
path
=
"http://
cost-servic
e.blsct.com/"
+
path
;
//类别
CostTypeResult
costTypeResult
=
costTypeResultMap
.
get
(
sheetName
+
costPlanDomain
.
getTypeName
());
if
(
costTypeResult
==
null
)
{
...
...
cost-service/src/main/java/com/blt/other/module/cost/utils/CostFileUtil.java
View file @
aee94716
...
...
@@ -114,7 +114,7 @@ public class CostFileUtil {
OutputStream
outputStream
=
new
FileOutputStream
(
tempFile
.
getAbsolutePath
());
outputStream
.
write
(
bytes
);
outputStream
.
close
();
String
path
=
"http://
dcfil
e.blsct.com/"
+
qiniuUpload
(
tempFile
);
String
path
=
"http://
cost-servic
e.blsct.com/"
+
qiniuUpload
(
tempFile
);
tempFile
.
deleteOnExit
();
return
path
;
}
...
...
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