예제 #1
0
        /// <summary>
        /// 保存一份简历
        /// </summary>
        /// <param name="model"></param>
        public void SaveResume(ResumeModel model)
        {
            DAL.ResumeDAL dal = new DAL.ResumeDAL();


            switch (model.ResumeId)
            {
            case "":


                model.ResumeId   = Common.TimeString.GetNowDifString();
                model.CreateTime = DateTime.Now;
                dal.Add(model);
                break;

            default:

                dal.Update(model);
                break;
            }
        }
예제 #2
0
 /// <summary>
 /// 根据简历编号取得简历主体
 /// </summary>
 /// <param name="UserId"></param>
 /// <returns></returns>
 public DataSet GetResumeInfoByResumeId(string ResumeId)
 {
     DAL.ResumeDAL dal = new DAL.ResumeDAL();
     return(dal.GetResumeInfoByResumeId(ResumeId));
 }
예제 #3
0
 /// <summary>
 /// 根据用户编号取出用户的简历主体(目前的逻辑,一个用户只有一份简历)
 /// </summary>
 /// <param name="UserId"></param>
 /// <returns></returns>
 public DataSet GetResumeListByUserId(string UserId)
 {
     DAL.ResumeDAL dal = new DAL.ResumeDAL();
     return(dal.GetResumeListByUserId(UserId));
 }
예제 #4
0
 /// <summary>
 /// 获得简历分页列表
 /// </summary>
 /// <param name="strWhere"></param>
 /// <param name="currentpage"></param>
 /// <returns></returns>
 public DataSet GetResumePageList(string strWhere, int currentpage)
 {
     DAL.ResumeDAL dal = new DAL.ResumeDAL();
     return(dal.GetPageList(strWhere, currentpage, 30));
 }
예제 #5
0
 /// <summary>
 /// 取得简历列表
 /// </summary>
 /// <param name="strWhere"></param>
 /// <returns></returns>
 public DataTable GetResumeList(string strWhere)
 {
     DAL.ResumeDAL dal = new DAL.ResumeDAL();
     return(dal.GetList(strWhere).Tables[0]);
 }