Exemplo n.º 1
0
 public WxMaterial logGetidinfo(string promotetype)
 {
     using (var helper = new SqlHelper())
     {
         WxMaterial wxmaterial = new InternalWxMaterial(helper).logGetidinfo(promotetype);
         return(wxmaterial);
     }
 }
Exemplo n.º 2
0
 public int Delwxmenu(int wxmenuid)
 {
     using (var helper = new SqlHelper())
     {
         var id = new InternalWxMaterial(helper).Delwxmenu(wxmenuid);
         return(id);
     }
 }
Exemplo n.º 3
0
 public WxMaterial Getidinfo(int id)
 {
     using (var helper = new SqlHelper())
     {
         WxMaterial wxmaterial = new InternalWxMaterial(helper).Getidinfo(id);
         return(wxmaterial);
     }
 }
Exemplo n.º 4
0
 public int EditMaterial(WxMaterial material)
 {
     using (var helper = new SqlHelper())
     {
         var id = new InternalWxMaterial(helper).EditMaterial(material);
         return(id);
     }
 }
Exemplo n.º 5
0
 public periodical selectWxsaletype(int Wxsaletype, int comid)
 {
     using (var helper = new SqlHelper())
     {
         periodical wxmaterial = new InternalWxMaterial(helper).selectWxsaletype(Wxsaletype, comid);
         return(wxmaterial);
     }
 }
Exemplo n.º 6
0
 public int DelWxKeyWord(int materialid)
 {
     using (var helper = new SqlHelper())
     {
         var id = new InternalWxMaterial(helper).DelWxKeyWord(materialid);
         return(id);
     }
 }
Exemplo n.º 7
0
 public int Editperiod(periodical model)
 {
     using (var helper = new SqlHelper())
     {
         var id = new InternalWxMaterial(helper).Editperiod(model);
         return(id);
     }
 }
Exemplo n.º 8
0
 /// <summary>
 ///  插入Reservation数据
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public int insert_Res(Reservation model)
 {
     using (var helper = new SqlHelper())
     {
         var num = new InternalWxMaterial(helper).insert_Res(model);
         return(num);
     }
 }
Exemplo n.º 9
0
 public int SortMaterial(string materialid, int sortid)
 {
     using (var helper = new SqlHelper())
     {
         var id = new InternalWxMaterial(helper).SortMaterial(materialid, sortid);
         return(id);
     }
 }
Exemplo n.º 10
0
 /// <summary>
 ///  期
 /// </summary>
 /// <param name="periodicalid"></param>
 /// <returns></returns>
 public periodical selectperiodical(int periodicalid)
 {
     using (var helper = new SqlHelper())
     {
         periodical wxmaterial = new InternalWxMaterial(helper).selectperiodical(periodicalid);
         return(wxmaterial);
     }
 }
Exemplo n.º 11
0
 public int FrowardingSetCannel(int materialid, int comid)
 {
     using (var helper = new SqlHelper())
     {
         var id = new InternalWxMaterial(helper).FrowardingSetCannel(materialid, comid);
         return(id);
     }
 }
Exemplo n.º 12
0
 public WxMaterial GetWxMaterial(int comid, int materialid)
 {
     using (var helper = new SqlHelper())
     {
         WxMaterial wxmaterial = new InternalWxMaterial(helper).GetWxMaterial(comid, materialid);
         return(wxmaterial);
     }
 }
Exemplo n.º 13
0
 public int Delmaterialtype(int typeid, int comid)
 {
     using (var helper = new SqlHelper())
     {
         int count = new InternalWxMaterial(helper).Delmaterialtype(typeid, comid);
         return(count);
     }
 }
Exemplo n.º 14
0
 internal IList <WxMaterial> GetWxMateriallistbytypeid(int wxmaterialtypeid, int topnums)
 {
     using (var helper = new SqlHelper())
     {
         IList <WxMaterial> r = new InternalWxMaterial(helper).GetWxMateriallistbytypeid(wxmaterialtypeid, topnums);
         return(r);
     }
 }
Exemplo n.º 15
0
 public int GetWxMaterialCountByPercal(int comid, int Wxsaletypeid, int percal)
 {
     using (var helper = new SqlHelper())
     {
         int count = new InternalWxMaterial(helper).GetWxMaterialCountByPercal(comid, Wxsaletypeid, percal);
         return(count);
     }
 }
Exemplo n.º 16
0
 public int GetNewestPerical(int Wxsaletypeid, int comid)
 {
     using (var helper = new SqlHelper())
     {
         int count = new InternalWxMaterial(helper).GetNewestPerical(Wxsaletypeid, comid);
         return(count);
     }
 }
Exemplo n.º 17
0
 public int FrowardingSetSearch(int materialid)
 {
     using (var helper = new SqlHelper())
     {
         var id = new InternalWxMaterial(helper).FrowardingSetSearch(materialid);
         return(id);
     }
 }
Exemplo n.º 18
0
 public int FrowardingSetList(int comid)
 {
     using (var helper = new SqlHelper())
     {
         var id = new InternalWxMaterial(helper).FrowardingSetList(comid);
         return(id);
     }
 }
Exemplo n.º 19
0
 public periodical Selperiod(int percal, int wxtype)
 {
     using (var helper = new SqlHelper())
     {
         periodical wxmaterial = new InternalWxMaterial(helper).Selperiod(percal, wxtype);
         return(wxmaterial);
     }
 }
Exemplo n.º 20
0
 public int InsMaterialKey(int MaterialId, string keyword)
 {
     using (var helper = new SqlHelper())
     {
         var id = new InternalWxMaterial(helper).InsMaterialKey(MaterialId, keyword);
         return(id);
     }
 }
Exemplo n.º 21
0
 /// <summary>
 ///  添加 期
 /// </summary>
 /// <param name="periodicalid"></param>
 /// <returns></returns>
 public int Addperiod(int period, int comid, int Wxsaletypeid, int percal)
 {
     using (var helper = new SqlHelper())
     {
         int periodical = new InternalWxMaterial(helper).Addperiod(period, comid, Wxsaletypeid, percal);
         return(periodical);
     }
 }
Exemplo n.º 22
0
        internal IList <WxMaterial> GetLatestWxMaterial()
        {
            using (var helper = new SqlHelper())
            {
                var list = new InternalWxMaterial(helper).GetLatestWxMaterial();

                return(list);
            }
        }
Exemplo n.º 23
0
        public string upRes(Reservation quren)
        {
            using (var helper = new SqlHelper())
            {
                var res = new InternalWxMaterial(helper).upRes(quren);

                return(res.ToString());
            }
        }
Exemplo n.º 24
0
        public Reservation Res_id(int id, int comid)
        {
            using (var helper = new SqlHelper())
            {
                var list = new InternalWxMaterial(helper).Res_id(id, comid);

                return(list);
            }
        }
Exemplo n.º 25
0
        public List <Reservation> ResSearchList(string comid, int pageindex, int pagesize, string key, bool isNum, out int totalcount)
        {
            using (var helper = new SqlHelper())
            {
                var list = new InternalWxMaterial(helper).ResSearchList(comid, pageindex, pagesize, key, isNum, out totalcount);

                return(list);
            }
        }
Exemplo n.º 26
0
        public List <Reservation> Res_LoadingList(string comid, int pageindex, int pagesize, out int totalcount, int userid = 0)
        {
            using (var helper = new SqlHelper())
            {
                var list = new InternalWxMaterial(helper).Res_LoadingList(comid, pageindex, pagesize, out totalcount, userid);

                return(list);
            }
        }
Exemplo n.º 27
0
        internal IList <WxMaterial> GetWxMaterialByKeyword(string keyword, int comid)
        {
            using (var helper = new SqlHelper())
            {
                var list = new InternalWxMaterial(helper).GetWxMaterialByKeyword(keyword, comid);

                return(list);
            }
        }
Exemplo n.º 28
0
        public IList <WxMaterial> GetMaterialByPromoteType(int promotetypeid, out int totalcount)
        {
            using (var helper = new SqlHelper())
            {
                var list = new InternalWxMaterial(helper).GetMaterialByPromoteType(promotetypeid, out totalcount);

                return(list);
            }
        }
Exemplo n.º 29
0
        internal IList <WxMaterial> GetWxMaterialByNewestPeriodical(int pageindex, int pagesize, int applystate, int promotetypeid, int perical, int comid, out int totalcount)
        {
            using (var helper = new SqlHelper())
            {
                var list = new InternalWxMaterial(helper).PageList(pageindex, pagesize, applystate, promotetypeid, perical, comid, out totalcount);

                return(list);
            }
        }
Exemplo n.º 30
0
        public string GetWxMaterialKeyWordStrByMaterialId(int materialid)
        {
            using (var helper = new SqlHelper())
            {
                var keys = new InternalWxMaterial(helper).GetWxMaterialKeyWordStrByMaterialId(materialid);

                return(keys);
            }
        }