Commit 28c491b3 authored by 张庆's avatar 张庆

罚息

parent 8684605d
......@@ -50,12 +50,7 @@ public class SyncFaJob {
if (StringUtils.isNotEmpty(param)) {
date = param;
} else {
Calendar cal = Calendar.getInstance();
//获取前面的时间用-负号
cal.setTime(new Date());
cal.add(Calendar.DAY_OF_MONTH, -1);
Date time = cal.getTime();
date = DateUtil.format(time, "yyyyMMdd");
date = DateUtil.format(new Date(), "yyyyMMdd");
}
if (sftp.isDir("/download/overdue/" + date)) {
sftp.cd("/download/overdue/" + date + "/capital");
......
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