简历Excel导入,导出测试

master
xiaochanghai 6 months ago
parent 4488d3d83a
commit 954e7836cf
  1. 10
      Tiobon.Core.Api/Tiobon.Core.Model.xml
  2. 8
      Tiobon.Core.Model/Base/Ghrh/Ghrh_Resume.Dto.Base.cs
  3. 8
      Tiobon.Core.Model/Models/Ghrh/Ghrh_Resume.cs
  4. 16
      Tiobon.Core.Services/BASE/BaseServices.cs
  5. 10
      Tiobon.Core/Tiobon.Core.Model.xml

@ -8645,11 +8645,6 @@
直间接
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_ResumeBase.InterviewResult">
<summary>
面试结果
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_ResumeBase.FailInterviewReason">
<summary>
不合适原因
@ -22456,11 +22451,6 @@
直间接
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_Resume.InterviewResult">
<summary>
面试结果
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_Resume.FailInterviewReason">
<summary>
不合适原因

@ -348,10 +348,10 @@ public class Ghrh_ResumeBase
[Display(Name = "StaffType1"), Description("直间接"), MaxLength(32, ErrorMessage = "直间接 不能超过 32 个字符")]
public string StaffType1 { get; set; }
/// <summary>
/// 面试结果
/// </summary>
public bool? InterviewResult { get; set; }
///// <summary>
///// 面试结果
///// </summary>
//public bool? InterviewResult { get; set; }
/// <summary>
/// 不合适原因

@ -349,10 +349,10 @@ public class Ghrh_Resume : BasePoco
[Display(Name = "StaffType1"), Description("直间接"), MaxLength(32, ErrorMessage = "直间接 不能超过 32 个字符")]
public string StaffType1 { get; set; }
/// <summary>
/// 面试结果
/// </summary>
public bool? InterviewResult { get; set; }
///// <summary>
///// 面试结果
///// </summary>
//public bool? InterviewResult { get; set; }
/// <summary>
/// 不合适原因

@ -809,7 +809,12 @@ public class BaseServices<TEntity, TEntityDto, TInsertDto, TEditDto> : IBaseServ
body.exportSet.ExFields.ForEach(x =>
{
if (columns.Any(o => o.field == x))
fieldDescs.Add(x, columns.FirstOrDefault(o => o.field == x)?.label);
{
var label = columns.FirstOrDefault(o => o.field == x)?.label;
if (!fieldDescs.ContainsKey(x))
fieldDescs.Add(x, label);
}
});
else
fieldDescs = columns.ToDictionary(item => item.field, item => item.label);
@ -930,8 +935,17 @@ public class BaseServices<TEntity, TEntityDto, TInsertDto, TEditDto> : IBaseServ
}
}
object[] array = tempList.ToArray();
try
{
result.LoadDataRow(array, true);
}
catch (Exception E)
{
}
}
}
return result;
}

@ -8645,11 +8645,6 @@
直间接
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_ResumeBase.InterviewResult">
<summary>
面试结果
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_ResumeBase.FailInterviewReason">
<summary>
不合适原因
@ -22456,11 +22451,6 @@
直间接
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_Resume.InterviewResult">
<summary>
面试结果
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_Resume.FailInterviewReason">
<summary>
不合适原因

Loading…
Cancel
Save