Ejemplo n.º 1
0
        /// <summary>
        /// 删除已经删除的信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public static bool DelMessageDropbyID(int id)
        {
            BLL.CommonClass.ChangeLogs cl_h_info = new BLL.CommonClass.ChangeLogs("V_DroppedMessage", "ltrim(rtrim(id))");
            cl_h_info.AddRecord(id);
            cl_h_info.DeletedIntoLogs(BLL.CommonClass.ChangeCategory.company22, id.ToString(), BLL.CommonClass.ENUM_USERTYPE.objecttype10);

            return(MessageSendDAL.DelMessageDropbyID(id));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 根据id删除发件箱的信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public static bool DelMessageSendById(int id, string optr, int OperatorType)
        {
            //MessageSendDAL dao = new MessageSendDAL();

            BLL.CommonClass.ChangeLogs cl_h_info = new BLL.CommonClass.ChangeLogs("MessageSend", "ltrim(rtrim(id))");
            cl_h_info.AddRecord(id);
            cl_h_info.DeletedIntoLogs(BLL.CommonClass.ChangeCategory.company21, id.ToString(), BLL.CommonClass.ENUM_USERTYPE.objecttype10);

            return(MessageSendDAL.DelMessageSendById(id, optr, OperatorType));
        }
Ejemplo n.º 3
0
 /// <summary>
 /// 保存邮件
 /// </summary>
 /// <param name="message"></param>
 /// <returns></returns>
 public bool AddMessageSend(MessageSendModel message)
 {
     return(MessageSendDAL.AddMessageSend(message));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// 发布公告
 /// </summary>
 /// <param name="message"></param>
 /// <returns></returns>
 public static bool Addsendaffiche(MessageSendModel message)
 {
     return(MessageSendDAL.Addsendaffiche(message));
 }
Ejemplo n.º 5
0
 public static MessageDropModel getMessageDrop(int id)
 {
     return(MessageSendDAL.getMessageDrop(id));
 }
Ejemplo n.º 6
0
 /// <summary>
 /// 检查编号是否存在
 /// </summary>
 /// <param name="type">0管理员,1会员,2店铺</param>
 /// <param name="number">编号</param>
 /// <returns></returns>
 public static bool CheckNumber(int type, string number)
 {
     //   MessageSendDAL dao=new MessageSendDAL ();
     return(MessageSendDAL.CheckNumber(type, number));
 }
Ejemplo n.º 7
0
 public int check(string sql)
 {
     // MessageSendDAL dao = new MessageSendDAL();
     return(MessageSendDAL.check(sql));
 }
Ejemplo n.º 8
0
        public int getmessageID(int type)
        {
            MessageSendDAL dao = new MessageSendDAL();

            return(dao.getMessageID(type));
        }
Ejemplo n.º 9
0
        public int delSend(int type, int messageid)
        {
            MessageSendDAL dao = new MessageSendDAL();

            return(dao.delSend(type, messageid));
        }
Ejemplo n.º 10
0
        public string getReceive(int type)
        {
            MessageSendDAL dao = new MessageSendDAL();

            return(dao.getReceive(type));
        }
Ejemplo n.º 11
0
        public int getMessageReciveInfo(int type)
        {
            MessageSendDAL dao = new MessageSendDAL();

            return(dao.getMessageReciveInfo(type));
        }
Ejemplo n.º 12
0
        public int getReadType(string id)
        {
            MessageSendDAL dao = new MessageSendDAL();

            return(dao.getReadTypr(id));
        }
Ejemplo n.º 13
0
 public int MemberSendToManage(MessageSendModel msm)
 {
     //MessageSendDAL dao = new MessageSendDAL();
     return(MessageSendDAL.MemberSendToManage(msm));
 }
Ejemplo n.º 14
0
 public int StoreSendToManage(MessageSendModel msm)
 {
     //MessageSendDAL dao = new MessageSendDAL();
     return(MessageSendDAL.StoreSendToManage(msm));
 }
Ejemplo n.º 15
0
 /// <summary>
 /// 根据编号查询发件箱信息
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public static MessageSendModel GetMessageSendById(int id)
 {
     return(MessageSendDAL.GetMessageSendById(id));
 }
Ejemplo n.º 16
0
 public static MessageReciveModel getMessageRecive(int id)
 {
     return(MessageSendDAL.getMessageRecive(id));
 }
Ejemplo n.º 17
0
 /// <summary>
 /// 获取公告的发送角色
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public static string GetSendRole(string id)
 {
     return(MessageSendDAL.GetSendRole(id));
 }
Ejemplo n.º 18
0
        public static string getContent(int messageid)
        {
            MessageSendDAL dao = new MessageSendDAL();

            return(MessageSendDAL.getContent(messageid));
        }
Ejemplo n.º 19
0
 public string GetRole(string role)
 {
     //MessageSendDAL dao = new MessageSendDAL();
     return(MessageSendDAL.GetRole(role));
 }
Ejemplo n.º 20
0
 /// <summary>
 /// 查询指定条件的发件箱表中的记录
 /// </summary>
 /// <param name="columnNames">列名</param>
 /// <param name="conditions">查询条件</param>
 /// <returns>返回DataTable对象</returns>
 public static DataTable GetMessageSendInfoByConditions(string columnNames, string conditions)
 {
     return(MessageSendDAL.GetMessageSendInfoByConditions(columnNames, conditions));
 }