public virtual bool IsContains(DataRow row)
        {
            var nowDate   = DateTime.Now.ToString("M:d");
            var days      = MySqlHelper.GetString(row, "executedays");
            var isContain = days.Split(',').Contains(nowDate);

            return(isContain);
        }
Beispiel #2
0
        public override bool IsContains(DataRow row)
        {
            var day = string.Format("{0}日", DateTime.Now.Day);

            var dayList = MySqlHelper.GetString(row, "executedays");

            var isContain = dayList.Split(",").Contains(day);

            return(isContain);
        }
        // 获取客户数
        public virtual List <MarketCustomerModel> GetCustomerList(LeafletEntity leaflet, DataRow row)
        {
            var marketingCustomerList = jobMarketingHelper.GetMarketingCustomerByEventQuery(leaflet.ShopID,
                                                                                            MySqlHelper.GetString(row, "analyzecondition"),
                                                                                            IsAdvisercreateEvent,
                                                                                            leaflet.CommunicationtypeEnum
                                                                                            ) ?? new List <MarketCustomerModel>();

            return(marketingCustomerList);
        }