master
xiaochanghai 7 months ago
parent e27cc14bb5
commit 55b7355085
  1. 12
      Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs

@ -2,6 +2,7 @@
using DinkToPdf.Contracts;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Microsoft.IdentityModel.Tokens;
using System.IO.Compression;
using static Tiobon.Core.Model.Consts;
@ -97,6 +98,8 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins
{
if (x != null)
{
if (x.Education.IsNullOrEmpty())
x.Education = x.EduDegree;
x.TitleLabel = x.TitleName;
x.GenderLabel = await GetParaLabel("Gender", x.Gender);
x.EducationLabel = await GetParaLabel("EducationalBGLevel", x.Education);
@ -107,7 +110,7 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins
x.CertificateTypeLabel = await GetParaLabel("D51", x.CertificateType);
x.RegisteredTypeLabel = await GetParaLabel("A08", x.RegisteredType);
x.ApplyStatusLabel = await GetParaLabel("ResumeApplyStatus", x.ApplyStatus);
x.ChannelLabel = await GetParaLabel("ResumeApplyStatus", x.Channel);
x.ChannelLabel = await GetParaLabel("ResumeChannel", x.Channel);
x.EduDegreeLabel = await GetParaLabel("EducationalBGLevel", x.EduDegree);
#region 计算年龄
@ -181,6 +184,7 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins
break;
case "SalaryPeriod":
case "EduDegree":
case "Education":
case "ApplyStatus":
case "Gender":
@ -324,9 +328,9 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins
else if (x.Status == DIC_INTERVIEW_ORDER_STATUS.HasRecommended)
{
x.InterviewResult = "推荐中";
x.InterviewResultRemark = order.RecommendRemark.IsNotEmptyOrNull()? order.RecommendRemark : "(推荐说明未填写)";
x.InterviewResultRemark = order.RecommendRemark.IsNotEmptyOrNull() ? order.RecommendRemark : "(推荐说明未填写)";
}
else if (x.Status == DIC_INTERVIEW_ORDER_STATUS.WaitAppointment)
else if (x.Status == DIC_INTERVIEW_ORDER_STATUS.WaitAppointment || x.Status == DIC_INTERVIEW_ORDER_STATUS.WaitInterview)
{
//x.InterviewResult = "推荐中";
x.AppointmentFeedback = order.AppointmentFeedback.IsNotEmptyOrNull() ? order.AppointmentFeedback : "(约面反馈未填写)";
@ -1136,7 +1140,7 @@ END";
resume.Base.Age = age;
}
#endregion
resume.Base.Education = resume.Base.EduDegree;
await base.Update(id, resume.Base);
await _ghrh_ResumeHomeServices.Delete(x => x.ResumeId != null && x.ResumeId == id);//家庭关系

Loading…
Cancel
Save