예제 #1
0
파일: MsgBLL.cs 프로젝트: fubendong/--CTCRM
        public static bool DeleteMsgHisForReminder(string sellerNick, string startDate, string endDate, string sendType)
        {
            DataTable dt = MsgDAL.GetSellerMsgSendHisForReminder(sellerNick, startDate, endDate, sendType, "", "");

            if (dt != null && dt.Rows.Count > 0)
            {
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    try
                    {
                        string transNumber = dt.Rows[i]["transNumber"].ToString();
                        MsgDAL.DeleteMsgHisForReminder(transNumber);
                    }
                    catch (Exception ex)
                    {
                        continue;
                    }
                }
            }
            return(true);
        }
예제 #2
0
파일: MsgBLL.cs 프로젝트: fubendong/--CTCRM
 public static DataTable GetSellerMsgSendHisForReminder(string sellerNick, string startDate, string endDate, string sendType, string helpSellerNick, string buyerPhone)
 {
     return(MsgDAL.GetSellerMsgSendHisForReminder(sellerNick, startDate, endDate, sendType, helpSellerNick, buyerPhone));
 }