简历表新增申请状态、申请时间栏位

master
xiaochanghai 8 months ago
parent f79b7fa3eb
commit e7dcc0d572
  1. 20
      Tiobon.Core.Api/Tiobon.Core.Model.xml
  2. 11
      Tiobon.Core.Model/Base/Ghrh/Ghrh_Resume.Dto.Base.cs
  3. 11
      Tiobon.Core.Model/Models/Ghrh/Ghrh_Resume.cs
  4. 8
      Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs
  5. 20
      Tiobon.Core/Tiobon.Core.Model.xml

@ -6220,6 +6220,16 @@
工作年限 工作年限
</summary> </summary>
</member> </member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_ResumeBase.ApplicationStatus">
<summary>
申请状态
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_ResumeBase.ApplicationTime">
<summary>
申请时间
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_ResumeBase.RemarkSz"> <member name="P:Tiobon.Core.Model.Models.Ghrh_ResumeBase.RemarkSz">
<summary> <summary>
备注 备注
@ -15236,6 +15246,16 @@
工作年限 工作年限
</summary> </summary>
</member> </member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_Resume.ApplicationStatus">
<summary>
申请状态
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_Resume.ApplicationTime">
<summary>
申请时间
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_Resume.RemarkSz"> <member name="P:Tiobon.Core.Model.Models.Ghrh_Resume.RemarkSz">
<summary> <summary>
备注 备注

@ -324,6 +324,17 @@ namespace Tiobon.Core.Model.Models
[Display(Name = "WorkYears"), Description("工作年限"), Column(TypeName = "decimal(3,1)")] [Display(Name = "WorkYears"), Description("工作年限"), Column(TypeName = "decimal(3,1)")]
public decimal? WorkYears { get; set; } public decimal? WorkYears { get; set; }
/// <summary>
/// 申请状态
/// </summary>
[Display(Name = "ApplicationStatus"), Description("申请状态"), MaxLength(2000, ErrorMessage = "申请状态 不能超过 32 个字符")]
public string ApplicationStatus { get; set; }
/// <summary>
/// 申请时间
/// </summary>
public DateTime? ApplicationTime { get; set; }
/// <summary> /// <summary>
/// 备注 /// 备注
/// </summary> /// </summary>

@ -326,6 +326,17 @@ namespace Tiobon.Core.Model.Models
[Display(Name = "WorkYears"), Description("工作年限"), Column(TypeName = "decimal(3,1)")] [Display(Name = "WorkYears"), Description("工作年限"), Column(TypeName = "decimal(3,1)")]
public decimal? WorkYears { get; set; } public decimal? WorkYears { get; set; }
/// <summary>
/// 申请状态
/// </summary>
[Display(Name = "ApplicationStatus"), Description("申请状态"), MaxLength(2000, ErrorMessage = "申请状态 不能超过 32 个字符")]
public string ApplicationStatus { get; set; }
/// <summary>
/// 申请时间
/// </summary>
public DateTime? ApplicationTime { get; set; }
/// <summary> /// <summary>
/// 备注 /// 备注
/// </summary> /// </summary>

@ -3,6 +3,7 @@ using AgileObjects.AgileMapper;
using Newtonsoft.Json.Linq; using Newtonsoft.Json.Linq;
using SqlSugar; using SqlSugar;
using System.Collections.Generic; using System.Collections.Generic;
using System.Dynamic;
using System.Linq.Expressions; using System.Linq.Expressions;
using Tiobon.Core.Common; using Tiobon.Core.Common;
using Tiobon.Core.Common.Caches; using Tiobon.Core.Common.Caches;
@ -339,6 +340,8 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins
#region 查询简历是否存在 #region 查询简历是否存在
public async Task<ServiceResult<long>> CheckIsExist(InsertGhrh_ResumeInput input) public async Task<ServiceResult<long>> CheckIsExist(InsertGhrh_ResumeInput input)
{ {
dynamic obj = new ExpandoObject();
obj.ApplicationStatus = "Hold";
long id = 0; long id = 0;
var resume = await QuerySingle(x => x.Mobile == input.Mobile); var resume = await QuerySingle(x => x.Mobile == input.Mobile);
@ -346,7 +349,8 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins
id = await base.Add(new InsertGhrh_ResumeInput() id = await base.Add(new InsertGhrh_ResumeInput()
{ {
Mobile = input.Mobile, Mobile = input.Mobile,
StaffName = input.StaffName StaffName = input.StaffName,
ApplicationStatus = "Hold"
}); });
else else
{ {
@ -359,8 +363,10 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins
ServiceResult<long>.OprateFailed("请输入身份证号码后六位!"); ServiceResult<long>.OprateFailed("请输入身份证号码后六位!");
id = resume.Id; id = resume.Id;
obj.ApplicationStatus = resume.ApplicationStatus;
} }
obj.Id = id;
return ServiceResult<long>.OprateSuccess("查询成功", id); return ServiceResult<long>.OprateSuccess("查询成功", id);
} }

@ -6220,6 +6220,16 @@
工作年限 工作年限
</summary> </summary>
</member> </member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_ResumeBase.ApplicationStatus">
<summary>
申请状态
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_ResumeBase.ApplicationTime">
<summary>
申请时间
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_ResumeBase.RemarkSz"> <member name="P:Tiobon.Core.Model.Models.Ghrh_ResumeBase.RemarkSz">
<summary> <summary>
备注 备注
@ -15236,6 +15246,16 @@
工作年限 工作年限
</summary> </summary>
</member> </member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_Resume.ApplicationStatus">
<summary>
申请状态
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_Resume.ApplicationTime">
<summary>
申请时间
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_Resume.RemarkSz"> <member name="P:Tiobon.Core.Model.Models.Ghrh_Resume.RemarkSz">
<summary> <summary>
备注 备注

Loading…
Cancel
Save