From e7dcc0d572b0ef0a148d5950edf5aa964f94840e Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Tue, 29 Oct 2024 10:41:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8E=86=E8=A1=A8=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E7=8A=B6=E6=80=81=E3=80=81=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=A0=8F=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tiobon.Core.Api/Tiobon.Core.Model.xml | 20 +++++++++++++++++++ .../Base/Ghrh/Ghrh_Resume.Dto.Base.cs | 11 ++++++++++ Tiobon.Core.Model/Models/Ghrh/Ghrh_Resume.cs | 11 ++++++++++ .../Ghrh/Ghrh_ResumeServices.cs | 8 +++++++- Tiobon.Core/Tiobon.Core.Model.xml | 20 +++++++++++++++++++ 5 files changed, 69 insertions(+), 1 deletion(-) diff --git a/Tiobon.Core.Api/Tiobon.Core.Model.xml b/Tiobon.Core.Api/Tiobon.Core.Model.xml index 01519a99..ccb756fe 100644 --- a/Tiobon.Core.Api/Tiobon.Core.Model.xml +++ b/Tiobon.Core.Api/Tiobon.Core.Model.xml @@ -6220,6 +6220,16 @@ 工作年限 + + + 申请状态 + + + + + 申请时间 + + 备注 @@ -15236,6 +15246,16 @@ 工作年限 + + + 申请状态 + + + + + 申请时间 + + 备注 diff --git a/Tiobon.Core.Model/Base/Ghrh/Ghrh_Resume.Dto.Base.cs b/Tiobon.Core.Model/Base/Ghrh/Ghrh_Resume.Dto.Base.cs index 4d469470..b2178e0d 100644 --- a/Tiobon.Core.Model/Base/Ghrh/Ghrh_Resume.Dto.Base.cs +++ b/Tiobon.Core.Model/Base/Ghrh/Ghrh_Resume.Dto.Base.cs @@ -324,6 +324,17 @@ namespace Tiobon.Core.Model.Models [Display(Name = "WorkYears"), Description("工作年限"), Column(TypeName = "decimal(3,1)")] public decimal? WorkYears { get; set; } + /// + /// 申请状态 + /// + [Display(Name = "ApplicationStatus"), Description("申请状态"), MaxLength(2000, ErrorMessage = "申请状态 不能超过 32 个字符")] + public string ApplicationStatus { get; set; } + + /// + /// 申请时间 + /// + public DateTime? ApplicationTime { get; set; } + /// /// 备注 /// diff --git a/Tiobon.Core.Model/Models/Ghrh/Ghrh_Resume.cs b/Tiobon.Core.Model/Models/Ghrh/Ghrh_Resume.cs index 11d789fe..2b7917a8 100644 --- a/Tiobon.Core.Model/Models/Ghrh/Ghrh_Resume.cs +++ b/Tiobon.Core.Model/Models/Ghrh/Ghrh_Resume.cs @@ -326,6 +326,17 @@ namespace Tiobon.Core.Model.Models [Display(Name = "WorkYears"), Description("工作年限"), Column(TypeName = "decimal(3,1)")] public decimal? WorkYears { get; set; } + /// + /// 申请状态 + /// + [Display(Name = "ApplicationStatus"), Description("申请状态"), MaxLength(2000, ErrorMessage = "申请状态 不能超过 32 个字符")] + public string ApplicationStatus { get; set; } + + /// + /// 申请时间 + /// + public DateTime? ApplicationTime { get; set; } + /// /// 备注 /// diff --git a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs index 58683d66..15d6b84a 100644 --- a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs +++ b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs @@ -3,6 +3,7 @@ using AgileObjects.AgileMapper; using Newtonsoft.Json.Linq; using SqlSugar; using System.Collections.Generic; +using System.Dynamic; using System.Linq.Expressions; using Tiobon.Core.Common; using Tiobon.Core.Common.Caches; @@ -339,6 +340,8 @@ public class Ghrh_ResumeServices : BaseServices> CheckIsExist(InsertGhrh_ResumeInput input) { + dynamic obj = new ExpandoObject(); + obj.ApplicationStatus = "Hold"; long id = 0; var resume = await QuerySingle(x => x.Mobile == input.Mobile); @@ -346,7 +349,8 @@ public class Ghrh_ResumeServices : BaseServices.OprateFailed("请输入身份证号码后六位!"); id = resume.Id; + obj.ApplicationStatus = resume.ApplicationStatus; } + obj.Id = id; return ServiceResult.OprateSuccess("查询成功", id); } diff --git a/Tiobon.Core/Tiobon.Core.Model.xml b/Tiobon.Core/Tiobon.Core.Model.xml index 01519a99..ccb756fe 100644 --- a/Tiobon.Core/Tiobon.Core.Model.xml +++ b/Tiobon.Core/Tiobon.Core.Model.xml @@ -6220,6 +6220,16 @@ 工作年限 + + + 申请状态 + + + + + 申请时间 + + 备注 @@ -15236,6 +15246,16 @@ 工作年限 + + + 申请状态 + + + + + 申请时间 + + 备注