Ejemplo n.º 1
0
 /// <summary>
 /// 邮件实体
 /// </summary>
 /// <param name="keyValue">主键值</param>
 /// <returns></returns>
 public EmailContentEntity GetEntity(string keyValue)
 {
     EmailContentEntity emailContentEntity = service.GetEntity(keyValue);
     if (emailContentEntity != null)
     {
         emailContentEntity.AddresssHtml = WebHelper.HtmlDecode(emailContentEntity.AddresssHtml);
         emailContentEntity.CopysendHtml = WebHelper.HtmlDecode(emailContentEntity.CopysendHtml);
         emailContentEntity.BccsendHtml = WebHelper.HtmlDecode(emailContentEntity.BccsendHtml);
     }
     return emailContentEntity;
 }