Commit c8985adb by wenyang

电子报聘邀请链接3

parent aa51ae7c
......@@ -1517,11 +1517,11 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
String templateId = systemConfigService.getSingleConfigValue("Recruit_TENCENT_WECHAT_TEMPLATE_ID_ZJ");
String color = systemConfigService.getSingleConfigValue("TENCENT_WECHAT_TEMPLATE_COLOR_XB");
TemplateDataInfo dataInfo = new TemplateDataInfo();
DataDetailInfo first = new DataDetailInfo("", null);
DataDetailInfo first = new DataDetailInfo("微信链接邀请增员成功", null);
DataDetailInfo keyword1 = new DataDetailInfo(name +"-"+mobileNo, color);
DataDetailInfo keyword2 = new DataDetailInfo(practitionerInfo.getName()+"分享的微信链接邀请", color);
DataDetailInfo keyword3 = new DataDetailInfo(CommonUtil.dateParseString(new Date(),"yyyy-MM-dd HH:mm:ss"), null);
DataDetailInfo remark = new DataDetailInfo("", null);
DataDetailInfo remark = new DataDetailInfo("请及时联系客户,如有需要,请发送电子报聘链接给客户申请报聘", null);
dataInfo.setFirst(first);
dataInfo.setKeyword1(keyword1);
dataInfo.setKeyword2(keyword2);
......@@ -1542,7 +1542,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
String ccEmail = systemConfigService.getSingleConfigValue("OPERATE_CC_EMAIL");//运营抄送邮箱
String[] ccAddress = ccEmail.split(",");
String subject = systemConfigService.getSingleConfigValue("OPERATE_SUBJECT_TEXT");//通知标题
subject = subject.replace("courseName", name).replace("mobileNo", mobileNo).replace("potentialName", practitionerInfo.getName());
subject = subject.replace("customerName", name).replace("mobileNo", mobileNo).replace("potentialName", practitionerInfo.getName());
String messageText = systemConfigService.getSingleConfigValue("OPERATE_MESSAGE_TEXT");//通知内容
messageText = messageText.replace("customerName", name).replace("mobileNo", mobileNo).replace("potentialName", practitionerInfo.getName());
sendService.sendEmailOrSMS("email", toAddress, "3", messageText.toString(), null, subject, ccAddress, "微信链接邀请增员", 99, null, null);
......
......@@ -19,7 +19,7 @@ public class AclSystemMessageServiceImpl implements AclSystemMessageService {
}
public void save(AclSystemMessage aclSystemMessage) {
if(aclSystemMessage.getId() != null){
if(aclSystemMessage.getId() == null){
aclSystemMessageMapper.insert(aclSystemMessage);
}else{
aclSystemMessageMapper.updateByPrimaryKey(aclSystemMessage);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment