|
|
@ -278,7 +278,7 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins |
|
|
|
if (x.Tags.IsNotEmptyOrNull()) |
|
|
|
if (x.Tags.IsNotEmptyOrNull()) |
|
|
|
tagIds.AddRange(JsonHelper.JsonToObj<List<long>>(x.Tags)); |
|
|
|
tagIds.AddRange(JsonHelper.JsonToObj<List<long>>(x.Tags)); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
var orders = await _ghrh_InterviewOrderServices.QueryDto(x => x.ResumeId != null && ids.Contains(x.ResumeId.Value)); |
|
|
|
var orders = await _ghrh_InterviewOrderServices.QueryDto(x => x.ResumeId != null && ids.Contains(x.ResumeId.Value)); |
|
|
|
tagIds = tagIds.Distinct().ToList(); |
|
|
|
tagIds = tagIds.Distinct().ToList(); |
|
|
|
var tags = await _ghrh_ResumeTagServices.QueryDto(x => tagIds.Contains(x.Id)); |
|
|
|
var tags = await _ghrh_ResumeTagServices.QueryDto(x => tagIds.Contains(x.Id)); |
|
|
@ -316,10 +316,20 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins |
|
|
|
x.Interviewer = order.Interviewer; |
|
|
|
x.Interviewer = order.Interviewer; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (x.Status == DIC_INTERVIEW_ORDER_STATUS.HasRecommended) |
|
|
|
if (x.Status == DIC_INTERVIEW_ORDER_STATUS.Fail) |
|
|
|
{ |
|
|
|
{ |
|
|
|
x.InterviewResult = order.InterviewResult; |
|
|
|
x.InterviewResult = order.InterviewResult; |
|
|
|
x.InterviewResultRemark = order.FilterFeedback; |
|
|
|
x.InterviewResultRemark = order.FilterFeedback.IsNotEmptyOrNull() ? order.FilterFeedback : "(不合适原因未填写)"; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
else if (x.Status == DIC_INTERVIEW_ORDER_STATUS.HasRecommended) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
x.InterviewResult = "推荐中"; |
|
|
|
|
|
|
|
x.InterviewResultRemark = order.RecommendRemark.IsNotEmptyOrNull()? order.RecommendRemark : "(推荐说明未填写)"; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
else if (x.Status == DIC_INTERVIEW_ORDER_STATUS.WaitAppointment) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
//x.InterviewResult = "推荐中"; |
|
|
|
|
|
|
|
x.AppointmentFeedback = order.AppointmentFeedback.IsNotEmptyOrNull() ? order.AppointmentFeedback : "(约面反馈未填写)"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
x.InterviewTime1 = order.InterviewTime; |
|
|
|
x.InterviewTime1 = order.InterviewTime; |
|
|
@ -329,7 +339,6 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins |
|
|
|
x.InterviewTime1 = "已取消"; |
|
|
|
x.InterviewTime1 = "已取消"; |
|
|
|
else if (order.WaitInterviewStatus == "HasChangeInterviewTime") |
|
|
|
else if (order.WaitInterviewStatus == "HasChangeInterviewTime") |
|
|
|
x.InterviewTime1 = "已改期"; |
|
|
|
x.InterviewTime1 = "已改期"; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
@ -2029,7 +2038,7 @@ END"; |
|
|
|
order.Status = DIC_INTERVIEW_ORDER_STATUS.Fail; |
|
|
|
order.Status = DIC_INTERVIEW_ORDER_STATUS.Fail; |
|
|
|
order.InterviewResult = "不合适"; |
|
|
|
order.InterviewResult = "不合适"; |
|
|
|
order.FilterFeedback = input.Content; |
|
|
|
order.FilterFeedback = input.Content; |
|
|
|
await _ghrh_InterviewOrderServices.Update(order, ["Status", "InterviewResult", "InterviewResultRemark"]); |
|
|
|
await _ghrh_InterviewOrderServices.Update(order, ["Status", "InterviewResult", "FilterFeedback"]); |
|
|
|
|
|
|
|
|
|
|
|
var records = await _ghrh_InterviewRecordServices.Query(x => x.Round == order.Round && x.OrderId == order.Id); |
|
|
|
var records = await _ghrh_InterviewRecordServices.Query(x => x.Round == order.Round && x.OrderId == order.Id); |
|
|
|
records.ForEach(record => |
|
|
|
records.ForEach(record => |
|
|
@ -2038,7 +2047,7 @@ END"; |
|
|
|
record.InterviewResult = "不合适"; |
|
|
|
record.InterviewResult = "不合适"; |
|
|
|
record.FilterFeedback = input.Content; |
|
|
|
record.FilterFeedback = input.Content; |
|
|
|
}); |
|
|
|
}); |
|
|
|
await _ghrh_InterviewRecordServices.Update(records, ["Status", "InterviewResult", "InterviewResultRemark"]); |
|
|
|
await _ghrh_InterviewRecordServices.Update(records, ["Status", "InterviewResult", "FilterFeedback"]); |
|
|
|
await LogRecord(order.Id, "变更状态为:不合适!"); |
|
|
|
await LogRecord(order.Id, "变更状态为:不合适!"); |
|
|
|
} |
|
|
|
} |
|
|
|
return ServiceResult.OprateSuccess(); |
|
|
|
return ServiceResult.OprateSuccess(); |
|
|
|