优化bug

This commit is contained in:
王文艳
2026-04-01 20:56:33 +08:00
parent 012b508eca
commit 77839da70e
@@ -104,6 +104,9 @@ class XmBankVillageFtpUtils {
println "开始上传Excel文件到: ${remoteFilePath}"
println "文件大小: ${excelBytes.length} 字节"
// 确保远程目录存在
sftp.createDir(ftpPath, sftpChannel)
// 将字节数组转换为输入流
InputStream inputStream = new ByteArrayInputStream(excelBytes)