From bafe95ee0ece9942afa85e6eeffa1e9dabdaee07 Mon Sep 17 00:00:00 2001 From: infin_caishuxiao Date: Sat, 24 Feb 2018 17:42:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../infincash/cron/collection/CronCollectionServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infintech-executors/executor-collection-dispatcher/src/main/java/com/infincash/cron/collection/CronCollectionServiceImpl.java b/infintech-executors/executor-collection-dispatcher/src/main/java/com/infincash/cron/collection/CronCollectionServiceImpl.java index a23e2314..2a4aa85e 100644 --- a/infintech-executors/executor-collection-dispatcher/src/main/java/com/infincash/cron/collection/CronCollectionServiceImpl.java +++ b/infintech-executors/executor-collection-dispatcher/src/main/java/com/infincash/cron/collection/CronCollectionServiceImpl.java @@ -80,7 +80,8 @@ public class CronCollectionServiceImpl implements CronCollectionService Date d = r.getRepaymentDate(); Date now = new Date(); long diffDate = dateSubstract(now, d); - XxlJobLogger.log("d:" + d.toString() + ", now:" + now.toString() + ", diffDate:" + diffDate); + //FIXME 在新加坡服务器上跑无时差, 因为新加坡也是UTC+8 <==> Etc/UTC-8! +// XxlJobLogger.log("d:" + d.toString() + ", now:" + now.toString() + ", diffDate:" + diffDate); for (int i = 0; i < bList.size() - 1; i++) { long lbegin = bList.get(i).getLeftClosedInterval().longValue();