|
@@ -125,8 +125,11 @@ public class MarketingCampaignSopDetailServiceImpl
|
|
|
for (MarketEmailsEntity marketEmailsEntity : marketEmailsEntityList) {
|
|
for (MarketEmailsEntity marketEmailsEntity : marketEmailsEntityList) {
|
|
|
CustomerVO customerEntity = customerEntityMap.get(marketEmailsEntity.getCustomerId());
|
|
CustomerVO customerEntity = customerEntityMap.get(marketEmailsEntity.getCustomerId());
|
|
|
if (customerEntity != null) {
|
|
if (customerEntity != null) {
|
|
|
|
|
+// ${areaName}$、${customerIndustry}$
|
|
|
//修改emailContent中全部的${customerName}$为customerEntity.getCustomerName()
|
|
//修改emailContent中全部的${customerName}$为customerEntity.getCustomerName()
|
|
|
emailContent = emailContent.replace("${customerName}$", customerEntity.getCustomerName())
|
|
emailContent = emailContent.replace("${customerName}$", customerEntity.getCustomerName())
|
|
|
|
|
+ .replace("${areaName}$", customerEntity.getCountry())
|
|
|
|
|
+ .replace("${customerIndustry}$", customerEntity.getCustomerCompany().getIndustry())
|
|
|
.replace("${yourName}$", yourName)
|
|
.replace("${yourName}$", yourName)
|
|
|
.replace("${yourTitle}$", yourTitle)
|
|
.replace("${yourTitle}$", yourTitle)
|
|
|
.replace("${yourCompany}$", yourCompany)
|
|
.replace("${yourCompany}$", yourCompany)
|