Procházet zdrojové kódy

修改负责人为多个

YPZ před 1 měsícem
rodič
revize
6c722d013b

+ 3 - 0
java/storlead-sasa/storlead-trade/src/main/java/com/storlead/trade/service/impl/MarketingCampaignSopDetailServiceImpl.java

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