|
|
|
@ -3,6 +3,7 @@ using AgileObjects.AgileMapper; |
|
|
|
|
using Newtonsoft.Json.Linq; |
|
|
|
|
using SqlSugar; |
|
|
|
|
using System.Collections.Generic; |
|
|
|
|
using System.Dynamic; |
|
|
|
|
using System.Linq.Expressions; |
|
|
|
|
using Tiobon.Core.Common; |
|
|
|
|
using Tiobon.Core.Common.Caches; |
|
|
|
@ -339,6 +340,8 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins |
|
|
|
|
#region 查询简历是否存在 |
|
|
|
|
public async Task<ServiceResult<long>> CheckIsExist(InsertGhrh_ResumeInput input) |
|
|
|
|
{ |
|
|
|
|
dynamic obj = new ExpandoObject(); |
|
|
|
|
obj.ApplicationStatus = "Hold"; |
|
|
|
|
long id = 0; |
|
|
|
|
var resume = await QuerySingle(x => x.Mobile == input.Mobile); |
|
|
|
|
|
|
|
|
@ -346,7 +349,8 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins |
|
|
|
|
id = await base.Add(new InsertGhrh_ResumeInput() |
|
|
|
|
{ |
|
|
|
|
Mobile = input.Mobile, |
|
|
|
|
StaffName = input.StaffName |
|
|
|
|
StaffName = input.StaffName, |
|
|
|
|
ApplicationStatus = "Hold" |
|
|
|
|
}); |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
@ -359,8 +363,10 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins |
|
|
|
|
ServiceResult<long>.OprateFailed("请输入身份证号码后六位!"); |
|
|
|
|
|
|
|
|
|
id = resume.Id; |
|
|
|
|
obj.ApplicationStatus = resume.ApplicationStatus; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
obj.Id = id; |
|
|
|
|
return ServiceResult<long>.OprateSuccess("查询成功", id); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|