From 1208f9c1d48e7bbe863b9cf64b4bc0e8f492a1bd Mon Sep 17 00:00:00 2001 From: dulingling Date: Thu, 21 May 2020 13:50:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B4=B9=E7=8E=87=E8=AE=BE?= =?UTF-8?q?=E5=AE=9A=E8=BF=87=E6=9C=9F=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../payment/manage/merchants/core/impls/ClientManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java b/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java index 2e0bce146..b3e5ad078 100644 --- a/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java @@ -1959,7 +1959,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid if (rateItem.getDate("expiry_time").before(today) || rateItem.getDate("active_time").after(today)) { continue; } - rateItem.put("expiry_time",DateUtils.addDays(new Date(), -1)); + rateItem.put("expiry_time",new Date()); clientRateMapper.updateConfig(rateItem); } }