username@email.com
2025-05-09 66beb245e516809514642c00922f0339bf760518
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CY.IDAL;
using CY.Model;
using AbstractFactory;
using CY.IBaseDAL;
using CY.Infrastructure.DESEncrypt;
using CY.Infrastructure.Query;
 
namespace CY.BLL
{
    public class OA_StaffResumeBLL
    {
        IOA_StaffResumeDAL iOA_StaffResumeDAL = null;
        IOA_StaffResumeEducationDAL iOA_StaffResumeEducationDAL = null;
        IOA_StaffResumeIntentionDAL iOA_StaffResumeIntentionDAL = null;
        IOA_StaffResumeWorkDAL iOA_StaffResumeWorkDAL = null;
 
        public OA_StaffResumeBLL()
        {
            iOA_StaffResumeDAL = Factory.GetDALByInterfaceName(DALInterface.IOA_StaffResumeDAL) as IOA_StaffResumeDAL;
            iOA_StaffResumeEducationDAL = Factory.GetDALByInterfaceName(DALInterface.IOA_StaffResumeEducationDAL) as IOA_StaffResumeEducationDAL;
            iOA_StaffResumeIntentionDAL = Factory.GetDALByInterfaceName(DALInterface.IOA_StaffResumeIntentionDAL) as IOA_StaffResumeIntentionDAL;
            iOA_StaffResumeWorkDAL = Factory.GetDALByInterfaceName(DALInterface.IOA_StaffResumeWorkDAL) as IOA_StaffResumeWorkDAL;
        }
 
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public bool InsertModel(Model.OA_StaffResume model)
        {
            return iOA_StaffResumeDAL.InserModel(model);
        }
 
        /// <summary>
        /// 更新
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public bool UpdateModel(Model.OA_StaffResume model)
        {
 
            return iOA_StaffResumeDAL.UpdateModel(model);
        }
 
        /// <summary>
        /// 保存简历
        /// </summary>
        /// <param name="m_OA_StaffResume"></param>
        /// <param name="m_OA_StaffResumeIntention"></param>
        /// <param name="m_OA_StaffResumeEducationList"></param>
        /// <param name="m_OA_StaffResumeWorkList"></param>
        /// <returns></returns>
        public bool SaveResume(OA_StaffResume m_OA_StaffResume, OA_StaffResumeIntention m_OA_StaffResumeIntention, List<OA_StaffResumeEducation> m_OA_StaffResumeEducationList, List<OA_StaffResumeWork> m_OA_StaffResumeWorkList)
        {
            return iOA_StaffResumeDAL.SaveResume(m_OA_StaffResume, m_OA_StaffResumeIntention, m_OA_StaffResumeEducationList, m_OA_StaffResumeWorkList);
        }
 
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public bool DeleteModel(Model.OA_StaffResume model)
        {
 
            return iOA_StaffResumeDAL.DeleteModel(model);
        }
 
        /// <summary>
        /// 根据编号获得信息
        /// </summary>
        /// <param name="Keyid">编号</param>
        /// <returns></returns>
        public OA_StaffResume GetModelByKeyid(int? Keyid)
        {
            return iOA_StaffResumeDAL.GetModelByKeyid(Keyid);
        }
 
        /// <summary>
        /// 根据厂商编号获得信息
        /// </summary>
        /// <param name="Memberid">厂商编号</param>
        /// <returns></returns>
        public OA_StaffResume GetModelByMemberid(Guid Memberid)
        {
            return iOA_StaffResumeDAL.GetModelByMemberid(Memberid);
        }
 
        /// <summary>
        /// 根据编号获得信息
        /// </summary>
        /// <param name="Memberid">编号</param>
        /// <returns></returns>
        public IEnumerable<OA_StaffResumeEducation> GetOA_StaffResumeEducationListByKeyid(Guid Memberid)
        {
            return iOA_StaffResumeEducationDAL.GetListByMemberid(Memberid);
        }
        /// <summary>
        /// 根据编号获得信息
        /// </summary>
        /// <param name="Memberid">编号</param>
        /// <returns></returns>
        public OA_StaffResumeIntention GetOA_StaffResumeIntentionByKeyid(Guid Memberid)
        {
            return iOA_StaffResumeIntentionDAL.GetModelByMemberid(Memberid);
        }
        /// <summary>
        /// 根据编号获得信息
        /// </summary>
        /// <param name="Memberid">编号</param>
        /// <returns></returns>
        public IEnumerable<OA_StaffResumeWork> GetOA_StaffResumeWorkListByKeyid(Guid Memberid)
        {
            return iOA_StaffResumeWorkDAL.GetListByMemberid(Memberid);
        }
 
        /// <summary>
        /// 分页查询
        /// </summary>
        /// <param name="pagination"></param>
        /// <returns></returns>
        public IEnumerable<Model.OA_StaffResume> SelectModelPage(Infrastructure.Query.Pagination pagination, Guid _Memberid, string _R_G_Avatar, string _R_G_Name, string _R_G_Sex, string _R_G_WorkYear, string _R_G_Degree, string _R_G_DocumentsType, string _R_G_DocumentsNumber, string _R_G_Email, string _R_G_Moblie, string _R_G_WorkPhone, string _R_G_HomePhone, string _R_G_NowProvince, string _R_G_NowCity, string _R_G_NowArea, string _R_G_NowAddress, string _R_G_OldProvence, string _R_G_OldCity, string _R_G_OldArea, string _R_G_OldAdress, DateTime? _BeginR_G_CreatTime, DateTime? _EndR_G_CreatTime, int? _R_G_Language, string _R_G_YearsMoney, string _R_G_WorkStatus, string _R_G_QQ, string _R_G_YouHome, int? _R_G_YouHeight, int? _R_G_YouWeight, int? _R_G_MarryStatus, string _R_G_YouPolitical, int? _R_G_Status, int? _OrderNum, DateTime? _BeginLastUpdateTime, DateTime? _EndLastUpdateTime, string _Operator)
        {
            return iOA_StaffResumeDAL.SelectModelPage(pagination, _Memberid, _R_G_Avatar, _R_G_Name, _R_G_Sex, _R_G_WorkYear, _R_G_Degree, _R_G_DocumentsType, _R_G_DocumentsNumber, _R_G_Email, _R_G_Moblie, _R_G_WorkPhone, _R_G_HomePhone, _R_G_NowProvince, _R_G_NowCity, _R_G_NowArea, _R_G_NowAddress, _R_G_OldProvence, _R_G_OldCity, _R_G_OldArea, _R_G_OldAdress, _BeginR_G_CreatTime, _EndR_G_CreatTime, _R_G_Language, _R_G_YearsMoney, _R_G_WorkStatus, _R_G_QQ, _R_G_YouHome, _R_G_YouHeight, _R_G_YouWeight, _R_G_MarryStatus, _R_G_YouPolitical, _R_G_Status, _OrderNum, _BeginLastUpdateTime, _EndLastUpdateTime, _Operator);
        }
 
        /// <summary>
        /// 分页查询
        /// </summary>
        /// <param name="pagination"></param>
        /// <returns></returns>
        public IEnumerable<Model.OA_StaffResume> SelectModelPage(Infrastructure.Query.Pagination pagination, DateTime? _BeginR_G_CreatTime, string _R_G_Sex, string _R_G_WorkYear, int? _R_I_Consultants_id, string _R_I_PostName)
        {
            return iOA_StaffResumeDAL.SelectModelPage(pagination, _BeginR_G_CreatTime, _R_G_Sex, _R_G_WorkYear, _R_I_Consultants_id, _R_I_PostName);
        }
    }
}