|
|
@@ -35,6 +35,8 @@ public class DownloadFilePathServiceImpl implements DownloadFilePathService {
|
|
|
downloadFilePath("N_YITOA_LHCT-HM","N_YITOA_LHCT");
|
|
|
//联合创泰-准时达
|
|
|
downloadFilePath("N_YITOA_LHCT-ZSD","N_YITOA_LHCT");
|
|
|
+ //联合创泰电子-准时达
|
|
|
+ downloadFilePath("LHCT_SZ-ZSD","LHCT_SZ");
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -74,7 +76,7 @@ public class DownloadFilePathServiceImpl implements DownloadFilePathService {
|
|
|
}else {
|
|
|
if ("N_YITOA_LHCT-SF".equals(depot)) {
|
|
|
Boolean rename =
|
|
|
- sftp.rename(ftpMap.get("downloadpath").toString() + "/" + file.getName(), "goodsreceipt/backup/" + file.getName());
|
|
|
+ sftp.rename("/" + ftpMap.get("file").toString() + "/" + file.getName(), "goodsreceipt/backup/" + file.getName());
|
|
|
}
|
|
|
}
|
|
|
} catch (Exception e) {
|