/// <summary> /// 修改简历 简历筛选编辑 /// </summary> /// <param name="engageResume"></param> /// <returns></returns> public ActionResult ChangeEngageResume(Entity.engage_resume engageResume) { Entity.engage_resume old = EngageResumeBll.FindAResume(engageResume.res_id.ToString()); old.human_name = engageResume.human_name; old.human_email = engageResume.human_email; old.human_telephone = engageResume.human_telephone; old.human_mobilephone = engageResume.human_mobilephone; old.human_address = engageResume.human_address; old.human_postcode = engageResume.human_postcode; old.human_nationality = engageResume.human_nationality; old.human_birthplace = engageResume.human_birthplace; old.human_birthday = engageResume.human_birthday; old.human_idcard = engageResume.human_idcard; old.human_age = engageResume.human_age; old.human_college = engageResume.human_college; old.demand_salary_standard = engageResume.demand_salary_standard; old.pass_checker = engageResume.pass_checker; old.pass_check_time = engageResume.pass_check_time; old.recomandation = engageResume.recomandation; old.check_status = 1; if (EngageResumeBll.Change(old) > 0) { return(Content("<script>alert('推荐成功');location.href='/resume/validresume';</script>")); } else { return(Content("<script>alert('推荐失败');history.back();</script>")); } }
/// <summary> /// 您正在做的业务是:人力资源--招聘管理--录用管理--录用申请 /// </summary> /// <returns></returns> public ActionResult register(string id) { Entity.engage_resume rs = EngageResumeBll.FindAResume(id); ViewBag.resume = rs; ViewBag.engageInterviewList = EngageInterviewBll.FindEngageInterviewByResID(id).OrderBy(e => e.ein_id).ToList(); return(View()); }
public ActionResult checkResume(Entity.engage_resume engageResume) { Entity.engage_resume old = EngageResumeBll.FindAResume(engageResume.res_id.ToString()); old.pass_passComment = engageResume.pass_passComment; if (EngageResumeBll.Change(old) > 0) { return(Content("<script>alert('提交成功');location.href='/employ/check_list'</script>")); } else { return(Content("<script>alert('提交失败');history.back();</script>")); } }
/// <summary> /// 简历添加 /// </summary> /// <param name="engageResume"></param> /// <returns></returns> public ActionResult addEngageResume(Entity.engage_resume engageResume) { engageResume.pass_checkComment = "不通过"; engageResume.pass_passComment = "不通过"; engageResume.check_status = 0; engageResume.interview_status = 0; engageResume.register = (Session["user"] as Entity.users).u_name; engageResume.human_age = short.Parse((DateTime.Now.Year - engageResume.human_birthday.Value.Year).ToString()); IBLL.IEngageResumeBll engageResumeBll = IocContainer.IocCreate.CreateBll <IBLL.IEngageResumeBll>("EngageResumeBll"); if (engageResumeBll.Add(engageResume) > 0) { return(Content("<script>alert('简历登记成功');location.href='/resume/resumechoose';</script>")); } return(Content("<script>alert('简历登记失败');history.back();</script>")); }
/// <summary> /// 通过录用申请 /// </summary> /// <param name="engageResume"></param> /// <returns></returns> public ActionResult PassRegister(Entity.engage_resume engageResume) { Entity.engage_resume old = EngageResumeBll.FindAResume(engageResume.res_id.ToString()); old.pass_passComment = engageResume.pass_passComment; old.interview_status = engageResume.interview_status; if (EngageResumeBll.Change(old) > 0) { Util.EmailHelper.SendEmail("hr管理系统", "尊敬的" + old.human_name + "先生/女士 您已被我公司录用", old.human_email); return(Content("<script>alert('提交成功');location.href='/employ/check_list';</script>")); } else { return(Content("<script>alert('提交成功');history.back();</script>")); } }
/// <summary> /// 获取简历详细信息 /// </summary> /// <param name="id"></param> /// <returns></returns> public ActionResult resumedetails(string id) { ViewBag.UserList = UsersBll.FindAll(); Entity.engage_resume old = EngageResumeBll.FindAResume(id); if (old.pass_check_status == 0) { old.pass_check_status = 1; } if (EngageResumeBll.Change(old) > 0) { return(View(EngageResumeBll.FindAResume(id))); } else { return(Content("<script>alert('复核失败');history.back();</script>")); } }