//申请加入公司(一张表用于存其)//ZL_Plat_JoinCompApply protected void AddComp_Btn_Click(object sender, EventArgs e) { M_User_Plat upMod = B_User_Plat.GetLogin(); //记录用户信息并写入 M_Common_UserApply ualyMod = new M_Common_UserApply(); B_Common_UserApply ualyBll = new B_Common_UserApply(); ualyMod.UserID = upMod.UserID; ualyMod.ZType = "plat_joincomp"; ualyMod.UserName = upMod.UserName + "(" + upMod.TrueName + ")"; ualyMod.Remind = CompID.ToString(); ualyMod.IP = IPScaner.GetUserIP(); ualyBll.Insert(ualyMod); function.WriteSuccessMsg("申请成功,请等待管理员审核", "/Plat/"); }