From 7a714d4862fa61d080229ce9607ab8a0db9c0743 Mon Sep 17 00:00:00 2001 From: Tayl0r <519104047@qq.com> Date: Thu, 1 Mar 2018 14:59:14 +0800 Subject: [PATCH] fix --- .../core/impls/PlatformClearAnalysisServiceImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/analysis/core/impls/PlatformClearAnalysisServiceImpl.java b/src/main/java/au/com/royalpay/payment/manage/analysis/core/impls/PlatformClearAnalysisServiceImpl.java index 7bba88849..1f89de678 100644 --- a/src/main/java/au/com/royalpay/payment/manage/analysis/core/impls/PlatformClearAnalysisServiceImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/analysis/core/impls/PlatformClearAnalysisServiceImpl.java @@ -311,8 +311,9 @@ public class PlatformClearAnalysisServiceImpl implements PlatformClearService { logger.info("Wechat System Settle Logs:" + start_date + "<====>" + end_date); } else if (StringUtils.equals("AlipayOnline", channel)) { JSONObject alipayOnlineSettleLog = (JSONObject) settlementLog; - start_date = onlineSdf.format(alipayOnlineSettleLog.getDate("min_date")); - end_date = onlineSdf.format(DateUtils.addDays(alipayOnlineSettleLog.getDate("max_date"), 1)); + logger.info("AlipayOnline System Settle Logs:" + alipayOnlineSettleLog.getDate("min_time") + "<====>" + alipayOnlineSettleLog.getDate("max_time")); + start_date = onlineSdf.format(alipayOnlineSettleLog.getDate("min_time")); + end_date = onlineSdf.format(DateUtils.addDays(alipayOnlineSettleLog.getDate("max_time"), 1)); } else { return null; }