Пример #1
0
 public int Changefenzu(int crmid, int groupid)
 {
     using (var helper = new SqlHelper())
     {
         int result = new InternalB2b_group(helper).Changefenzu(crmid, groupid);
         return(result);
     }
 }
Пример #2
0
 public IList <B2b_group> GetCompanyB2bgroup(out int total, int comid)
 {
     using (var helper = new SqlHelper())
     {
         IList <B2b_group> result = new InternalB2b_group(helper).GetCompanyB2bgroup(out total, comid);
         return(result);
     }
 }
Пример #3
0
 public int Delb2bgroup(int groupid)
 {
     using (var helper = new SqlHelper())
     {
         int result = new InternalB2b_group(helper).Delb2bgroup(groupid);
         return(result);
     }
 }
Пример #4
0
 public int EditB2bGroup(int id, string name, int comid, int userid, string remark, DateTime createtime)
 {
     using (var helper = new SqlHelper())
     {
         int result = new InternalB2b_group(helper).EditB2bGroup(id, name, comid, userid, remark, createtime);
         return(result);
     }
 }
Пример #5
0
 public B2b_group GetB2bgroup(int groupid)
 {
     using (var helper = new SqlHelper())
     {
         B2b_group result = new InternalB2b_group(helper).GetB2bgroup(groupid);
         return(result);
     }
 }
Пример #6
0
 public IList <B2b_group> GetCrmGroupList(out int total, int comid, int pageindex, int pagesize)
 {
     using (var helper = new SqlHelper())
     {
         IList <B2b_group> result = new InternalB2b_group(helper).GetCrmGroupList(out total, comid, pageindex, pagesize);
         return(result);
     }
 }
Пример #7
0
 public string GetB2bgroupName(int groupid)
 {
     using (var helper = new SqlHelper())
     {
         B2b_group result = new InternalB2b_group(helper).GetB2bgroup(groupid);
         if (result == null)
         {
             return("默认组");
         }
         else
         {
             return(result.Groupname);
         }
     }
 }