Example #1
0
 public override void Step(LeafletEntity leaflet, DataRow row)
 {
     // 非顾问
     leaflet.Title        = MySqlHelper.GetString(row, "title");
     leaflet.SMSContent   = leaflet.CommunicationtypeEnum.HasFlag(CommunicationtypeEnum.短信) ? MySqlHelper.GetString(row, "content") : string.Empty;
     leaflet.EDMContent   = leaflet.CommunicationtypeEnum.HasFlag(CommunicationtypeEnum.邮件) ? MySqlHelper.GetString(row, "content") : string.Empty;
     leaflet.MMSContent   = leaflet.CommunicationtypeEnum.HasFlag(CommunicationtypeEnum.彩信) ? MySqlHelper.GetString(row, "content") : string.Empty;
     leaflet.SendSMSCount = Convert.ToInt32(row["sendcount"]);
 }
Example #2
0
        public override void Step(LeafletEntity leaflet, DataRow row)
        {
            var communicationInfo = new LeafletEntity(); // 数据获取

            if (leaflet.CommunicationtypeEnum.HasFlag(CommunicationtypeEnum.彩信))
            {
                leaflet.MMSContent = communicationInfo.MMSContent;
            }
            throw new NotImplementedException();
        }
Example #3
0
 public abstract void Step(LeafletEntity leaflet, DataRow row);
 public void Setup(LeafletEntity leaflet, DataRow row)
 {
     this.setup.Step(leaflet, row);
 }