Commit aee94716 by liyanlin

fix

parent a212d65b
...@@ -204,7 +204,7 @@ public class CostPlanServiceFactory { ...@@ -204,7 +204,7 @@ public class CostPlanServiceFactory {
if (path == null) { if (path == null) {
throw new Exception("上传附件失败"); throw new Exception("上传附件失败");
} }
path = "http://dcfile.blsct.com/" + path; path = "http://cost-service.blsct.com/" + path;
//类别 //类别
CostTypeResult costTypeResult = costTypeResultMap.get(sheetName + costPlanDomain.getTypeName()); CostTypeResult costTypeResult = costTypeResultMap.get(sheetName + costPlanDomain.getTypeName());
if (costTypeResult == null) { if (costTypeResult == null) {
......
...@@ -114,7 +114,7 @@ public class CostFileUtil { ...@@ -114,7 +114,7 @@ public class CostFileUtil {
OutputStream outputStream = new FileOutputStream(tempFile.getAbsolutePath()); OutputStream outputStream = new FileOutputStream(tempFile.getAbsolutePath());
outputStream.write(bytes); outputStream.write(bytes);
outputStream.close(); outputStream.close();
String path = "http://dcfile.blsct.com/" + qiniuUpload(tempFile); String path = "http://cost-service.blsct.com/" + qiniuUpload(tempFile);
tempFile.deleteOnExit(); tempFile.deleteOnExit();
return path; return path;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment