diff --git a/Tiobon.Core.Api/Tiobon.Core.Model.xml b/Tiobon.Core.Api/Tiobon.Core.Model.xml index 4becc17e..fcb833f7 100644 --- a/Tiobon.Core.Api/Tiobon.Core.Model.xml +++ b/Tiobon.Core.Api/Tiobon.Core.Model.xml @@ -7575,16 +7575,6 @@ 数据来源ID - - - 关联表名 - - - - - 关联栏位 - - 排序号 @@ -7660,6 +7650,21 @@ 预留字段12 + + + 关联表名 + + + + + 关联栏位 + + + + + 查询条件 + + 简历组别 (Dto.Base) @@ -18601,16 +18606,6 @@ 数据来源ID - - - 关联表名 - - - - - 关联栏位 - - 排序号 @@ -18686,6 +18681,21 @@ 预留字段12 + + + 关联表名 + + + + + 关联栏位 + + + + + 查询条件 + + 简历组别 (Model) @@ -24242,6 +24252,21 @@ 部门负责人邮箱 + + + 上轮面试官 + + + + + 上轮面试结果 + + + + + 上轮面试评估内容 + + 员工ID diff --git a/Tiobon.Core.Model/ViewModels/Extend/ResumeViewTab.cs b/Tiobon.Core.Model/ViewModels/Extend/ResumeViewTab.cs index ae98524b..e5a86e2b 100644 --- a/Tiobon.Core.Model/ViewModels/Extend/ResumeViewTab.cs +++ b/Tiobon.Core.Model/ViewModels/Extend/ResumeViewTab.cs @@ -189,8 +189,21 @@ public class ResumeScheduleInterviewResult /// 部门负责人邮箱 /// public string DeptManagerEmail { get; set; } + + /// + /// 上轮面试官 + /// + public string LastInterviewName { get; set; } + /// + /// 上轮面试结果 + /// + public string LastInterviewResult { get; set; } + /// + /// 上轮面试评估内容 + /// + public string LastInterviewContent { get; set; } } public class ResumeRecommendFormStaff diff --git a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs index 0e6e4c7f..eaa39dac 100644 --- a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs +++ b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs @@ -2336,7 +2336,7 @@ WHERE A.IsEnable = 1 AND C.IsEnable = 1 AND C.Status = A.Status"; public async Task> QueryScheduleInterviewForm(long id) { var result = new ResumeScheduleInterviewResult(); - var entity = base.QueryById(id); + var entity = await base.QueryById(id); var order = await _ghrh_InterviewOrderServices.QuerySingle(x => x.ResumeId == id); var records = await _ghrh_InterviewRecordServices.Query(x => x.Round == order.Round && x.OrderId == order.Id); @@ -2357,6 +2357,7 @@ WHERE A.IsEnable = 1 AND C.IsEnable = 1 AND C.Status = A.Status"; result.TitleName = order.HireTitleName; } + result.Times = new List(); result.Staffs = new(); if (records != null && records.Any()) @@ -2364,6 +2365,13 @@ WHERE A.IsEnable = 1 AND C.IsEnable = 1 AND C.Status = A.Status"; var record = records.Where(x => x.PlanInterviewTime1 != null).FirstOrDefault(); if (record != null) { + + #region 返回上轮面试结果 + result.LastInterviewName = (await Db.Queryable().Where(x => x.StaffID == record.StaffId).FirstAsync())?.StaffName; + result.LastInterviewResult = record.InterviewResult; + result.LastInterviewContent = record.InterviewResultRemark; + #endregion + if (record.PlanInterviewTime1.IsNotEmptyOrNull()) result.Times.Add(record.PlanInterviewTime1); diff --git a/Tiobon.Core/Tiobon.Core.Model.xml b/Tiobon.Core/Tiobon.Core.Model.xml index 4becc17e..fcb833f7 100644 --- a/Tiobon.Core/Tiobon.Core.Model.xml +++ b/Tiobon.Core/Tiobon.Core.Model.xml @@ -7575,16 +7575,6 @@ 数据来源ID - - - 关联表名 - - - - - 关联栏位 - - 排序号 @@ -7660,6 +7650,21 @@ 预留字段12 + + + 关联表名 + + + + + 关联栏位 + + + + + 查询条件 + + 简历组别 (Dto.Base) @@ -18601,16 +18606,6 @@ 数据来源ID - - - 关联表名 - - - - - 关联栏位 - - 排序号 @@ -18686,6 +18681,21 @@ 预留字段12 + + + 关联表名 + + + + + 关联栏位 + + + + + 查询条件 + + 简历组别 (Model) @@ -24242,6 +24252,21 @@ 部门负责人邮箱 + + + 上轮面试官 + + + + + 上轮面试结果 + + + + + 上轮面试评估内容 + + 员工ID