This commit is contained in:
parent
60add8972d
commit
f8d20bbac0
|
|
@ -164,15 +164,15 @@ public class OrderServiceImpl implements OrderService {
|
|||
String title = "校园小飞侠系统提醒您";
|
||||
String msgcontent = "您发布的订单在" + simpleDateFormat.format(nowDate.getTime()) + "被配送员 " + courier.getUsername() + " 接单啦,联系电话为:" + courier.getPhone() + "邮箱为:" + courier.getEmail() + "详情在我的订单>>当前订单 查看";
|
||||
String mailcontent = "<div class=\"text2\">\n" +
|
||||
"\t\t\t尊敬的" + account.getUsername() + "您好:\n" +
|
||||
"\t\t</div>\n" +
|
||||
"\t\t<div class=\"text3\">\n" +
|
||||
"\t\t\t您的快递已被小飞侠" + courier.getUsername() + "代取!<br /><br />\n" +
|
||||
"\t\t</div>\n" +
|
||||
"\t\t<div class=\"text4\">\n" +
|
||||
"\t\t\t联系方式:" + courier.getPhone() + " \n" +
|
||||
"\t\t\t代取时间:" + simpleDateFormat.format(nowDate.getTime()) + "<br /><br />\n" +
|
||||
"\t\t</div>";
|
||||
"尊敬的" + account.getUsername() + "您好:\n" +
|
||||
"</div>\n" +
|
||||
"<div class=\"text3\">\n" +
|
||||
"您的快递已被小飞侠" + courier.getUsername() + "代取!<br /><br />\n" +
|
||||
"</div>\n" +
|
||||
"<div class=\"text4\">\n" +
|
||||
"联系方式:" + courier.getPhone() + "<br />\n" +
|
||||
"代取时间:" + simpleDateFormat.format(nowDate.getTime()) + "<br />\n" +
|
||||
"</div>";
|
||||
Messages messages = new Messages(account.getId(), title, msgcontent);
|
||||
Integer mtype = messagesDao.insertMessage(messages);
|
||||
if (mtype != 1) {
|
||||
|
|
@ -239,15 +239,15 @@ public class OrderServiceImpl implements OrderService {
|
|||
" 收到快递则可在 我的订单>>当前订单 选择完成订单.\n" +
|
||||
" 很高兴为您服务,欢迎再次使用";
|
||||
String mailcontent = "<div class=\"text2\">\n" +
|
||||
"\t\t\t尊敬的" + account.getUsername() + "您好:\n" +
|
||||
"\t\t</div>\n" +
|
||||
"\t\t<div class=\"text3\">\n" +
|
||||
"\t\t\t您的快递已被小飞侠" + courier.getUsername() + "送达!<br /><br />\n" +
|
||||
"\t\t</div>\n" +
|
||||
"\t\t<div class=\"text4\">\n" +
|
||||
"\t\t\t联系方式:" + courier.getPhone() + " \n" +
|
||||
"\t\t\t送达时间:" + simpleDateFormat.format(nowDate.getTime()) + "<br /><br />\n" +
|
||||
"\t\t</div>";
|
||||
"尊敬的" + account.getUsername() + "您好:\n" +
|
||||
"</div>\n" +
|
||||
"<div class=\"text3\">\n" +
|
||||
"您的快递已被小飞侠" + courier.getUsername() + "送达!<br /><br />\n" +
|
||||
"</div>\n" +
|
||||
"<div class=\"text4\">\n" +
|
||||
"联系方式:" + courier.getPhone() + "<br /> \n" +
|
||||
"送达时间:" + simpleDateFormat.format(nowDate.getTime()) + "<br />\n" +
|
||||
"</div>";
|
||||
Messages messages = new Messages(account.getId(), title, msgcontent);
|
||||
Integer mtype = messagesDao.insertMessage(messages);
|
||||
if (mtype != 1) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue