Commit 209ad6b3 authored by huyuchen's avatar huyuchen

huych-工行回单下载

parent 3fb932ae
......@@ -1139,9 +1139,15 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn
log.info("未找到对应的索引文件:{}", indexFileName);
continue;
}
String tempDir = System.getProperty("java.io.tmpdir") + "sftp_processing/" + System.currentTimeMillis() + "/";
File dir = new File(tempDir);
if (!dir.exists()) {
if (!dir.mkdirs()) {
throw new IOException("Failed to create directory: " + tempDir);
}
}
// 3. 创建临时目录 System.getProperty("user.dir") + "/yifu-ekp/yifu-ekp-biz/src/main/resources/tem/sftp_processing/" + System.currentTimeMillis() + "/";
String tempDir = privateKeyPath + "/tem/sftp_processing/" + System.currentTimeMillis() + "/";
// String tempDir = privateKeyPath + "/temp/sftp_processing/" + System.currentTimeMillis() + "/";
// String tempDir = System.getProperty("user.dir") + "/yifu-ekp/yifu-ekp-biz/src/main/resources/temp/sftp_processing/" + System.currentTimeMillis() + "/";
log.info("临时目录: " + tempDir);
......
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