Commit 3c1a7320 authored by huyuchen's avatar huyuchen

huych-回单下载

parent 5c5e034f
...@@ -1075,6 +1075,8 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn ...@@ -1075,6 +1075,8 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn
Vector<ChannelSftp.LsEntry> files = channelSftp.ls("*"); Vector<ChannelSftp.LsEntry> files = channelSftp.ls("*");
log.info("找到文件数量: " + files.size()); log.info("找到文件数量: " + files.size());
//ESC 字符:在 Java 中,ESC 字符可以用 \u001B 表示。
//如果输入字符串中可能包含连续的 ESC 字符(如 \u001B\u001B),split("\u001B") 会在结果数组中生成空字符串("")。如果需要过滤掉空字符串,可以使用 split("\u001B", -1) 或后续处理。
// 下载所有文件 // 下载所有文件
for (ChannelSftp.LsEntry entry : files) { for (ChannelSftp.LsEntry entry : files) {
if (!entry.getAttrs().isDir()) { if (!entry.getAttrs().isDir()) {
......
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