|
|
|
@ -1,7 +1,4 @@ |
|
|
|
|
using MySqlX.XDevAPI.Common; |
|
|
|
|
using NPOI.XWPF.UserModel; |
|
|
|
|
using Tiobon.Core.Common.DB.Dapper.Extensions; |
|
|
|
|
using static Tiobon.Core.Model.Consts; |
|
|
|
|
using static Tiobon.Core.Model.Consts; |
|
|
|
|
|
|
|
|
|
namespace Tiobon.Core.Services; |
|
|
|
|
|
|
|
|
@ -35,6 +32,7 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins |
|
|
|
|
/// |
|
|
|
|
/// </summary> |
|
|
|
|
private readonly IGhrh_InterviewLogServices _ghrh_InterviewLogServices; |
|
|
|
|
private readonly IGhrh_HumanRequestServices _ghrh_HumanRequestServices; |
|
|
|
|
public Ghrh_ResumeServices(ICaching caching, |
|
|
|
|
IBaseRepository<Ghrh_Resume> dal, |
|
|
|
|
IGhrh_ResumeEduBGServices ghre_ResumeEduBGServices, |
|
|
|
@ -46,6 +44,7 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins |
|
|
|
|
IGhrh_InterviewOrderServices ghre_InterviewOrderServices, |
|
|
|
|
IGhrh_InterviewRecordServices ghre_InterviewRecordServices, |
|
|
|
|
IGhrh_InterviewLogServices ghrh_InterviewLogServices, |
|
|
|
|
IGhrh_HumanRequestServices ghrh_HumanRequestServices, |
|
|
|
|
IGhrh_ResumeWorkExpServices ghre_ResumeWorkExpServices) |
|
|
|
|
{ |
|
|
|
|
this._dal = dal; |
|
|
|
@ -61,6 +60,7 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins |
|
|
|
|
_ghrh_InterviewRecordServices = ghre_InterviewRecordServices; |
|
|
|
|
_ghrh_ResumeWorkExpServices = ghre_ResumeWorkExpServices; |
|
|
|
|
_ghrh_InterviewLogServices = ghrh_InterviewLogServices; |
|
|
|
|
_ghrh_HumanRequestServices = ghrh_HumanRequestServices; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1918,4 +1918,36 @@ WHERE A.IsEnable = 1 AND C.IsEnable = 1"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
#region 获取安排面试表单信息 |
|
|
|
|
public async Task<ServiceResult<ResumeScheduleInterviewResult>> QueryScheduleInterviewForm(long id) |
|
|
|
|
{ |
|
|
|
|
var result = new ResumeScheduleInterviewResult(); |
|
|
|
|
var entity = base.QueryById(id); |
|
|
|
|
var order = await _ghrh_InterviewOrderServices.QuerySingle(x => x.ResumeId == id); |
|
|
|
|
var record = await _ghrh_InterviewRecordServices.QuerySingle(x => x.Round == order.Round && x.OrderId == order.Id); |
|
|
|
|
var request = await _ghrh_HumanRequestServices.QueryById(order.RequestId); |
|
|
|
|
|
|
|
|
|
result.RequestId = order.RequestId; |
|
|
|
|
result.DeptName = request.BelongDeptName; |
|
|
|
|
result.TitleName = request.TitleName; |
|
|
|
|
result.ResumeCount = request.ResumeCount; |
|
|
|
|
result.RecommendCount = request.RecommendCount; |
|
|
|
|
result.InterviewCount = request.InterviewCount; |
|
|
|
|
result.OfferCount = request.OfferCount; |
|
|
|
|
result.Times = new List<string>(); |
|
|
|
|
if (record.PlanInterviewTime1.IsNotEmptyOrNull()) |
|
|
|
|
result.Times.Add(record.PlanInterviewTime1); |
|
|
|
|
|
|
|
|
|
if (record.PlanInterviewTime2.IsNotEmptyOrNull()) |
|
|
|
|
result.Times.Add(record.PlanInterviewTime2); |
|
|
|
|
|
|
|
|
|
if (record.PlanInterviewTime3.IsNotEmptyOrNull()) |
|
|
|
|
result.Times.Add(record.PlanInterviewTime3); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return ServiceResult<ResumeScheduleInterviewResult>.OprateSuccess("查询成功", result); |
|
|
|
|
} |
|
|
|
|
#endregion |
|
|
|
|
} |