public static bool database(string id) { int count = VipsDAL.database(id); if (count >= 1) { return(true); } else { return(false); } }
public static bool update(VipGrade list) { int count = VipsDAL.update(list); if (count >= 1) { return(true); } else { return(false); } }
public static bool insert(string jiname, string zhe) { int count = VipsDAL.insert(jiname, zhe); if (count >= 1) { return(true); } else { return(false); } }
//修改会员 public static bool upbyid(Vips v) { int count = VipsDAL.upbyid(v); return(count >= 1 ? true : false); }
//添加会员 public static bool Insert(Vips v) { int count = VipsDAL.Insert(v); return(count >= 1 ? true : false); }
//查询最大的ID public static int selectID() { return(VipsDAL.selectID()); }
public static int AddVip(VipsMDL v) { return(VipsDAL.AddVip(v)); }
public static List <Vips> Sel(int Sidi) { return(VipsDAL.Sel(Sidi)); }
//添加管理员 public static int getAddVip(VipsModel vip) { return(VipsDAL.getAddVip(vip)); }
//会员插入等级查询 public static object getTableVipIndex(string name) { return(VipsDAL.getTableVipIndex(name)); }
//会员添加修改等级查询 public static DataTable getTableVipIndex() { return(VipsDAL.getTableVipIndex()); }
public static int UpdateVip(VipsMDL v) { return(VipsDAL.UpdateVip(v)); }
public static DataTable GetJL() { return(VipsDAL.GetJL()); }
public static int DeleteVip(int VipID) { return(VipsDAL.DeleteVip(VipID)); }
public static int GetMaxID() { return(VipsDAL.GetMaxID()); }
//根据编号删除会员 public static bool delete(int id) { int count = VipsDAL.delete(id); return(count >= 1 ? true : false); }
//根据编号或者姓名查询会员信息 public static List <Vips> Sel(string Sid) { return(VipsDAL.Sel(Sid)); }
//删除 public static int getDeleteVip(VipsModel vip) { return(VipsDAL.getDeleteVip(vip)); }
public static List <VipGrade> selectvip() { return(VipsDAL.selectvip()); }
//查询 public static DataTable getSelectVip(VipsModel vip) { return(VipsDAL.getSelectVip(vip)); }
//结账查询 public static DataTable getTableJZ() { return(VipsDAL.getTableJZ()); }
//查询会员等级表 public static List <VIPGrades> selVG() { return(VipsDAL.selVG()); }
//查询全部会员信息 public static List <Vips> select() { return(VipsDAL.select()); }
public static List <VipsMDL> GetVips(int VipID) { return(VipsDAL.GetVips(VipID)); }