using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; using CY.Model; using CY.BLL; using CY.Infrastructure.Common; using CY.Infrastructure.Query; namespace CY.WebForm.Pages.front { //吴辉 //企业简介 public partial class RecruitmentsFirm : FrontBasePage { OA_StaffRecruitmentsBLL bll_OA_StaffRecruitmentsBLL = null; OA_StaffFirmProfileBLL bll_OA_StaffFirmProfileBLL = null; EC_MemberBasicBLL bll_EC_MemberBasicBLL = null; //初始化 public RecruitmentsFirm() { bll_OA_StaffRecruitmentsBLL = new OA_StaffRecruitmentsBLL(); bll_OA_StaffFirmProfileBLL = new OA_StaffFirmProfileBLL(); bll_EC_MemberBasicBLL = new EC_MemberBasicBLL(); } //页面加载 protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { InitData(); } } //数据加载 public void InitData() { OA_StaffRecruitments m_OA_StaffRecruitments = bll_OA_StaffRecruitmentsBLL.GetModelByKeyid(Request["id"].ToInt32()); if (m_OA_StaffRecruitments != null) { this.spanFirmId.InnerText = m_OA_StaffRecruitments.MP_CompanyName; this.spanPostNamex.InnerText = m_OA_StaffRecruitments.PostName; OA_StaffFirmProfile m_OA_StaffFirmProfile = bll_OA_StaffFirmProfileBLL.GetModelByFirmId(m_OA_StaffRecruitments.FirmId); if (m_OA_StaffFirmProfile != null) { this.spanR_PostNeed.InnerHtml = m_OA_StaffFirmProfile.Remark; this.txtMP_PostNumber.InnerText = m_OA_StaffFirmProfile.MP_PostNumber.ToString2(); this.txtMP_ResumePlace.InnerText = m_OA_StaffFirmProfile.MP_ResumePlace.ToString2(); this.txtMP_ResumePeople.InnerText = m_OA_StaffFirmProfile.MP_ResumePeople.ToString2(); this.txtMP_ResumePhone.InnerText = m_OA_StaffFirmProfile.MP_ResumePhone.ToString2(); this.txtMP_ResumeCarWay.InnerText = m_OA_StaffFirmProfile.MP_ResumeCarWay.ToString2(); } } } } }