From e701d2a7c7ef26c385739eeac73df568ddda89de Mon Sep 17 00:00:00 2001 From: duLingLing Date: Thu, 5 Sep 2019 09:44:41 +0800 Subject: [PATCH] =?UTF-8?q?UPD:=E9=A3=8E=E6=8E=A7=E5=8F=91=E9=80=81?= =?UTF-8?q?=E5=82=AC=E4=BF=83=E9=82=AE=E4=BB=B6=E6=97=A0=E5=8C=BA=E5=88=86?= =?UTF-8?q?=E9=97=AE=E9=A2=98,=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage/riskbusiness/core/impl/RiskBusinessServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/riskbusiness/core/impl/RiskBusinessServiceImpl.java b/src/main/java/au/com/royalpay/payment/manage/riskbusiness/core/impl/RiskBusinessServiceImpl.java index 9b083e99a..375532841 100644 --- a/src/main/java/au/com/royalpay/payment/manage/riskbusiness/core/impl/RiskBusinessServiceImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/riskbusiness/core/impl/RiskBusinessServiceImpl.java @@ -782,6 +782,7 @@ public class RiskBusinessServiceImpl implements RiskBusinessService, ManagerTodo } List clientEmails = new ArrayList<>(); clientEmails.add(client.getString("contact_email")); + client.put("is_resend",new Date().compareTo(event.getDate("reply_email_date"))); String bdNamesStr = bdNames.isEmpty() ? "" : StringUtils.join(bdNames, ","); String reply_date = DateFormatUtils.format(DateUtils.addDays(event.getDate("reply_email_date"),-1),"yyyy年MM月dd日"); String reply_date_english = DateFormatUtils.format(DateUtils.addDays(event.getDate("reply_email_date"),-1),"dd/MM/yyyy"); @@ -792,7 +793,6 @@ public class RiskBusinessServiceImpl implements RiskBusinessService, ManagerTodo ctx.setVariable("order_type", event.getIntValue("order_type")); ctx.setVariable("bdNamesStr", bdNamesStr); ctx.setVariable("reply_date", reply_date); - ctx.setVariable("is_resend",new Date().compareTo(event.getDate("reply_email_date"))); ctx.setVariable("reply_date_english", reply_date_english); ctx.setVariable("client", client); ctx.setVariable("uploadUrl", uploadUrl);