|
@@ -126,9 +126,7 @@ public class ElecInvoiceTask {
|
|
|
// 定义要保存的文件的路径
|
|
// 定义要保存的文件的路径
|
|
|
String fileName = ioList.getGeneralString("ei_refno")+".pdf";//发票号码
|
|
String fileName = ioList.getGeneralString("ei_refno")+".pdf";//发票号码
|
|
|
String fileBasePath = "C:\\invoice\\"+fileName;//发票号码
|
|
String fileBasePath = "C:\\invoice\\"+fileName;//发票号码
|
|
|
- if(donlimConfig.isProd()){
|
|
|
|
|
- fileBasePath = "\\usr\\local\\uas\\invoice\\"+fileName;//发票号码
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ fileBasePath = "\\usr\\local\\uas\\invoice\\"+fileName;//发票号码
|
|
|
try {
|
|
try {
|
|
|
// 创建URL对象
|
|
// 创建URL对象
|
|
|
URL url = new URL(fileUrl);
|
|
URL url = new URL(fileUrl);
|