UPD:风控发送催促邮件无区分问题,更新版本

master
duLingLing 5 years ago
parent 8f3193b944
commit e701d2a7c7

@ -782,6 +782,7 @@ public class RiskBusinessServiceImpl implements RiskBusinessService, ManagerTodo
} }
List<String> clientEmails = new ArrayList<>(); List<String> clientEmails = new ArrayList<>();
clientEmails.add(client.getString("contact_email")); 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 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 = 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"); 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("order_type", event.getIntValue("order_type"));
ctx.setVariable("bdNamesStr", bdNamesStr); ctx.setVariable("bdNamesStr", bdNamesStr);
ctx.setVariable("reply_date", reply_date); 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("reply_date_english", reply_date_english);
ctx.setVariable("client", client); ctx.setVariable("client", client);
ctx.setVariable("uploadUrl", uploadUrl); ctx.setVariable("uploadUrl", uploadUrl);

Loading…
Cancel
Save