|
|
@ -3779,7 +3779,8 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
ctx.setVariable("name", client.getString("contact_person"));
|
|
|
|
ctx.setVariable("name", client.getString("contact_person"));
|
|
|
|
ctx.setVariable("order_id", order.getString("order_id"));
|
|
|
|
ctx.setVariable("order_id", order.getString("order_id"));
|
|
|
|
ctx.setVariable("amount", order.getString("total_amount"));
|
|
|
|
ctx.setVariable("amount", order.getString("total_amount"));
|
|
|
|
ctx.setVariable("time", order.getString("create_time"));
|
|
|
|
String create_time = DateFormatUtils.format(order.getDate("create_time"), "yyyy-MM-dd HH:mm:ss");
|
|
|
|
|
|
|
|
ctx.setVariable("time", create_time);
|
|
|
|
final String content = thymeleaf.process( "mail/hf_email_notice", ctx);
|
|
|
|
final String content = thymeleaf.process( "mail/hf_email_notice", ctx);
|
|
|
|
final String mailTo = client.getString("contact_email");
|
|
|
|
final String mailTo = client.getString("contact_email");
|
|
|
|
if (StringUtils.isEmpty(mailTo)) {
|
|
|
|
if (StringUtils.isEmpty(mailTo)) {
|
|
|
|