Commit 722070d6 authored by LSL's avatar LSL

结清默认结清账单

parent 8b4d5033
...@@ -64,7 +64,7 @@ public class BackedBurdenJob { ...@@ -64,7 +64,7 @@ public class BackedBurdenJob {
if (sftp.isDir("/download/assurance/" + date)) { if (sftp.isDir("/download/assurance/" + date)) {
sftp.cd("/download/assurance/" + date); sftp.cd("/download/assurance/" + date);
sftp.get("assurance_" + date + ".txt", "/assurance_sftp.txt"); sftp.get("assurance_" + date + ".txt", "/assurance_sftp.txt");
ossUtils.ossUpload("ZN/assurance_/" + "assurance_" + date + ".txt", FileUtil.file("/assurance_sftp.txt")); ossUtils.ossUpload("ZN/assurance/" + "assurance_" + date + ".txt", FileUtil.file("/assurance_sftp.txt"));
FileUtil.del("/assurance_sftp.txt"); FileUtil.del("/assurance_sftp.txt");
String stringObject = ossUtils.getStringObject("ZN/assurance_/" + "assurance_" + date + ".txt"); String stringObject = ossUtils.getStringObject("ZN/assurance_/" + "assurance_" + date + ".txt");
log.info("oss融担数据:{}", stringObject); log.info("oss融担数据:{}", stringObject);
......
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