Пример #1
0
        public System.Data.DataSet GetAvailablePkgs(int clubCardID)
        {
            ClubCardPackage _daoClubCardPkg = new ClubCardPackage();
            StringBuilder strSql = new StringBuilder();
            string strWhere = "";

            strSql.AppendFormat(" ClubCardID = '{0}' AND  PackageStatus = {1} ", clubCardID, (int)CardSPackageStatus.Available);
            strWhere = strSql.ToString();

            return _daoClubCardPkg.GetList(strWhere);
        }
Пример #2
0
 public Model.PO.ClubCardPackagePO GetClubCardPkgByID(string id)
 {
     ClubCardPackage _daoClubCardPkg = new ClubCardPackage();
     return _daoClubCardPkg.GetModel(id);
 }