Ejemplo n.º 1
0
        public ActionResult Register3()
        {
            int memid = CookieBLL.GetRegisterCookie();

            if (memid > 0)
            {
                MemStoreEntity _en = StoreBLL.Instance.GetStoreByMemId(memid);
                if (_en != null)
                {
                    MemberEntity _mementity = MemberBLL.Instance.GetMember(memid);
                    if (_mementity.Status == (int)MemberStatus.Active)
                    {
                        //Response.Write("您已注册通过,请直接登录");
                        return(RedirectToAction("Login"));
                    }
                    else
                    {
                        ViewBag.LicensePath = _en.LicensePath;
                    }
                }
            }
            else
            {
                return(RedirectToAction("Login"));
            }
            return(View());
        }
Ejemplo n.º 2
0
        /// </summary>
        /// <returns>Store实体</returns>
        /// <param name="columns">要返回的列</param>
        public MemStoreEntity GetStoreByMemId(int memid, bool cache = false)
        {
            MemStoreEntity entity = new MemStoreEntity();

            if (cache)
            {
                string _cachekey = "GetStoreByMemId_" + memid;
                object obj       = MemCache.GetCache(_cachekey);
                if (obj == null)
                {
                    entity = MemStoreDA.Instance.GetStoreByMemId(memid);
                    MemCache.AddCache(_cachekey, entity);
                }
                else
                {
                    entity = (MemStoreEntity)obj;
                }
            }
            else
            {
                entity = MemStoreDA.Instance.GetStoreByMemId(memid);
            }

            return(entity);
        }
Ejemplo n.º 3
0
        public string InquiryOrderEdit1(InquiryOrderEntity order)
        {
            bool needmember = false;

            if (string.IsNullOrEmpty(order.Code))
            {
                Random rd = new Random();
                order.Code = XTCodeBLL.Instance.GetCodeFromProc(XTCodeType.OrderDayNo) + rd.Next(100, 999).ToString();
                needmember = true;
            }
            order.Code = InquiryOrderDA.Instance.InquiryOrderEdit1(order);
            if (needmember)
            {
                MemStoreEntity           stor  = StoreBLL.Instance.GetStoreByMemId(order.MemId);
                InquiryOrderMemberEntity memen = new InquiryOrderMemberEntity();
                memen.MemId            = order.MemId;
                memen.InquiryOrderCode = order.Code;
                memen.MemName          = stor.ContactsManName;
                memen.MemPhone         = stor.MobilePhone;
                memen.CompanyName      = stor.CompanyName;
                memen.CompanyAddress   = stor.Address;
                InquiryOrderMemberBLL.Instance.AddInquiryOrderMember(memen);
            }
            return(order.Code);
        }
Ejemplo n.º 4
0
        public string StoreInfoManageSubmit()
        {
            int _memid = FormString.IntSafeQ("memid");

            if (_memid == memid)
            {
                int            _provincecode   = FormString.IntSafeQ("provincecode");
                int            _citycode       = FormString.IntSafeQ("citycode");
                string         _storename      = FormString.SafeQ("storename", 200);
                string         _mobilephone    = FormString.SafeQ("mobilephone");
                string         _address        = FormString.SafeQ("address", 200);
                string         _latitude       = FormString.SafeQ("latitude");
                string         _longitude      = FormString.SafeQ("longitude");
                MemStoreEntity _supplierrntity = StoreBLL.Instance.GetStoreByMemId(memid);

                _supplierrntity.MemId       = memid;
                _supplierrntity.ProvinceId  = _provincecode;
                _supplierrntity.CityId      = _citycode;
                _supplierrntity.StoreName   = _storename;
                _supplierrntity.MobilePhone = _mobilephone;
                _supplierrntity.Address     = _address;
                _supplierrntity.Latitude    = StringUtils.GetDbDecimal(_latitude);
                _supplierrntity.Longitude   = StringUtils.GetDbDecimal(_longitude);
                if (_supplierrntity.Id > 0)
                {
                    if (StoreBLL.Instance.UpdateStore(_supplierrntity) > 0)
                    {
                        return(((int)CommonStatus.SuccessApply).ToString());
                    }
                }
            }
            return(((int)CommonStatus.Fail).ToString());
        }
Ejemplo n.º 5
0
        //public string GetWeiXinAccessToken()
        //{
        //    return WeiXinBLL.GetWeiXinAccessToken();
        //}
        //public string GetWeiXinJsticket()
        //{
        //    return WeiXinBLL.GetWeiXinJsticket();
        //}
        //public string GetWeiXinGetSignature()
        //{
        //    string ticket = FormString.SafeQ("ticket", 200);
        //    string noncestr = FormString.SafeQ("noncestr", 200);
        //    long times = FormString.LongIntSafeQ("timestamp");
        //    string url = FormString.SafeQ("url",200 );
        //    return WeiXinBLL.GetSignature(ticket,   noncestr, times,   url);
        //}

        //public string GetWeiXinAPPId()
        //{
        //    return WeiXinBLL.APPId;
        //}

        #endregion


        #region 询价
        public string GetXunJiaMsg()
        {
            ResultObj         result = new ResultObj();
            int               _pdid  = FormString.IntSafeQ("pdid");
            MemberLoginEntity member = CookieBLL.GetLoginCookie();

            if (member != null && member.MemId > 0)
            {
                VWXunJiaObj               _obj  = new VWXunJiaObj();
                VWProductEntity           vwp   = ProductBLL.Instance.GetProVWByDetailId(_pdid);
                VWProductNomalParamEntity vwpa  = ProductExtBLL.Instance.GetProductNormalParamById(vwp.ProductId);
                MemStoreEntity            store = StoreBLL.Instance.GetStoreByMemId(member.MemId);
                _obj.Product     = vwp;
                _obj.ProductExt  = vwpa;
                _obj.MobilePhone = store.MobilePhone;
                _obj.MemId       = store.MemId;
                result.Status    = (int)CommonStatus.Success;
                result.Obj       = _obj;
            }
            else
            {
                result.Status = (int)CommonStatus.NeedLogin;
            }
            string liststr = JsonJC.ObjectToJson(result);

            return(liststr);
        }
Ejemplo n.º 6
0
        public string StoreInfoApplySubmit()
        {
            int _memid = FormString.IntSafeQ("memid");

            if (_memid == memid)
            {
                string _companyname      = FormString.SafeQ("companyname");
                string _licenseno        = FormString.SafeQ("licenseno");
                string _licensepath      = FormString.SafeQ("licensepath", 200);
                string _legalname        = FormString.SafeQ("legalname");
                string _legalmobilephone = FormString.SafeQ("legalmobilephone");
                string _legalidentityno  = FormString.SafeQ("legalidentityno");
                string _legalidentitypre = FormString.SafeQ("legalidentitypre", 200);
                string _legalidentitybeh = FormString.SafeQ("legalidentitybeh", 200);

                MemStoreEntity _supplierrntity = StoreBLL.Instance.GetStoreByMemId(memid);
                if (_supplierrntity.Id > 0)
                {
                    if (_supplierrntity.Status == (int)StoreStatus.Active)
                    {
                        return(((int)CommonStatus.Applyed).ToString());
                    }
                    if (_supplierrntity.Status == (int)StoreStatus.OnChecking)
                    {
                        return(((int)CommonStatus.Checking).ToString());
                    }
                }
                _supplierrntity.MemId            = memid;
                _supplierrntity.CompanyName      = _companyname;
                _supplierrntity.LicensePath      = _licensepath;
                _supplierrntity.LicenseNo        = _licenseno;
                _supplierrntity.LegalName        = _legalname;
                _supplierrntity.LegalIdentityNo  = _legalidentityno;
                _supplierrntity.LegalIdentityPre = _legalidentitypre;
                _supplierrntity.LegalIdentityBeh = _legalidentitybeh;
                _supplierrntity.LegalMobilePhone = _legalmobilephone;
                if (_supplierrntity.Id > 0)
                {
                    if (StoreBLL.Instance.UpdateStore(_supplierrntity) > 0)
                    {
                        return(((int)CommonStatus.SuccessApply).ToString());
                    }
                }
                else
                {
                    _supplierrntity.CreateTime = DateTime.Now;
                    _supplierrntity.Status     = (int)StoreStatus.WaitCheck;
                    if (StoreBLL.Instance.AddStore(_supplierrntity) > 0)
                    {
                        return(((int)CommonStatus.SuccessApply).ToString());
                    }
                }
            }
            return(((int)CommonStatus.Fail).ToString());
        }
Ejemplo n.º 7
0
        public ActionResult MemberDetail()
        {
            int            memid  = QueryString.IntSafeQ("memid");
            MemStoreEntity store  = StoreBLL.Instance.GetStoreByMemId(memid);
            MemberEntity   member = MemberBLL.Instance.GetMember(memid);

            ViewBag.Member   = member;
            ViewBag.Store    = store;
            ViewBag.TempCode = Server.UrlEncode(CryptDES.DESEncrypt(member.TimeStampTab));
            return(View());
        }
Ejemplo n.º 8
0
        public string Reg2Submit()
        {
            ResultObj    _obj            = new ResultObj();
            string       useraccount     = FormString.SafeQ("useraccount");
            string       mobile          = FormString.SafeQ("mobile");
            string       stamp           = FormString.SafeQ("stamp");
            string       companyname     = FormString.SafeQ("companyname");
            int          province        = FormString.IntSafeQ("province");
            int          city            = FormString.IntSafeQ("city");
            int          comtype         = FormString.IntSafeQ("comtype");
            string       contractmanname = FormString.SafeQ("contractmanname");
            string       address         = FormString.SafeQ("address", 300);
            MemberEntity mem             = MemberBLL.Instance.GetMemByMethod(mobile, LoginMethodEnum.MobilePhone);

            if (mem.Status != (int)MemberStatus.Register1)
            {
                _obj.Status = (int)CommonStatus.RegisterNoModify;

                return(JsonJC.ObjectToJson(_obj));
            }
            if (!(mem.TimeStampTab == stamp && CookieBLL.GetRegisterCookie() == mem.Id))
            {
                _obj.Status = (int)CommonStatus.RegisterFail;
            }
            else
            {
                mem.MemCode = useraccount;
                MemberInfoEntity _meminfo = MemberInfoBLL.Instance.GetMemberInfoByMemId(mem.Id);
                _meminfo.MemId       = mem.Id;
                _meminfo.Nickname    = contractmanname;
                _meminfo.MemName     = contractmanname;
                _meminfo.MobilePhone = mobile;
                MemberInfoBLL.Instance.AddMemberInfo(_meminfo);
                MemStoreEntity _store = new MemStoreEntity();
                _store.Address         = address;
                _store.CityId          = city;
                _store.CompanyName     = companyname;
                _store.ContactsManName = contractmanname;
                _store.CreateTime      = DateTime.Now;
                _store.ProvinceId      = province;
                _store.Status          = (int)MemberStatus.WaitCheck;
                _store.StoreType       = mem.StoreType;
                _store.MobilePhone     = mobile;
                _store.MemId           = mem.Id;
                ResultObj _loginentity = MemberLoginBLL.Instance.Register2(mem, _meminfo, _store);
                //if (_loginentity.Status == (int)CommonStatus.Success)
                //{
                //    CookieBLL.SetRegisterCookie(StringUtils.GetDbInt(_loginentity.Obj));
                //}
                _obj = _loginentity;
            }
            return(JsonJC.ObjectToJson(_obj));
        }
Ejemplo n.º 9
0
 /// <summary>
 /// 插入一条记录到表Store,如果表中存在自增字段,则返回值为新记录的自增字段值,否则返回0。
 /// 该方法提供给界面等UI层调用
 /// </summary>
 /// <param name="store">要添加的Store数据实体对象</param>
 public int AddStore(MemStoreEntity store)
 {
     if (store.Id > 0)
     {
         return(UpdateStore(store));
     }
     else if (!string.IsNullOrEmpty(store.StoreName) && StoreBLL.Instance.IsExist(store))
     {
         return((int)CommonStatus.ADD_Fail_Exist);
     }
     else
     {
         return(MemStoreDA.Instance.AddStore(store));
     }
 }
Ejemplo n.º 10
0
        public ActionResult OrderDetail()
        {
            string             _ordercode = QueryString.SafeQ("code");
            InquiryOrderEntity order      = InquiryOrderBLL.Instance.GetInquiryOrderByCode(_ordercode);

            if (order != null)
            {
                VWInquiryOrderEntity vworder = InquiryOrderBLL.Instance.GetInquiryOrderDataByCode(_ordercode);
                IList <InquiryOrderFeedBackEntity>                 feedbacklist   = InquiryOrderFeedBackBLL.Instance.GetOrderFeedBackAllByCode(_ordercode);
                IList <InquiryOrderPicsEntity>                     orderpics      = vworder.OrderPics;
                IList <InquiryProductEntity>                       productlist    = vworder.OrderProducts;
                IList <InquiryProductSubEntity>                    productsublist = vworder.OrderProductSubs;
                IList <VWCGMemQuotedEntity>                        quotelist      = CGMemQuotedBLL.Instance.GetVWCGMemQuotedAllByCode(_ordercode);
                IList <CGQuotedPriceEntity>                        pricelist      = CGQuotedPriceBLL.Instance.GetCGQuotedPriceAll(_ordercode, -1, true);
                Dictionary <string, CGQuotedPriceEntity>           pricedic       = new Dictionary <string, CGQuotedPriceEntity>();
                IList <InquiryProductSubEntity>                    productsubs    = vworder.OrderProductSubs;
                Dictionary <int, IList <InquiryProductSubEntity> > productsubdic  = new Dictionary <int, IList <InquiryProductSubEntity> >();
                foreach (CGQuotedPriceEntity price in pricelist)
                {
                    if (!pricedic.ContainsKey(price.InquiryProductSubId + "_" + price.CGMemId))
                    {
                        pricedic.Add(price.InquiryProductSubId + "_" + price.CGMemId, price);
                    }
                }
                if (productsubs != null && productsubs.Count > 0)
                {
                    foreach (InquiryProductSubEntity prod in productsubs)
                    {
                        if (!productsubdic.ContainsKey(prod.InquiryProductId))
                        {
                            productsubdic.Add(prod.InquiryProductId, new List <InquiryProductSubEntity>());
                        }
                        productsubdic[prod.InquiryProductId].Add(prod);
                    }
                }
                CGMemQuotedEntity quote = CGMemQuotedBLL.Instance.GetCGMemHasCheckedByCode(_ordercode);
                MemStoreEntity    store = StoreBLL.Instance.GetStoreByMemId(quote.CGMemId);
                ViewBag.QuotedCGMemList = quotelist;
                ViewBag.ProductSubDIc   = productsubdic;
                ViewBag.PriceDic        = pricedic;
                ViewBag.VWOrder         = vworder;
                ViewBag.ProductSubDic   = productsubdic;
                ViewBag.CGMemStore      = store;
                ViewBag.CGMemQuote      = quote;
                ViewBag.FeedBackList    = feedbacklist;
            }
            return(View());
        }
Ejemplo n.º 11
0
        ///// <summary>
        ///// 获得数据列表
        ///// </summary>
        public IList <ReportCGOrderEntity> GetReportsGH(int year, int mon, int day)
        {
            IList <ReportCGOrderEntity> list = CGOrderDA.Instance.GetReportsGH(year, mon, day);

            if (list != null && list.Count > 0)
            {
                foreach (ReportCGOrderEntity entity in list)
                {
                    MemStoreEntity storeen = MemberDB.StoreBLL.Instance.GetStoreByMemId(entity.CgMemId);
                    entity.CgMemName     = storeen.ContactsManName;
                    entity.CgMemPhone    = storeen.MobilePhone;
                    entity.CgCompanyName = storeen.CompanyName;
                }
            }
            return(list);
        }
Ejemplo n.º 12
0
        /// <summary>
        ///  供应商订单统计报表
        /// </summary>
        /// <param name="startdate"></param>
        /// <param name="enddate"></param>
        /// <param name="status"></param>
        /// <param name="reporttype"></param>
        /// <param name="orderby"></param>
        /// <returns></returns>
        public IList <ReportInquiryOrderEntity> GetCGReportDaily(string startdate, string enddate, int status, int reporttype, int orderby)
        {
            IList <ReportInquiryOrderEntity> list = ConfirmOrderDA.Instance.GetCGReportDaily(startdate, enddate, status, reporttype, orderby);

            if (list != null && list.Count > 0)
            {
                foreach (ReportInquiryOrderEntity en in list)
                {
                    if (en.CGMemId > 0)
                    {
                        MemStoreEntity store = StoreBLL.Instance.GetStoreByMemId(en.CGMemId);
                        en.CGCompanyName = store.CompanyName;
                        en.CGMemName     = store.ContactsManName;
                    }
                }
            }
            return(list);
        }
Ejemplo n.º 13
0
        /// <summary>
        /// 注册第一步
        /// </summary>
        /// <param name="_mem"></param>
        /// <returns></returns>
        public ResultObj Register2(MemberEntity _mem, MemberInfoEntity _meminfo, MemStoreEntity _store)
        {
            ResultObj _returnentity = new ResultObj();

            if (_mem.Status == (int)MemberStatus.Register1)
            {
                int result = MemberBLL.Instance.RegisterProc(_mem, _meminfo, _store);
                if (result > 0)
                {
                    _returnentity.Status = (int)CommonStatus.Success;
                    _returnentity.Obj    = MemberBLL.Instance.GetMember(_mem.Id);
                    return(_returnentity);
                }
            }
            _returnentity.Status = (int)CommonStatus.Fail;

            return(_returnentity);
        }
Ejemplo n.º 14
0
        public IList <VWCGQuotedPriceEntity> GetVWCGQuotedPriceAll(string ordercode, int cgmemid, bool hascgprice = false, bool hasprice = false, bool hasselected = false)
        {
            IList <VWCGQuotedPriceEntity> list = null;

            list = CGQuotedPriceDA.Instance.GetVWCGQuotedPriceAll(ordercode, cgmemid, hascgprice, hasprice, hasselected);
            if (list != null && list.Count > 0)
            {
                foreach (VWCGQuotedPriceEntity entity in list)
                {
                    MemStoreEntity store = StoreBLL.Instance.GetStoreByMemId(entity.CGMemId);
                    entity.CGComName    = store.CompanyName;
                    entity.CGMemName    = store.ContactsManName;
                    entity.CGMemPhone   = store.MobilePhone;
                    entity.CGComAddress = store.Address;
                }
            }
            return(list);
        }
Ejemplo n.º 15
0
        public ResultObj RegisterStore(VWMemberEntity _mem)
        {
            ResultObj    _returnentity = new ResultObj();
            MemberEntity _entity       = new MemberEntity();

            _entity.MemCode  = _mem.MemCode;
            _entity.PassWord = _mem.PassWord;
            if (string.IsNullOrEmpty(_mem.MemCode) || string.IsNullOrEmpty(_mem.PassWord))
            {
                _returnentity.Status = (int)CommonStatus.RegisterEmpty;
                return(_returnentity);
            }
            MemberEntity mem1 = MemberBLL.Instance.GetMemberByCode(_entity.MemCode);

            if (mem1 != null && !string.IsNullOrEmpty(mem1.MobilePhone) && mem1.MobilePhone != _mem.ContactsMobile)
            {
                _returnentity.Status = (int)CommonStatus.RegisterHasMember;
                return(_returnentity);
            }
            MemStoreEntity mem2 = StoreBLL.Instance.GetStoreByNameAdd(_mem.CompanyName, _mem.CompanyAddress);

            if (mem2 != null && !string.IsNullOrEmpty(mem2.MobilePhone) && mem2.MobilePhone != _mem.ContactsMobile)
            {
                _returnentity.Status = (int)CommonStatus.RegisterHasMember;
                return(_returnentity);
            }
            _entity.Id = MemberBLL.Instance.RegisterCompanyProc(_mem);

            if (_entity.Id > 0)
            {
                _returnentity.Status = (int)CommonStatus.Success;
                _returnentity.Obj    = _entity.Id;
            }
            else
            {
                _returnentity.Status = (int)CommonStatus.Fail;
            }

            //此处可以异步
            AddLoginLog(_entity.Id, _mem.CreateClientType, _mem.CreateIp);
            return(_returnentity);
        }
Ejemplo n.º 16
0
        /// <summary>
        /// 企业申请信息详情
        /// </summary>
        /// <returns></returns>
        public ActionResult SupplierDetail()
        {
            int              _memid         = QueryString.IntSafeQ("MemId", 0);
            MemberEntity     _mementity     = MemberBLL.Instance.GetMember(_memid);
            MemberInfoEntity _meminfoentity = MemberInfoBLL.Instance.GetMemberInfoByMemId(_memid);
            MemBillVATEntity _membill       = MemBillVATBLL.Instance.GetMemBillVATByMemId(_memid);
            MemStoreEntity   _storeentity   = StoreBLL.Instance.GetStoreByMemId(_memid);

            string _provinceName = GYProvinceBLL.Instance.GetGYProvince(_storeentity.ProvinceId).Name;
            string _cityName     = GYCityBLL.Instance.GetGYCityByCode(_storeentity.CityId.ToString()).Name;

            ViewBag.AddressofStore = _provinceName + _cityName;

            _provinceName         = GYProvinceBLL.Instance.GetGYProvince(_membill.ReceiverProvince).Name;
            _cityName             = GYCityBLL.Instance.GetGYCityByCode(_membill.ReceiverCity.ToString()).Name;
            ViewBag.AddressofBill = _provinceName + _cityName;

            ViewBag.mementity     = _mementity;
            ViewBag.meninfoentity = _meminfoentity;
            ViewBag.membill       = _membill;
            ViewBag.storentity    = _storeentity;
            return(View());
        }
Ejemplo n.º 17
0
        public string MemSimpleAddSubmit()
        {
            ResultObj    _obj            = new ResultObj();
            string       useraccount     = FormString.SafeQ("useraccount");
            string       mobile          = FormString.SafeQ("mobile");
            string       companyname     = FormString.SafeQ("companyname");
            int          province        = FormString.IntSafeQ("province");
            int          city            = FormString.IntSafeQ("city");
            int          issysuser       = FormString.IntSafeQ("issysuser");
            int          issupplier      = FormString.IntSafeQ("issupplier");
            int          isstore         = FormString.IntSafeQ("isstore");
            int          comtype         = FormString.IntSafeQ("comtype");
            string       contractmanname = FormString.SafeQ("contractmanname");
            string       address         = FormString.SafeQ("address", 300);
            MemberEntity mem             = MemberBLL.Instance.GetMemByMethod(mobile, LoginMethodEnum.MobilePhone);

            if (mem.Id == 0)
            {
                mem.MemCode     = "xl" + mobile;
                mem.MobilePhone = mobile;
                mem.IsSysUser   = issysuser;
                mem.IsSupplier  = issupplier;
                mem.IsStore     = isstore;
                mem.Status      = (int)MemberStatus.Active;
                mem.CreateTime  = DateTime.Now;
                mem.PassWord    = DateTime.Now.ToShortDateString();
                mem.Id          = MemberBLL.Instance.AddMember(mem);
            }
            else
            {
                mem.MobilePhone = mobile;
                mem.IsSysUser   = issysuser;
                mem.IsSupplier  = issupplier;
                mem.IsStore     = isstore;
                MemberBLL.Instance.UpdateMember(mem);
            }
            if (mem.Id > 0)
            {
                MemberInfoEntity _meminfo = MemberInfoBLL.Instance.GetMemberInfoByMemId(mem.Id);
                if (_meminfo.Id == 0)
                {
                    _meminfo.MemId       = mem.Id;
                    _meminfo.Nickname    = contractmanname;
                    _meminfo.MemName     = contractmanname;
                    _meminfo.MobilePhone = mobile;
                    MemberInfoBLL.Instance.AddMemberInfo(_meminfo);
                }
                MemStoreEntity _store = StoreBLL.Instance.GetStoreByMemId(mem.Id);

                _store.Address         = address;
                _store.CityId          = city;
                _store.CompanyName     = companyname;
                _store.ContactsManName = contractmanname;
                _store.CreateTime      = DateTime.Now;
                _store.ProvinceId      = province;
                _store.StoreType       = mem.StoreType;
                _store.MobilePhone     = mobile;
                _store.MemId           = mem.Id;
                if (_store.Id == 0)
                {
                    _store.Status = (int)MemberStatus.Active;
                    StoreBLL.Instance.AddStore(_store);
                }
                else
                {
                    StoreBLL.Instance.UpdateStore(_store);
                }
                _obj.Status = (int)CommonStatus.Success;
                _obj.Obj    = mem.MobilePhone;
            }
            return(JsonJC.ObjectToJson(_obj));
        }
Ejemplo n.º 18
0
 /// <summary>
 /// 更新一条Store记录。
 /// 该方法提供给界面等UI层调用
 /// </summary>
 /// <param name="store">待更新的实体对象</param>
 /// <param name="columns">要更新的列名,不提供任何列名时默认将更新主键之外的所有列</param>
 public int UpdateStore(MemStoreEntity store)
 {
     return(MemStoreDA.Instance.UpdateStore(store));
 }
Ejemplo n.º 19
0
 /// <summary>
 /// 判断对象是否存在
 /// </summary>
 /// <param name="dicEnum"></param>
 /// <returns></returns>
 public bool IsExist(MemStoreEntity store)
 {
     return(MemStoreDA.Instance.ExistNum(store) > 0);
 }
Ejemplo n.º 20
0
 public int RegisterProc(MemberEntity mem, MemberInfoEntity meminfo, MemStoreEntity store)
 {
     return(MemberDA.Instance.RegisterProc(mem, meminfo, store));
 }