예제 #1
0
 public WxSubscribeDetail GetWXSourceByOpenId(string openid)
 {
     using (var helper = new SqlHelper())
     {
         var count = new InternalWxSubscribeSource(helper).GetWXSourceByOpenId(openid);
         return(count);
     }
 }
예제 #2
0
 public WxSubscribeSource Getwxqrcode(int qrcodeid)
 {
     using (var helper = new SqlHelper())
     {
         var count = new InternalWxSubscribeSource(helper).Getwxqrcode(qrcodeid);
         return(count);
     }
 }
예제 #3
0
 /// <summary>
 /// 判断二维码是否已经生成过
 /// </summary>
 /// <param name="comid"></param>
 /// <param name="sourcetype"></param>
 /// <param name="promoteact"></param>
 /// <param name="promotechannelcompany"></param>
 /// <returns></returns>
 public int WhetherCreated(int comid, int sourcetype, int promoteact, int promotechannelcompany)
 {
     using (var helper = new SqlHelper())
     {
         var count = new InternalWxSubscribeSource(helper).WheherCreated(comid, sourcetype, promoteact, promotechannelcompany);
         return(count);
     }
 }
예제 #4
0
 public int WhetherSameExplain(string qrcodename, int comid)
 {
     using (var helper = new SqlHelper())
     {
         var count = new InternalWxSubscribeSource(helper).WhetherSameExplain(qrcodename, comid);
         return(count);
     }
 }
예제 #5
0
 /// <summary>
 /// 判断是否已经创建过渠道人的带参二维码
 /// </summary>
 /// <param name="channelid"></param>
 /// <returns></returns>
 public bool Ishascreate_paramqrcode(int channelid)
 {
     using (var helper = new SqlHelper())
     {
         var count = new InternalWxSubscribeSource(helper).Ishascreate_paramqrcode(channelid);
         return(count);
     }
 }
예제 #6
0
        public List <WxSubscribeSource> GetWXSourcelist2(int comid, string wxsourcetype, int pageindex, int pagesize, string onlinestatus, out int totalcount)
        {
            using (var helper = new SqlHelper())
            {
                var list = new InternalWxSubscribeSource(helper).GetWXSourcelist2(comid, wxsourcetype, pageindex, pagesize, onlinestatus, out totalcount);

                return(list);
            }
        }
예제 #7
0
        public int EditSubscribeSource(WxSubscribeSource source)
        {
            using (var helper = new SqlHelper())
            {
                var list = new InternalWxSubscribeSource(helper).EditSubscribeSource(source);

                return(list);
            }
        }
예제 #8
0
        public List <WxSubscribeSource> SeledWXSourcelist(int comid, int wxsourcetype, int pageindex, int pagesize, out int totalcount, string onlinestatus = "1")
        {
            using (var helper = new SqlHelper())
            {
                var list = new InternalWxSubscribeSource(helper).SeledWXSourcelist(comid, wxsourcetype, pageindex, pagesize, out totalcount, onlinestatus);

                return(list);
            }
        }
예제 #9
0
        public WxSubscribeSource GetReserveproVerifywxqrcode(int comid, int qrcodeviewtype)
        {
            using (var helper = new SqlHelper())
            {
                WxSubscribeSource m = new InternalWxSubscribeSource(helper).GetReserveproVerifywxqrcode(comid, qrcodeviewtype);

                return(m);
            }
        }
예제 #10
0
        public WxSubscribeSource Getchannelwxqrcodebychannelid(int channelid)
        {
            using (var helper = new SqlHelper())
            {
                WxSubscribeSource m = new InternalWxSubscribeSource(helper).Getchannelwxqrcodebychannelid(channelid);

                return(m);
            }
        }
예제 #11
0
        public WxSubscribeSource GetWXSourceByChannelcompanyid(int channelcompanyid)
        {
            using (var helper = new SqlHelper())
            {
                var m = new InternalWxSubscribeSource(helper).GetWXSourceByChannelcompanyid(channelcompanyid);

                return(m);
            }
        }
예제 #12
0
        public WxSubscribeSource GetWXSourceById(int subscribesourceid)
        {
            using (var helper = new SqlHelper())
            {
                var m = new InternalWxSubscribeSource(helper).GetWXSourceById(subscribesourceid);

                return(m);
            }
        }