Beispiel #1
0
    //-------------------------保存
    /// <summary>
    /// 保存基本信息
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected void btnSbasic_Click(object sender, EventArgs e)
    {
        if (!Page.IsValid)
        {
            return;
        }
        string dirName = "";
        //string oldFilePath = this.fude.PostedFile.FileName.Trim();
        string oldFileName = "";
        string newFileName = "";
        string filepath = "";
        int    photoW = 0, photoH = 0;
        //string newFilePath = string.Empty;
        //try
        //{
        //    if (oldFilePath != string.Empty)
        //    {
        //        if (!Directory.Exists(Server.MapPath("Store\\H_image\\"))) //如果文件夹不存在则创建
        //        {
        //            Directory.CreateDirectory(Server.MapPath("Store\\H_image\\"));
        //        }

        //        //检查目录是否存在
        //        dirName = DateTime.Now.Year.ToString() + "-" + DateTime.Now.Month.ToString();

        //        oldFileName = System.IO.Path.GetFileName(oldFilePath);
        //        string fileExtName = string.Empty;
        //        try
        //        {
        //            fileExtName = System.IO.Path.GetExtension(oldFilePath);
        //        }
        //        catch
        //        {
        //            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("000823", "上传文件格式不正确!") + "');", true);
        //            return;
        //        }


        //        if (fileExtName.ToLower() != ".icon" && fileExtName.ToLower() != ".jpg" && fileExtName.ToLower() != ".gif" && fileExtName.ToLower() != ".ico")
        //        {
        //            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('上传文件格式不正确,只能上传.icon、.jpg、.gif或者.ico格式的照片!');", true);
        //            return;
        //        }

        //        if (this.fude.PostedFile.ContentLength > 51200)
        //        {
        //            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("000824", "上传文件不能大于50K!") + "');", true);
        //            return;
        //        }

        //        //System.Drawing.Image img = System.Drawing.Image.FromStream(fude.PostedFile.InputStream);
        //        //int width = img.Width;
        //        //int hight = img.Height;
        //        //if (width > 50 || hight > 50)
        //        //{
        //        //    Response.Write("<script>alert('" + GetTran("006034", "图片宽度和高度太大!") + "');</script>");
        //        //    this.Button1.Enabled = true;
        //        //    return "";
        //        //}
        //        System.Random rd = new Random(0);
        //        newFileName = DateTime.Now.Year.ToString() + rd.Next(10).ToString()
        //            + DateTime.Now.Month.ToString() + rd.Next(10).ToString()
        //            + DateTime.Now.Day.ToString() + rd.Next(10).ToString()
        //            + DateTime.Now.Second.ToString()
        //            + fileExtName;
        //        newFilePath = Server.MapPath("Store\\H_image\\") + newFileName;

        //        string LevelIcon = new MemberInfoModifyBll().GetMemberPhoto(this.txtEnumber.Text.ToString()) + "";
        //        if (System.IO.File.Exists(Server.MapPath(LevelIcon)))
        //        {
        //            System.IO.File.Delete(Server.MapPath(LevelIcon));
        //        }

        //        this.fude.PostedFile.SaveAs(newFilePath);
        //        try
        //        {
        //            System.Drawing.Image myIma = System.Drawing.Image.FromFile(newFilePath);
        //            photoH = myIma.Height;
        //            photoW = myIma.Width;

        //        }
        //        catch (Exception ex1)
        //        {
        //            if (System.IO.File.Exists(newFilePath))
        //            {
        //                System.IO.File.Delete(newFilePath);
        //            }
        //            Response.Write("<script>alert('" + GetTran("006895", "图片格式转换错误!") + "');</script>");
        //            return;
        //        }
        //        filepath = @"\Store\H_image\" + newFileName;
        //    }
        //}
        //catch (Exception ex1)
        //{
        //    return;
        //}



        MemberInfoModel model = new MemberInfoModel();

        BLL.Registration_declarations.RegistermemberBLL registermemberBLL = new BLL.Registration_declarations.RegistermemberBLL();
        if (this.txtEname.Text == "")
        {
            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("000131", "对不起,会员姓名不能为空!") + "');", true);
            return;
        }
        if (this.txtEstore.Text == "")
        {
            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("006706", "对不起,购货店铺不能为空!") + "');", true);
            return;
        }
        if (!MemInfoEditBLL.GetStorenumber(this.txtEstore.Text.Trim()))
        {
            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("006707", "对不起,购货店铺编号不存在!") + "');", true);
            return;
        }
        //if (this.txtEcode.Text == "")
        //{
        //    System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("000134", "对不起,邮编不能为空!") + "');", true);
        //    return;
        //}
        if (this.txtEnickname.Text == "")
        {
            this.txtEnickname.Text = this.txtEname.Text;
        }

        if (this.txtEidnumber.Text == "" && this.txtEIdtype.SelectedValue.Trim() != "P000")
        {
            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("000140", "对不起,证件号码不能为空!") + "');", true);
            return;
        }

        UserControl_CountryCityPCode ucontry = Page.FindControl("CountryCityPCode1") as UserControl_CountryCityPCode;
        DropDownList dllcountry = ucontry.FindControl("ddlCountry") as DropDownList;

        if (dllcountry.SelectedIndex == 0)
        {
            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("000143", "请选择国家!") + "');", true);
            return;
        }

        DropDownList dllP = ucontry.FindControl("ddlP") as DropDownList;

        if (dllP.SelectedIndex == 0)
        {
            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("000144", "请选择省份!") + "');", true);
            return;
        }
        DropDownList dllcity = ucontry.FindControl("ddlCity") as DropDownList;

        if (dllcity.SelectedIndex == 0)
        {
            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("000145", "请选择城市!") + "');", true);
            return;
        }

        if (this.txtEaddress.Text == "")
        {
            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("000146", "对不起,地址不能为空!") + "');", true);
            return;
        }
        //检查会员生日
        if (this.txtEIdtype.SelectedValue.Trim() != "P001")
        {
            if (registermemberBLL.CheckBirthDay(this.txtEbirthday.Text) == "error")
            {
                System.Web.UI.ScriptManager.RegisterStartupScript(Page, this.GetType(), "", "alert('" + GetTran("000148", "对不起,请选择正确的出生日期!") + "');", true);

                return;
            }
        }
        //验证年龄是否大于18岁
        if (this.txtEIdtype.SelectedValue.Trim() != "P001")
        {
            string alert = registermemberBLL.AgeIs18(this.txtEbirthday.Text.Trim());
            if (alert != null)
            {
                System.Web.UI.ScriptManager.RegisterStartupScript(Page, this.GetType(), "", "alert('" + alert + "');", true);
                return;
            }
        }
        //检测身份证需要新方法
        string birthdaysex = "";

        if (this.txtEIdtype.SelectedValue.Trim() == "P001")
        {
            string result = BLL.Registration_declarations.CheckMemberInfo.CHK_IdentityCard(CommonDataBLL.quanjiao(this.txtEidnumber.Text.Trim()));
            if (result.IndexOf(",") <= 0)
            {
                System.Web.UI.ScriptManager.RegisterStartupScript(Page, this.GetType(), "", "alert('" + result + "');", true);
                return;
            }
            else
            {
                birthdaysex = result;
            }
        }
        string   Number   = this.txtEnumber.Text.ToString();
        string   Name     = Encryption.Encryption.GetEncryptionName(this.txtEname.Text.ToString().Trim());
        string   PetName  = this.txtEnickname.Text.ToString();
        DateTime Birthday = DateTime.Parse(this.txtEbirthday.Text.ToString());
        string   Country  = this.CountryCityPCode1.Country;
        string   Province = this.CountryCityPCode1.Province;
        string   City     = this.CountryCityPCode1.City;
        string   xian     = this.CountryCityPCode1.Xian;
        int      Sex      = 0;

        if (this.txtEIdtype.SelectedValue.Trim() == "P001")
        {
            Sex      = birthdaysex.Substring(birthdaysex.IndexOf(",") + 1).Trim() == GetTran("000094", "男") ? (1) : (0);
            Birthday = Convert.ToDateTime(birthdaysex.Substring(0, birthdaysex.IndexOf(",")));
            //验证年龄是否大于18岁
            string alert = registermemberBLL.AgeIs18(Birthday.ToString());
            if (alert != null)
            {
                System.Web.UI.ScriptManager.RegisterStartupScript(Page, this.GetType(), "", "alert('" + alert + "');", true);
                return;
            }
        }
        else
        {
            Birthday = DateTime.Parse(this.txtEbirthday.Text.ToString());

            if (this.txtEsex.SelectedValue.ToString() == "0")
            {
                Sex = 0;
            }
            else
            {
                Sex = 1;
            }
        }
        string     PostalCode = this.txtEcode.Text.ToString();
        ChangeLogs cl         = new ChangeLogs("MemberInfo", "ltrim(rtrim(Number))");

        cl.AddRecord(Number);
        MemberInfoModel info = new MemberInfoModel();

        info.Number     = Number;
        info.Name       = Name;
        info.PetName    = PetName;
        info.Birthday   = Birthday;
        info.Sex        = Sex;
        info.PostalCode = PostalCode;
        if (string.IsNullOrEmpty(filepath))
        {
            info.PhotoPath = ViewState["Ephtot"].ToString().Trim();
        }
        else
        {
            info.PhotoPath = filepath;
        }

        info.StoreID       = txtEstore.Text.ToString().Trim();
        info.Papertypecode = this.txtEIdtype.SelectedValue.ToString().Trim();
        info.PaperNumber   = Encryption.Encryption.GetEncryptionNumber(this.txtEidnumber.Text.ToString().Trim());
        info.CPCCode       = CommonDataDAL.GetCPCCode(Country, Province, City, xian);
        info.Address       = Encryption.Encryption.GetEncryptionAddress(this.txtEaddress.Text.ToString().Trim());
        info.BankBook      = Name;
        //BLL.CommonClass.ChangeLogs cl_h_info = new BLL.CommonClass.ChangeLogs("memberinfo", "ltrim(rtrim(number))");//申明日志对象

        if (MemInfoEditBLL.Updmemberbasic(info))
        {
            cl.AddRecord(info.Number);
            cl.ModifiedIntoLogs(ChangeCategory.Order, info.Number, ENUM_USERTYPE.objecttype5);

            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("001401", "操作成功!") + "');", true);
            this.btnSbasic.Visible = false;
            this.btnCbasic.Visible = false;
            this.btnEbasic.Visible = true;
            SelLblBasic();
            return;
        }
        else
        {
            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("001541", "操作失败!") + "');", true);
            return;
        }
    }
Beispiel #2
0
    protected void BtnUpdate_Click1(object sender, EventArgs e)
    {
        BLL.Registration_declarations.RegistermemberBLL registermemberBLL = new BLL.Registration_declarations.RegistermemberBLL();
        if (this.Number.Text == "")
        {
            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("000129", "对不起,会员编号不能为空!") + "');", true);
            return;
        }
        if (this.Name.Text == "")
        {
            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("000131", "对不起,会员姓名不能为空!") + "');", true);
            return;
        }
        if (MoblieTele.Text == "")
        {
            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("000000", "移动电话不能为空!") + "');", true);
            return;
        }
        else
        {
            if (MoblieTele.Text.Length != 11)
            {
                System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("000000", "移动电话格式不正确!") + "');", true);
                return;
            }
        }
        if (this.PostolCode.Text == "")
        {
            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("000134", "对不起,邮编不能为空!") + "');", true);
            return;
        }
        if (this.PetName.Text == "")
        {
            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("000136", "对不起,会员昵称不能为空!") + "');", true);
            return;
        }

        if (this.PaperNumber.Text == "" && this.PaperType.SelectedValue.Trim() != "P000")
        {
            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("000140", "对不起,证件号码不能为空!") + "');", true);
            return;
        }


        if (this.Address.Text == "")
        {
            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("000146", "对不起,地址不能为空!") + "');", true);
            return;
        }
        //检查会员生日
        if (this.PaperType.SelectedValue.Trim() != "P001")    //如果证件类型不是身份证 则判断会员生日是否输入
        {
            if (registermemberBLL.CheckBirthDay(this.Birthday.Text) == "error")
            {
                System.Web.UI.ScriptManager.RegisterStartupScript(Page, this.GetType(), "", "alert('" + GetTran("000148", "对不起,请选择正确的出生日期!") + "');", true);

                return;
            }

            //验证年龄是否大于18岁
            string alert = registermemberBLL.AgeIs18(this.Birthday.Text.Trim());
            if (alert != null)
            {
                System.Web.UI.ScriptManager.RegisterStartupScript(Page, this.GetType(), "", "alert('" + alert + "');", true);

                return;
            }
        }


        //检测身份证需要新方法
        string birthdaysex = "";

        if (this.PaperType.SelectedValue.Trim() == "P001")
        {
            string result = BLL.Registration_declarations.CheckMemberInfo.CHK_IdentityCard(CommonDataBLL.quanjiao(this.PaperNumber.Text.Trim()));
            if (result.IndexOf(",") <= 0)
            {
                System.Web.UI.ScriptManager.RegisterStartupScript(Page, this.GetType(), "", "alert('" + result + "');", true);
                return;
            }
            else
            {
                birthdaysex = result; // 从身份证号中取到生日和性别组成的字符串用逗号分隔
            }
        }

        string        oldChangeInfo = "";
        bool          flag          = false;
        StringBuilder changeInfo    = new StringBuilder();
        ChangeLogs    cl            = new ChangeLogs("MemberInfo", "ltrim(rtrim(Number))");

        cl.AddRecord(ViewState["Number"].ToString());
        MemberInfoModel mem = MemInfoEditBLL.getMemberInfo(ViewState["Number"].ToString());

        oldChangeInfo = mem.ChangeInfo.ToString();
        changeInfo.Append(mem.ChangeInfo.ToString());

        changeInfo.Append(GetTran("000151", "管理员 "));
        changeInfo.Append(Session["Company"]);
        changeInfo.Append(GetTran("000153", " 在 "));
        changeInfo.Append(DateTime.Now.ToString());
        changeInfo.Append(GetTran("000156", " 第 "));
        changeInfo.Append(Session["ExpectNum"].ToString());
        changeInfo.Append(GetTran("000157", " 期 "));
        changeInfo.Append(GetTran("000161", " 修改了如下内容") + ":");

        //判断用户是否修改了姓名
        if (this.Name.Text != Encryption.Encryption.GetDecipherName(mem.Name.ToString().Trim()))
        {
            flag = true;
            changeInfo.Append("\n" + GetTran("000164", " 修改了姓名,原姓名") + ":");
            changeInfo.Append(mem.Name.ToString());
            changeInfo.Append(";" + GetTran("000166", " 新姓名") + ":");
            changeInfo.Append(this.Name.Text.ToString());
        }
        //判断用户是否修改了昵称
        if (this.PetName.Text != mem.PetName.ToString())
        {
            flag = true;
            changeInfo.Append("\n" + GetTran("000168", " 修改了昵称,原昵称") + ":");
            changeInfo.Append(mem.PetName.ToString());
            changeInfo.Append(";" + GetTran("000170", " 新昵称") + ":");
            changeInfo.Append(this.PetName.Text.ToString());
        }



        //判断是否更改了证件号码和证件类型
        if ((this.PaperType.SelectedValue.ToString() != mem.Papertypecode) || (this.PaperNumber.Text.Trim() != Encryption.Encryption.GetDecipherNumber(mem.PaperNumber.Trim())))
        {
            if (this.PaperType.ToString().Trim() != "")
            {
                flag = true;
                changeInfo.Append("\n" + GetTran("000202", " 修改了证件类型或证件号码,原证件类型") + ":");
                changeInfo.Append(mem.PaperType.ToString());
                changeInfo.Append("," + GetTran("000203", " 原证件号码") + ":");
                changeInfo.Append(mem.PaperNumber.ToString());
                changeInfo.Append(";" + GetTran("000206", " 新证件类型") + ":");
                changeInfo.Append(this.PaperType.ToString());
                changeInfo.Append("," + GetTran("000207", " 新证件号码") + ":");
                changeInfo.Append(this.PaperNumber.ToString());
            }
        }

        //判断用户是否修改了开户行
        if (this.MemberBank.SelectedValue.ToString() != mem.Bank.ToString())
        {
            flag = true;
            changeInfo.Append("\n" + GetTran("000210", " 修改了开户行,原开户行") + ":");
            changeInfo.Append(mem.Bank.ToString());
            changeInfo.Append(";" + GetTran("000211", " 新开户行") + ":");
            changeInfo.Append(this.MemberBank.SelectedValue.ToString());
        }


        //判断用户是否修改了银行帐号
        if (this.BankNum.Text.ToString() != mem.BankCard.ToString())
        {
            flag = true;
            changeInfo.Append("\n" + GetTran("000212", " 修改了银行帐号,原银行帐号") + ":");
            changeInfo.Append(mem.BankCard.ToString());
            changeInfo.Append(";" + GetTran("000216", " 新银行帐号") + ":");
            changeInfo.Append(this.BankNum.Text.ToString());
            changeInfo.Append("\n");
        }



        string   Number    = this.Number.Text.ToString();
        string   Placement = this.Placement.Text.ToString();
        string   Direct    = this.Recommended.Text.ToString();
        string   Name      = Encryption.Encryption.GetEncryptionName(this.Name.Text.ToString().Trim());
        string   PetName   = this.PetName.Text.ToString();
        DateTime Birthday  = DateTime.Parse(this.Birthday.Text.ToString());
        int      Sex       = 0;

        if (this.PaperType.SelectedValue.Trim() == "P001")
        {
            Sex      = birthdaysex.Substring(birthdaysex.IndexOf(",") + 1).Trim() == GetTran("000094", "男") ? (1) : (0);
            Birthday = Convert.ToDateTime(birthdaysex.Substring(0, birthdaysex.IndexOf(",")));
            //验证年龄是否大于18岁
            string alert = registermemberBLL.AgeIs18(Birthday.ToString());
            if (alert != null)
            {
                System.Web.UI.ScriptManager.RegisterStartupScript(Page, this.GetType(), "", "alert('" + alert + "');", true);

                return;
            }
        }
        else
        {
            Birthday = DateTime.Parse(this.Birthday.Text.ToString());

            if (this.Sex.SelectedValue.ToString() == "0")
            {
                Sex = 0;
            }
            else
            {
                Sex = 1;
            }
        }
        //邮编号
        string PostalCode = this.PostolCode.Text.ToString();
        //家庭电话号码
        string HomeTele = this.Txtjtdh.Text.Trim() == "电话号码" ? "" : Encryption.Encryption.GetEncryptionTele(this.Txtjtdh.Text.ToString().Trim());
        //办公电话号码
        string OfficeTele = this.Txtbgdh.Text.Trim() == "电话号码" ? "" : Encryption.Encryption.GetEncryptionTele(this.Txtbgdh.Text.ToString().Trim());
        //传真电话号
        string FaxTele = this.Txtczdh.Text.Trim() == "电话号码" ? "" : Encryption.Encryption.GetEncryptionTele(this.Txtczdh.Text.ToString().Trim());
        //手机号
        string MobileTele = Encryption.Encryption.GetEncryptionTele(this.MoblieTele.Text.ToString().Trim());
        string Country    = this.CountryCity1.Country;  //国家
        string Province   = this.CountryCity1.Province; //省份
        string City       = this.CountryCity1.City;     //城市
        string Xian       = this.CountryCity1.Xian;
        //详细地址
        string Address     = Encryption.Encryption.GetEncryptionAddress(this.Address.Text.ToString().Trim());
        string PaperNumber = Encryption.Encryption.GetEncryptionNumber(this.PaperNumber.Text.ToString().Trim());  //证件号
        string PaperType   = this.PaperType.SelectedValue.ToString().Trim();                                      //证件类型
        string Bank        = this.MemberBank.SelectedValue.ToString();                                            //银行名称
        string BankAddress = Encryption.Encryption.GetEncryptionAddress(this.BankAdderss.Text.ToString().Trim()); //银行地址
        //银行所属国家
        string BankCountry  = this.CountryCity2.Country;
        string BankProvince = this.CountryCity2.Province;                                                   //银行所属省份
        string BankCity     = this.CountryCity2.City;                                                       //银行所属城市
        string BankCard     = Encryption.Encryption.GetEncryptionCard(this.BankNum.Text.ToString().Trim()); //银行卡号
        string BankBook     = Encryption.Encryption.GetEncryptionName(this.Name.Text.ToString().Trim());    //开户名
        //当前期数
        int ExpectNum = Convert.ToInt32(this.ExpectNum.Text.ToString());

        if (this.Remark.Text.Length > 500)  //备注在500字以内
        {
            System.Web.UI.ScriptManager.RegisterStartupScript(Page, GetType(), "success2", "alert('" + GetTran("006708", "对不起,备注输入的字符太多,最多500个字符!") + "');", true);
            return;
        }
        ;
        string Remark     = this.Remark.Text.ToString();
        string OrderId    = this.OrderID.Text.ToString();
        string ChangeInfo = "";

        if (flag == true)
        {
            ChangeInfo = changeInfo.ToString(); //修改信息提示
        }
        else
        {
            ChangeInfo = oldChangeInfo;
        }

        //
        string          OperateIp   = HttpContext.Current.Request.UserHostAddress.ToString();
        string          OperaterNum = CommonDataBLL.OperateBh;
        MemberInfoModel info        = new MemberInfoModel();

        info.Number         = Number;
        info.Placement      = ViewState["Placement"].ToString();
        info.Direct         = ViewState["Direct"].ToString();
        info.Name           = Name;
        info.PetName        = PetName;
        info.Birthday       = Birthday;
        info.Sex            = Sex;
        info.PostalCode     = PostalCode;
        info.StoreID        = "8888888888";
        info.HomeTele       = HomeTele;
        info.OfficeTele     = OfficeTele;
        info.MobileTele     = MobileTele;
        info.FaxTele        = FaxTele;
        info.CPCCode        = CommonDataDAL.GetCPCCode(Country, Province, City, Xian);
        info.Address        = Address;
        info.Papertypecode  = PaperType;
        info.PaperNumber    = PaperNumber;
        info.BankCode       = Bank;
        info.BankAddress    = BankAddress;
        info.BankCard       = BankCard;
        info.BankBook       = BankBook;
        info.ExpectNum      = ExpectNum;
        info.Remark         = Remark;
        info.OrderID        = OrderId;
        info.ChangeInfo     = changeInfo.ToString();
        info.OperateIp      = OperateIp;
        info.OperaterNum    = OperaterNum;
        info.BCPCCode       = CommonDataDAL.GetCPCCode(BankCountry, BankProvince, BankCity);
        info.Bankbranchname = this.txtEbank.Text;
        info.PhotoPath      = "";
        int jjtx = Convert.ToInt32(this.rbtJj.SelectedValue);

        updMemberInfo(info);       // 修改信息
        cl.AddRecord(info.Number); //记录操作
        //记录日志
        cl.ModifiedIntoLogs(ChangeCategory.company0, info.Number, ENUM_USERTYPE.objecttype5);
    }