Commit a3f86b50 by yinyong

半成品库存流水明细回退3小时

parent 8805f164
......@@ -97,6 +97,6 @@ public class SemiStockReportSyncJob extends PointJob {
} while (0 < jobPointLog.getPageIndex());
jobPointLog.setPageIndex(0);
jobPointLog.setStartTime(jobPointLog.getEndTime());
jobPointLog.setEndTime(jobPointLog.getEndTime().plusDays(jobPointLog.getIntervalTime()).isAfter(LocalDateTime.now()) ? LocalDateTime.now() : jobPointLog.getEndTime().plusDays(jobPointLog.getIntervalTime()));
jobPointLog.setEndTime(jobPointLog.getEndTime().plusDays(jobPointLog.getIntervalTime()).isAfter(LocalDateTime.now().minusHours(3)) ? LocalDateTime.now().minusHours(3) : jobPointLog.getEndTime().plusDays(jobPointLog.getIntervalTime()));
}
}
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