Beispiel #1
0
        public static bool database(string id)
        {
            int count = VipsDAL.database(id);

            if (count >= 1)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Beispiel #2
0
        public static bool update(VipGrade list)
        {
            int count = VipsDAL.update(list);

            if (count >= 1)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Beispiel #3
0
        public static bool insert(string jiname, string zhe)
        {
            int count = VipsDAL.insert(jiname, zhe);

            if (count >= 1)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Beispiel #4
0
        //修改会员
        public static bool upbyid(Vips v)
        {
            int count = VipsDAL.upbyid(v);

            return(count >= 1 ? true : false);
        }
Beispiel #5
0
        //添加会员
        public static bool Insert(Vips v)
        {
            int count = VipsDAL.Insert(v);

            return(count >= 1 ? true : false);
        }
Beispiel #6
0
 //查询最大的ID
 public static int selectID()
 {
     return(VipsDAL.selectID());
 }
Beispiel #7
0
 public static int AddVip(VipsMDL v)
 {
     return(VipsDAL.AddVip(v));
 }
Beispiel #8
0
 public static List <Vips> Sel(int Sidi)
 {
     return(VipsDAL.Sel(Sidi));
 }
Beispiel #9
0
 //添加管理员
 public static int getAddVip(VipsModel vip)
 {
     return(VipsDAL.getAddVip(vip));
 }
Beispiel #10
0
 //会员插入等级查询
 public static object getTableVipIndex(string name)
 {
     return(VipsDAL.getTableVipIndex(name));
 }
Beispiel #11
0
 //会员添加修改等级查询
 public static DataTable getTableVipIndex()
 {
     return(VipsDAL.getTableVipIndex());
 }
Beispiel #12
0
 public static int UpdateVip(VipsMDL v)
 {
     return(VipsDAL.UpdateVip(v));
 }
Beispiel #13
0
 public static DataTable GetJL()
 {
     return(VipsDAL.GetJL());
 }
Beispiel #14
0
 public static int DeleteVip(int VipID)
 {
     return(VipsDAL.DeleteVip(VipID));
 }
Beispiel #15
0
 public static int GetMaxID()
 {
     return(VipsDAL.GetMaxID());
 }
Beispiel #16
0
        //根据编号删除会员
        public static bool delete(int id)
        {
            int count = VipsDAL.delete(id);

            return(count >= 1 ? true : false);
        }
Beispiel #17
0
 //根据编号或者姓名查询会员信息
 public static List <Vips> Sel(string Sid)
 {
     return(VipsDAL.Sel(Sid));
 }
Beispiel #18
0
 //删除
 public static int getDeleteVip(VipsModel vip)
 {
     return(VipsDAL.getDeleteVip(vip));
 }
Beispiel #19
0
 public static List <VipGrade> selectvip()
 {
     return(VipsDAL.selectvip());
 }
Beispiel #20
0
 //查询
 public static DataTable getSelectVip(VipsModel vip)
 {
     return(VipsDAL.getSelectVip(vip));
 }
Beispiel #21
0
 //结账查询
 public static DataTable getTableJZ()
 {
     return(VipsDAL.getTableJZ());
 }
Beispiel #22
0
 //查询会员等级表
 public static List <VIPGrades> selVG()
 {
     return(VipsDAL.selVG());
 }
Beispiel #23
0
 //查询全部会员信息
 public static List <Vips> select()
 {
     return(VipsDAL.select());
 }
Beispiel #24
0
 public static List <VipsMDL> GetVips(int VipID)
 {
     return(VipsDAL.GetVips(VipID));
 }