|
|
@ -1,4 +1,7 @@ |
|
|
|
namespace Tiobon.Core.Services; |
|
|
|
using Tiobon.Core.IServices; |
|
|
|
|
|
|
|
using static Tiobon.Core.Model.Consts; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Tiobon.Core.Services; |
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// <summary> |
|
|
|
/// 个人简历 (服务) |
|
|
|
/// 个人简历 (服务) |
|
|
@ -16,6 +19,7 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins |
|
|
|
private readonly IGhrh_ResumeLicenceServices _ghrh_ResumeLicenceServices; |
|
|
|
private readonly IGhrh_ResumeLicenceServices _ghrh_ResumeLicenceServices; |
|
|
|
private readonly IGhrh_ResumeTrainingServices _ghrh_ResumeTrainingServices; |
|
|
|
private readonly IGhrh_ResumeTrainingServices _ghrh_ResumeTrainingServices; |
|
|
|
private readonly IGhrh_ResumeStatementServices _ghrh_ResumeStatementServices; |
|
|
|
private readonly IGhrh_ResumeStatementServices _ghrh_ResumeStatementServices; |
|
|
|
|
|
|
|
private readonly IGhrh_InterviewOrderServices _ghrh_InterviewOrderServices; |
|
|
|
public Ghrh_ResumeServices(ICaching caching, |
|
|
|
public Ghrh_ResumeServices(ICaching caching, |
|
|
|
IBaseRepository<Ghrh_Resume> dal, |
|
|
|
IBaseRepository<Ghrh_Resume> dal, |
|
|
|
IGhrh_ResumeEduBGServices ghre_ResumeEduBGServices, |
|
|
|
IGhrh_ResumeEduBGServices ghre_ResumeEduBGServices, |
|
|
@ -24,6 +28,7 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins |
|
|
|
IGhrh_ResumeLicenceServices ghre_ResumeLicenceServices, |
|
|
|
IGhrh_ResumeLicenceServices ghre_ResumeLicenceServices, |
|
|
|
IGhrh_ResumeTrainingServices ghre_ResumeTrainingServices, |
|
|
|
IGhrh_ResumeTrainingServices ghre_ResumeTrainingServices, |
|
|
|
IGhrh_ResumeStatementServices ghre_ResumeStatementServices, |
|
|
|
IGhrh_ResumeStatementServices ghre_ResumeStatementServices, |
|
|
|
|
|
|
|
IGhrh_InterviewOrderServices ghre_InterviewOrderServices, |
|
|
|
IGhrh_ResumeWorkExpServices ghre_ResumeWorkExpServices) |
|
|
|
IGhrh_ResumeWorkExpServices ghre_ResumeWorkExpServices) |
|
|
|
{ |
|
|
|
{ |
|
|
|
this._dal = dal; |
|
|
|
this._dal = dal; |
|
|
@ -35,6 +40,7 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins |
|
|
|
_ghrh_ResumeLicenceServices = ghre_ResumeLicenceServices; |
|
|
|
_ghrh_ResumeLicenceServices = ghre_ResumeLicenceServices; |
|
|
|
_ghrh_ResumeTrainingServices = ghre_ResumeTrainingServices; |
|
|
|
_ghrh_ResumeTrainingServices = ghre_ResumeTrainingServices; |
|
|
|
_ghrh_ResumeStatementServices = ghre_ResumeStatementServices; |
|
|
|
_ghrh_ResumeStatementServices = ghre_ResumeStatementServices; |
|
|
|
|
|
|
|
_ghrh_InterviewOrderServices = ghre_InterviewOrderServices; |
|
|
|
_ghrh_ResumeWorkExpServices = ghre_ResumeWorkExpServices; |
|
|
|
_ghrh_ResumeWorkExpServices = ghre_ResumeWorkExpServices; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1183,4 +1189,21 @@ END"; |
|
|
|
return result; |
|
|
|
return result; |
|
|
|
} |
|
|
|
} |
|
|
|
#endregion |
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 简历推荐 |
|
|
|
|
|
|
|
public async Task<ServiceResult> Recommend(long id, ResumeRecommendForm recommend) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
await _ghrh_InterviewOrderServices.Add(new InsertGhrh_InterviewOrderInput() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
ResumeId = id, |
|
|
|
|
|
|
|
RequestId = recommend.RequestId, |
|
|
|
|
|
|
|
RecommendTime = DateTime.Now, |
|
|
|
|
|
|
|
RecommendId = App.User.ID, |
|
|
|
|
|
|
|
ReceiverIds = JsonHelper.ObjToJson(recommend), |
|
|
|
|
|
|
|
Status = DIC_INTERVIEW_ORDER_STATUS.HasRecommended |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return ServiceResult.OprateSuccess(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endregion |
|
|
|
} |
|
|
|
} |