|
|
|
@ -292,16 +292,25 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins |
|
|
|
|
if (order != null) |
|
|
|
|
{ |
|
|
|
|
x.IsPass = order.IsPass; |
|
|
|
|
if (order.IsPass != null) |
|
|
|
|
x.IsPassLabel = order.IsPass == true ? "通过" : "不通过"; |
|
|
|
|
x.InterviewResult = order.InterviewResult; |
|
|
|
|
x.OptionalInterviewTime = order.OptionalInterviewTime; |
|
|
|
|
x.InterviewTime = order.InterviewTime; |
|
|
|
|
if (x.Status == DIC_INTERVIEW_ORDER_STATUS.HasRecommended) |
|
|
|
|
if (x.Status != DIC_INTERVIEW_ORDER_STATUS.WaitRecommended) |
|
|
|
|
{ |
|
|
|
|
x.HireDeptName = order.HireDeptName; |
|
|
|
|
x.HireTitleName = order.HireTitleName; |
|
|
|
|
x.Interviewer = order.Interviewer; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
x.InterviewTime1 = order.InterviewTime; |
|
|
|
|
|
|
|
|
|
if (order.WaitInterviewStatus == "Cancel") |
|
|
|
|
x.InterviewTime1 = "已取消"; |
|
|
|
|
else if (order.WaitInterviewStatus == "HasChangeInterviewTime") |
|
|
|
|
x.InterviewTime1 = "已改期"; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
x.Birthday1 = DateTimeHelper.ConvertToDayString(x.Birthday); |
|
|
|
|
}); |
|
|
|
@ -1486,11 +1495,22 @@ END"; |
|
|
|
|
if (order != null) |
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
order.Status = DIC_INTERVIEW_ORDER_STATUS.WaitAppointment; |
|
|
|
|
order.AppointmentFeedback = form.Remark; |
|
|
|
|
await _ghrh_InterviewOrderServices.Update(order, ["Status", "AppointmentFeedback"]); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool isChangeInterviewTime = false; |
|
|
|
|
|
|
|
|
|
var records = await _ghrh_InterviewRecordServices.Query(x => x.Round == order.Round && x.OrderId == order.Id); |
|
|
|
|
records.ForEach(record => |
|
|
|
|
{ |
|
|
|
|
record.Status = DIC_INTERVIEW_ORDER_STATUS.WaitAppointment; |
|
|
|
|
record.RemarkSz = form.Remark; |
|
|
|
|
if (record.PlanInterviewTime1.IsNotEmptyOrNull() || record.PlanInterviewTime2.IsNotEmptyOrNull() || record.PlanInterviewTime3.IsNotEmptyOrNull()) |
|
|
|
|
isChangeInterviewTime = true; |
|
|
|
|
if (isChangeInterviewTime) |
|
|
|
|
record.WaitInterviewStatus = "HasChangeInterviewTime"; |
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
for (int i = 0; i < form.Times.Count; i++) |
|
|
|
|
{ |
|
|
|
|
if (i == 0) |
|
|
|
@ -1500,11 +1520,12 @@ END"; |
|
|
|
|
else if (i == 2) |
|
|
|
|
records.ForEach(record => record.PlanInterviewTime3 = form.Times[i]); |
|
|
|
|
} |
|
|
|
|
records.ForEach(record => |
|
|
|
|
{ |
|
|
|
|
record.Status = DIC_INTERVIEW_ORDER_STATUS.WaitAppointment; |
|
|
|
|
record.RemarkSz = form.Remark; |
|
|
|
|
}); |
|
|
|
|
if (isChangeInterviewTime) |
|
|
|
|
order.WaitInterviewStatus = "HasChangeInterviewTime"; |
|
|
|
|
|
|
|
|
|
order.Status = DIC_INTERVIEW_ORDER_STATUS.WaitAppointment; |
|
|
|
|
order.AppointmentFeedback = form.Remark; |
|
|
|
|
await _ghrh_InterviewOrderServices.Update(order, ["Status", "AppointmentFeedback"]); |
|
|
|
|
|
|
|
|
|
await _ghrh_InterviewRecordServices.Update(records[0], ["PlanInterviewTime1", "PlanInterviewTime2", "PlanInterviewTime3", "Status"]); |
|
|
|
|
|
|
|
|
@ -1893,7 +1914,7 @@ END"; |
|
|
|
|
|
|
|
|
|
order.Status = DIC_INTERVIEW_ORDER_STATUS.Fail; |
|
|
|
|
order.InterviewResult = "不合适"; |
|
|
|
|
order.AppointmentFeedback = input.Content; |
|
|
|
|
order.FilterFeedback = input.Content; |
|
|
|
|
await _ghrh_InterviewOrderServices.Update(order, ["Status", "InterviewResult", "InterviewResultRemark"]); |
|
|
|
|
|
|
|
|
|
var records = await _ghrh_InterviewRecordServices.Query(x => x.Round == order.Round && x.OrderId == order.Id); |
|
|
|
@ -1901,7 +1922,7 @@ END"; |
|
|
|
|
{ |
|
|
|
|
record.Status = DIC_INTERVIEW_ORDER_STATUS.Fail; |
|
|
|
|
record.InterviewResult = "不合适"; |
|
|
|
|
record.AppointmentFeedback = input.Content; |
|
|
|
|
record.FilterFeedback = input.Content; |
|
|
|
|
}); |
|
|
|
|
await _ghrh_InterviewRecordServices.Update(records, ["Status", "InterviewResult", "InterviewResultRemark"]); |
|
|
|
|
await LogRecord(order.Id, "变更状态为:不合适!"); |
|
|
|
|