username@email.com
2025-05-14 99ddfbcecf0fa2881eb3a91028257eef87dab6de
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CY.BLL;
using CY.Model;
using CY.Infrastructure.Query;
using CY.Infrastructure.Common;
 
namespace CY.WebForm.Pages.front
{
    //吴辉
    //简历信息列表
    public partial class ResumeDetail : FrontBasePage
    {
        OA_StaffResumeBLL bll_OA_StaffResumeBLL = null;
        OA_StaffPostCategoryBLL bll_OA_StaffPostCategoryBLL = null;
        OA_StaffPostBLL bll_OA_StaffPostBLL = null;
        public string OLDProvince = ""; //接收值 Request["selectProvince"].ToString2();
        public string OLDCity = "";//接收值 Request["selectCity"].ToString2();
        public string OLDCounty = "";//接收值 Request["selectCounty"].ToString2();
        public string NowProvince = ""; //接收值 Request["selectProvince"].ToString2();
        public string NowCity = "";//接收值 Request["selectCity"].ToString2();
        public string NowCounty = "";//接收值 Request["selectCounty"].ToString2();
        public string Province = ""; //接收值 Request["selectProvince"].ToString2();
        public string City = "";//接收值 Request["selectCity"].ToString2();
        public Guid MemberId = Guid.Empty;
        //初始化
        public ResumeDetail()
        {
            bll_OA_StaffResumeBLL = new OA_StaffResumeBLL();
            bll_OA_StaffPostCategoryBLL = new OA_StaffPostCategoryBLL();
            bll_OA_StaffPostBLL = new OA_StaffPostBLL();
        }
 
        //页面加载
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                OA_StaffResume m_OA_StaffResume = bll_OA_StaffResumeBLL.GetModelByKeyid(Request["id"].ToInt32());
                MemberId = m_OA_StaffResume.Memberid;
 
                BindList();
                InitData();
            }
        }
 
        //绑定数据
        private void BindList()
        {
            List<OA_StaffResumeEducation> m_OA_StaffResumeEducationList = bll_OA_StaffResumeBLL.GetOA_StaffResumeEducationListByKeyid
(MemberId) as List<OA_StaffResumeEducation>;
            this.RepClientList.DataSource = m_OA_StaffResumeEducationList;
            this.RepClientList.DataBind();
 
            List<OA_StaffResumeWork> m_OA_StaffResumeWorkList = bll_OA_StaffResumeBLL.GetOA_StaffResumeWorkListByKeyid(MemberId) as List<OA_StaffResumeWork>;
            this.RepClientList2.DataSource = m_OA_StaffResumeWorkList;
            this.RepClientList2.DataBind();
        }
 
        //数据加载
        public void InitData()
        {
            #region OA_StaffResume
            OA_StaffResume m_OA_StaffResume = bll_OA_StaffResumeBLL.GetModelByMemberid(MemberId);
            if (m_OA_StaffResume != null)
            {
 
                this.txtR_G_Name.InnerText = m_OA_StaffResume.R_G_Name.ToString2();
                this.txtR_G_Sex.InnerText = m_OA_StaffResume.R_G_Sex.ToString2();
                this.txtR_G_WorkYear.InnerText = m_OA_StaffResume.R_G_WorkYear.ToString2();
                this.txtR_G_Degree.InnerText = m_OA_StaffResume.R_G_Degree.ToString2();
                this.txtR_G_DocumentsType.InnerText = m_OA_StaffResume.R_G_DocumentsType.ToString2();
                this.txtR_G_DocumentsNumber.InnerText = m_OA_StaffResume.R_G_DocumentsNumber.ToString2();
                this.txtR_G_Email.InnerText = m_OA_StaffResume.R_G_Email.ToString2();
                this.txtR_G_Moblie.InnerText = m_OA_StaffResume.R_G_Moblie.ToString2();
 
                if (!string.IsNullOrEmpty(m_OA_StaffResume.R_G_Avatar) && System.IO.File.Exists(HttpContext.Current.Server.MapPath("~" + m_OA_StaffResume.R_G_Avatar)))
                    this.ImgR_G_Avatar.Src = m_OA_StaffResume.R_G_Avatar;
                else
                    this.ImgR_G_Avatar.Src = "../../images/admin/_LoadDefault.gif";
 
                OLDProvince = m_OA_StaffResume.R_G_OldProvence.ToString2();
                OLDCity = m_OA_StaffResume.R_G_OldCity.ToString2();
                OLDCounty = m_OA_StaffResume.R_G_OldArea.ToString2();
                this.OldAddress.InnerText = OLDProvince + OLDCity + OLDCounty + m_OA_StaffResume.R_G_OldAdress.ToString2();
                NowProvince = m_OA_StaffResume.R_G_NowProvince.ToString2();
                NowCity = m_OA_StaffResume.R_G_NowCity.ToString2();
                NowCounty = m_OA_StaffResume.R_G_NowArea.ToString2();
                this.NowAddress.InnerText = NowProvince + NowCity + NowCounty + m_OA_StaffResume.R_G_NowAddress.ToString2();
 
                this.txtR_G_YearsMoney.InnerText = m_OA_StaffResume.R_G_YearsMoney.ToString2();
                this.txtR_G_WorkStatus.InnerText = m_OA_StaffResume.R_G_WorkStatus.ToString2();
                this.txtR_G_QQ.InnerText = m_OA_StaffResume.R_G_QQ.ToString2();
                this.txtR_G_YouHome.InnerText = m_OA_StaffResume.R_G_YouHome.ToString2();
                this.txtR_G_YouHeight.InnerText = m_OA_StaffResume.R_G_YouHeight.ToString2();
                this.txtR_G_YouWeight.InnerText = m_OA_StaffResume.R_G_YouWeight.ToString2();
                this.txtR_G_MarryStatus.InnerText = (m_OA_StaffResume.R_G_MarryStatus == 1 ? "已婚" : "未婚");
                this.txtR_G_YouPolitical.InnerText = m_OA_StaffResume.R_G_YouPolitical.ToString2();
            }
            #endregion
 
            #region OA_StaffResumeIntention
            OA_StaffResumeIntention m_OA_StaffResumeIntention = bll_OA_StaffResumeBLL.GetOA_StaffResumeIntentionByKeyid(MemberId);
            if (m_OA_StaffResumeIntention != null)
            {
                Province = m_OA_StaffResumeIntention.R_I_WorkProvence.ToString2();
                City = m_OA_StaffResumeIntention.R_I_WorkCity.ToString2();
 
 
                this.PCACCommon.InnerText = (City.IndexOf(Province) >= 0 ? City : (Province + City));
                this.txtR_I_Industry.InnerText = m_OA_StaffResumeIntention.R_I_Industry.ToString2();
                this.txtR_I_Consultants_id.InnerText = m_OA_StaffResumeIntention.R_I_PostName.ToString2();
                this.txtR_I_HopeMoney.InnerText = m_OA_StaffResumeIntention.R_I_HopeMoney.ToString2();
                this.txtR_I_WorkTime.InnerText = m_OA_StaffResumeIntention.R_I_WorkTime.ToString2();
                this.txtR_I_YouDetail.InnerText = m_OA_StaffResumeIntention.R_I_YouDetail.ToString2();
            }
            #endregion
        }
    }
}