|
|
|
@ -338,7 +338,7 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins |
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
#region 查询简历是否存在 |
|
|
|
|
public async Task<ServiceResult<long>> CheckIsExist(InsertGhrh_ResumeInput input) |
|
|
|
|
public async Task<ServiceResult<dynamic>> CheckIsExist(InsertGhrh_ResumeInput input) |
|
|
|
|
{ |
|
|
|
|
dynamic obj = new ExpandoObject(); |
|
|
|
|
obj.ApplicationStatus = "Hold"; |
|
|
|
@ -354,20 +354,18 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins |
|
|
|
|
}); |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
if (resume.IdCardNo.IsNullOrEmpty()) |
|
|
|
|
ServiceResult<long>.OprateFailed("请输入身份证号码后六位!"); |
|
|
|
|
if (resume.IdCardNo.IsNotEmptyOrNull() && input.IdCardNo.IsNullOrEmpty()) |
|
|
|
|
return ServiceResult<dynamic>.OprateFailed("请输入身份证号码后六位!"); |
|
|
|
|
|
|
|
|
|
resume = await QuerySingle(x => x.Mobile == input.Mobile && x.IdCardNo.Contains(input.IdCardNo)); |
|
|
|
|
|
|
|
|
|
if (resume.IsNullOrEmpty()) |
|
|
|
|
ServiceResult<long>.OprateFailed("请输入身份证号码后六位!"); |
|
|
|
|
if (resume.IdCardNo.IsNotEmptyOrNull() && input.IdCardNo.IsNotEmptyOrNull()) |
|
|
|
|
resume = await QuerySingle(x => x.Mobile == input.Mobile && x.IdCardNo.Contains(input.IdCardNo)); |
|
|
|
|
|
|
|
|
|
id = resume.Id; |
|
|
|
|
obj.ApplicationStatus = resume.ApplicationStatus; |
|
|
|
|
obj.ApplicationStatus = resume.ApplicationStatus ?? "Hold"; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
obj.Id = id; |
|
|
|
|
return ServiceResult<long>.OprateSuccess("查询成功", id); |
|
|
|
|
return ServiceResult<dynamic>.OprateSuccess("查询成功", obj); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
#endregion |
|
|
|
@ -401,4 +399,28 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
#region 查询简历是否存在 |
|
|
|
|
public async Task<ServiceResult<dynamic>> Query(long id, int langId) |
|
|
|
|
{ |
|
|
|
|
dynamic obj = new ExpandoObject(); |
|
|
|
|
dynamic Guide = new ExpandoObject(); |
|
|
|
|
var entity = await QueryById(id); |
|
|
|
|
|
|
|
|
|
#region Guide |
|
|
|
|
Guide.Title = "应聘信息登记表填写说明"; |
|
|
|
|
Guide.CompanyName = "乔邦 Tiobon"; |
|
|
|
|
Guide.GuideText = @"<p>亲爱的小伙伴:</p>
|
|
|
|
|
<p> 感谢你对公司的认可。</p> |
|
|
|
|
<p> </p> |
|
|
|
|
<p> 填写公司岗位应聘表时,请确保信息准确无误。</p> |
|
|
|
|
<p> </p> |
|
|
|
|
<p>请依次填写个人信息(如姓名、联系方式等)、教育青景、工作经验(从最近到最远列出,包括公司名称、职位和主要职责)等。 |
|
|
|
|
强调与职位相关的经历和技能,保持内容简洁明了。</p>";
|
|
|
|
|
obj.Guide = Guide; |
|
|
|
|
#endregion |
|
|
|
|
return ServiceResult<dynamic>.OprateSuccess("查询成功", obj); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
#endregion |
|
|
|
|
} |