Ejemplo n.º 1
0
 public int GetProjectCountByComId(int comid)
 {
     using (var helper = new SqlHelper())
     {
         int count = new Internal_b2b_com_project(helper).GetProjectCountByComId(comid);
         return(count);
     }
 }
Ejemplo n.º 2
0
 public List <B2b_com_pro> ProlistbyProjectid(int pageindex, int pagesize, int agentid, int projectid, out int totalcount)
 {
     using (var helper = new SqlHelper())
     {
         var result = new Internal_b2b_com_project(helper).ProlistbyProjectid(pageindex, pagesize, agentid, projectid, out totalcount);
         return(result);
     }
 }
Ejemplo n.º 3
0
 public IList <B2b_com_project> Projectpagelist(string comid, int pageindex, int pagesize, string projectstate, out int totalcount, string key = "", int runpro = 0, int projectid = 0, int servertype = 0)
 {
     using (var helper = new SqlHelper())
     {
         IList <B2b_com_project> result = new Internal_b2b_com_project(helper).Projectpagelist(comid, pageindex, pagesize, projectstate, out totalcount, key, runpro, projectid, servertype);
         return(result);
     }
 }
Ejemplo n.º 4
0
 public List <Agent_regiinfo> ProjectAgentlist(int pageindex, int pagesize, int comid, int projectid, out int totalcount)
 {
     using (var helper = new SqlHelper())
     {
         var result = new Internal_b2b_com_project(helper).ProjectAgentlist(pageindex, pagesize, comid, projectid, out totalcount);
         return(result);
     }
 }
Ejemplo n.º 5
0
 public string GetAgentPhonelist(int comid)
 {
     using (var helper = new SqlHelper())
     {
         var result = new Internal_b2b_com_project(helper).GetAgentPhonelist(comid);
         return(result);
     }
 }
Ejemplo n.º 6
0
 public int GetProjectBindingid(int projectid)
 {
     using (var helper = new SqlHelper())
     {
         var result = new Internal_b2b_com_project(helper).GetProjectBindingid(projectid);
         return(result);
     }
 }
Ejemplo n.º 7
0
 public List <B2b_com_project> Projectlist(int pageindex, int pagesize, int agentid, out int totalcount, string key = "")
 {
     using (var helper = new SqlHelper())
     {
         var result = new Internal_b2b_com_project(helper).Projectlist(pageindex, pagesize, agentid, out totalcount, key);
         return(result);
     }
 }
Ejemplo n.º 8
0
 public B2b_com_project GetProject(int projectid, int comid)
 {
     using (var helper = new SqlHelper())
     {
         B2b_com_project result = new Internal_b2b_com_project(helper).GetProject(projectid, comid);
         return(result);
     }
 }
Ejemplo n.º 9
0
 public string GetProjectname(int projectid)
 {
     using (var helper = new SqlHelper())
     {
         string result = new Internal_b2b_com_project(helper).GetProjectname(projectid);
         return(result);
     }
 }
Ejemplo n.º 10
0
 public int GetProjectUnyuding(int projectid)
 {
     using (var helper = new SqlHelper())
     {
         var r = new Internal_b2b_com_project(helper).GetProjectUnyuding(projectid);
         return(r);
     }
 }
Ejemplo n.º 11
0
 public List <B2b_com_project> Selprojectlist(int comid)
 {
     using (var helper = new SqlHelper())
     {
         List <B2b_com_project> r = new Internal_b2b_com_project(helper).Selprojectlist(comid);
         return(r);
     }
 }
Ejemplo n.º 12
0
 public int SortMenu(string menuid, int sortid)
 {
     using (var helper = new SqlHelper())
     {
         var id = new Internal_b2b_com_project(helper).SortMenu(menuid, sortid);
         return(id);
     }
 }
Ejemplo n.º 13
0
 public int EditProject(B2b_com_project model)
 {
     using (var helper = new SqlHelper())
     {
         int id = new Internal_b2b_com_project(helper).EditProject(model);
         return(id);
     }
 }
Ejemplo n.º 14
0
 public IList <B2b_com_project> Projectlist(string comid, string projectstate, out int totalcount, int prosort = 0)
 {
     using (var helper = new SqlHelper())
     {
         IList <B2b_com_project> result = new Internal_b2b_com_project(helper).Projectpagelist(comid, projectstate, out totalcount, prosort);
         return(result);
     }
 }
Ejemplo n.º 15
0
 public string  GetProjectNameByid(int projectid)
 {
     using (var helper = new SqlHelper())
     {
         string r = new Internal_b2b_com_project(helper).GetProjectNameByid(projectid);
         return(r);
     }
 }
Ejemplo n.º 16
0
        public List <B2b_com_project> ProjectSelectpagelist(int projectstate, int pageindex, int pagesize, string key, out int totalcount, int proclass, string comid, int projectid = 0, int price = 0)
        {
            using (var sql = new SqlHelper())
            {
                try
                {
                    var result = new Internal_b2b_com_project(sql).ProjectSelectpagelist(projectstate, pageindex, pagesize, key, out totalcount, proclass, comid, projectid, price);

                    return(result);
                }
                catch
                {
                    throw;
                }
            }
        }