public MessageRecodeEntity GetMsgRecodeModel(MessageRecodeQuery query)
        {
            IMessageRecodeService service = ServiceContainer.Instance.Container.Resolve <IMessageRecodeService>();
            MessageRecodeEntity   model   = service.GetMessageRecode(query);

            return(model);
        }
        public IList <MessageRecodeEntity> GetMsgRecodeList(MessageRecodeQuery query)
        {
            IMessageRecodeService       service = ServiceContainer.Instance.Container.Resolve <IMessageRecodeService>();
            IList <MessageRecodeEntity> pager   = service.GetMessageRecodeList(query);

            return(pager);
        }
 public bool SaveSendRecode(IList <MessageRecodeEntity> list)
 {
     try
     {
         IMessageRecodeService service = ServiceContainer.Instance.Container.Resolve <IMessageRecodeService>();
         return(service.SaveSendRecode(list));
     }
     catch (Exception ex)
     {
         LogProvider.Instance.Error("保存发送记录异常:" + ex.Message);
         return(false);
     }
 }