@ -249,7 +249,7 @@ public class Ghrh_ResumeController : BaseController<IGhrh_ResumeServices, Ghrh_R
#region 安排面试
/// <summary>
/// 面试官约面
/// 安排 面试
/// </summary>
/// <param name="id">简历Id</param>
/// <param name="body"></param>
@ -274,10 +274,10 @@ public class Ghrh_ResumeController : BaseController<IGhrh_ResumeServices, Ghrh_R
/// <summary>
/// 待面试提醒
/// </summary>
/// <param name="id">简历Id</param>
/// <param name="ids ">简历Id,列表 </param>
/// <returns></returns>
[HttpPost, Route("RemindWaitInterview/{id} ")]
public async Task < ServiceResult > RemindWaitInterview ( long id ) = > await _ service . RemindWaitInterview ( id ) ;
[HttpPost, Route("RemindWaitInterview")]
public async Task < ServiceResult > RemindWaitInterview ( [ FromBody ] List < long > ids ) = > await _ service . RemindWaitInterview ( ids ) ;
# endregion
#region 重新安排面试-直接发起
@ -337,12 +337,12 @@ public class Ghrh_ResumeController : BaseController<IGhrh_ResumeServices, Ghrh_R
/// <summary>
/// 发offer
/// </summary>
/// <param name="id">简历Id</param>
/// <param name="ids ">简历Id,列表 </param>
/// <returns></returns>
[HttpPost, Route("SendOffer/{id} ")]
public async Task < ServiceResult > SendOffer ( long id )
[HttpPost, Route("SendOffer")]
public async Task < ServiceResult > SendOffer ( [ FromBody ] List < long > ids )
{
return await _ service . SendOffer ( id ) ;
return await _ service . SendOffer ( ids ) ;
}
# endregion
@ -350,12 +350,12 @@ public class Ghrh_ResumeController : BaseController<IGhrh_ResumeServices, Ghrh_R
/// <summary>
/// 已发offer提醒
/// </summary>
/// <param name="id">简历Id</param>
/// <param name="ids ">简历Id,列表 </param>
/// <returns></returns>
[HttpPost, Route("RemindHasOffer/{id} ")]
public async Task < ServiceResult > RemindHasOffer ( long id )
[HttpPost, Route("RemindHasOffer")]
public async Task < ServiceResult > RemindHasOffer ( [ FromBody ] List < long > ids )
{
return await _ service . Send Offer( id ) ;
return await _ service . RemindHas Offer( ids ) ;
}
# endregion
@ -366,10 +366,10 @@ public class Ghrh_ResumeController : BaseController<IGhrh_ResumeServices, Ghrh_R
/// <param name="id">简历Id</param>
/// <param name="value">已报到传true,未报到传false</param>
/// <returns></returns>
[HttpPost, Route("ModifyIsOffer/{id}/{ value}")]
public async Task < ServiceResult > ModifyIsOffer ( long id , bool value )
[HttpPost, Route("ModifyIsOffer/{value}")]
public async Task < ServiceResult > ModifyIsOffer ( [ FromBody ] List < long > ids , bool value )
{
return await _ service . ModifyIsOffer ( id , value ) ;
return await _ service . ModifyIsOffer ( ids , value ) ;
}
# endregion
@ -387,6 +387,7 @@ public class Ghrh_ResumeController : BaseController<IGhrh_ResumeServices, Ghrh_R
/// <summary>
/// ESS端查询面试记录
/// </summary>
/// <param name="body">body</param>
/// <param name="status">状态</param>
/// <returns></returns>
[HttpPost, Route("QueryESS/{status}")]
@ -395,21 +396,21 @@ public class Ghrh_ResumeController : BaseController<IGhrh_ResumeServices, Ghrh_R
var condition = "1!=1" ;
switch ( status )
{
case DIC_INTERVIEW_ORDER_STATUS . HasRecommended : //待筛选
condition = $"B .Status ='{DIC_INTERVIEW_ORDER_STATUS.HasRecommended}' AND B.IsPass IS NULL " ;
break ;
//case DIC_INTERVIEW_ORDER_STATUS.HasRecommended: //待筛选
// condition = $"A .Status ='{DIC_INTERVIEW_ORDER_STATUS.HasRecommended}'";
// break ;
//case DIC_INTERVIEW_ORDER_STATUS.WaitAppointment://待预约
// condition = $"Status ='{DIC_INTERVIEW_ORDER_STATUS.WaitAppointment}' ";
// break;
case "Fail" : //不合适
condition = $"( Status ='{status}' OR Status ='{DIC_INTERVIEW_ORDER_STATUS.WaitSendOffer}' OR Status ='{DIC_INTERVIEW_ORDER_STATUS.HasSendOffer}' OR Status ='{DIC_INTERVIEW_ORDER_STATUS.HasOffer}')" ;
break ;
//case "Fail": //不合适
// condition = $"(A. Status ='{status}' OR Status ='{DIC_INTERVIEW_ORDER_STATUS.WaitSendOffer}' OR Status ='{DIC_INTERVIEW_ORDER_STATUS.HasSendOffer}' OR Status ='{DIC_INTERVIEW_ORDER_STATUS.HasOffer}')";
// break ;
//case DIC_INTERVIEW_ORDER_STATUS.WaitInterview://待面试
// condition = $"Status ='{DIC_INTERVIEW_ORDER_STATUS.WaitInterview}' ";
// break;
default :
condition = $"Status ='{status}' " ;
condition = $"A. Status ='{status}' " ;
break ;
}
return await _ service . QueryESS ( body , condition ) ;