|
@@ -1,5 +1,6 @@
|
|
|
package com.siwei.apply.service.zrzysite.impl;
|
|
package com.siwei.apply.service.zrzysite.impl;
|
|
|
|
|
|
|
|
|
|
+import com.siwei.apply.common.Constant;
|
|
|
import com.siwei.apply.domain.BaseId;
|
|
import com.siwei.apply.domain.BaseId;
|
|
|
import com.siwei.apply.domain.Jsgcghxk;
|
|
import com.siwei.apply.domain.Jsgcghxk;
|
|
|
import com.siwei.apply.domain.NodeLand;
|
|
import com.siwei.apply.domain.NodeLand;
|
|
@@ -412,7 +413,7 @@ public class ZrzysiteCommonServiceImpl implements IZrzysiteCommonService {
|
|
|
directoryName = directoryName.replaceAll(unsafeChars,"_");
|
|
directoryName = directoryName.replaceAll(unsafeChars,"_");
|
|
|
String fileName = attachment.getFjmc();
|
|
String fileName = attachment.getFjmc();
|
|
|
String subDownLoadFilePath = fileDownLoadPath + "/" + directoryName;
|
|
String subDownLoadFilePath = fileDownLoadPath + "/" + directoryName;
|
|
|
- ServiceFileUtil.downloadFile(url,fileName, subDownLoadFilePath);
|
|
|
|
|
|
|
+ ServiceFileUtil.downloadFile(url,fileName, subDownLoadFilePath, Constant.GG);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
String nodeAttachmentId = nodeAttachmentService.processFileAndSave(fileDownLoadPath, null, null);
|
|
String nodeAttachmentId = nodeAttachmentService.processFileAndSave(fileDownLoadPath, null, null);
|