Commit d2f5b778 by zhangxingmin

push

parent cca7172d
...@@ -206,7 +206,10 @@ public class ApiEmailContactServiceImpl implements ApiEmailContactService { ...@@ -206,7 +206,10 @@ public class ApiEmailContactServiceImpl implements ApiEmailContactService {
String companyName = Optional.ofNullable(emailContact.getCompanyName()) String companyName = Optional.ofNullable(emailContact.getCompanyName())
.orElse(""); .orElse("");
result = result.replace(GeneralVariableEnum.GENERAL_CONTACT.getItemValue(), name) result = result
.replace(GeneralVariableEnum.GENERAL_EMAIL.getItemValue(), name)
.replace(GeneralVariableEnum.GENERAL_CC_EMAIL.getItemValue(), name)
.replace(GeneralVariableEnum.GENERAL_CONTACT.getItemValue(), name)
.replace(GeneralVariableEnum.GENERAL_APPELLATION.getItemValue(), appellation) .replace(GeneralVariableEnum.GENERAL_APPELLATION.getItemValue(), appellation)
.replace(GeneralVariableEnum.GENERAL_COMPANTNAME.getItemValue(), companyName); .replace(GeneralVariableEnum.GENERAL_COMPANTNAME.getItemValue(), companyName);
} }
......
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