新增简历推荐接口

master
xiaochanghai 7 months ago
parent 30b2184b61
commit aaaf493886
  1. 426
      Model/Tiobon.Web.pdm
  2. 42
      Tiobon.Core.Api/Tiobon.Core.Model.xml
  3. 459
      Tiobon.Core.Model/Base/Ghrh/Ghrh_HumanRequest.Dto.Base.cs
  4. 459
      Tiobon.Core.Model/Models/Ghrh/Ghrh_HumanRequest.cs
  5. 1
      Tiobon.Core.Model/View/Ghrh/Ghrh_HumanRequest.Dto.View.cs
  6. 15
      Tiobon.Core.Services/Ghrh/Ghrh_HumanRequestServices.cs
  7. 9
      Tiobon.Core.Services/Ghrh/Ghrh_InterviewOrderServices.cs

File diff suppressed because it is too large Load Diff

@ -6005,12 +6005,12 @@
申请部门ID 申请部门ID
</summary> </summary>
</member> </member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_HumanRequestBase.JobId"> <member name="P:Tiobon.Core.Model.Models.Ghrh_HumanRequestBase.TitleId">
<summary> <summary>
岗位名称 岗位名称
</summary> </summary>
</member> </member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_HumanRequestBase.JobNo"> <member name="P:Tiobon.Core.Model.Models.Ghrh_HumanRequestBase.TitleNo">
<summary> <summary>
岗位编号 岗位编号
</summary> </summary>
@ -6085,6 +6085,21 @@
工作内容 工作内容
</summary> </summary>
</member> </member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_HumanRequestBase.RecommendCount">
<summary>
推荐人数
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_HumanRequestBase.InterviewCount">
<summary>
面试人数
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_HumanRequestBase.OfferCount">
<summary>
录用人数
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_HumanRequestBase.RemarkSz"> <member name="P:Tiobon.Core.Model.Models.Ghrh_HumanRequestBase.RemarkSz">
<summary> <summary>
备注 备注
@ -16226,12 +16241,12 @@
申请部门ID 申请部门ID
</summary> </summary>
</member> </member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_HumanRequest.JobId"> <member name="P:Tiobon.Core.Model.Models.Ghrh_HumanRequest.TitleId">
<summary> <summary>
岗位名称 岗位名称
</summary> </summary>
</member> </member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_HumanRequest.JobNo"> <member name="P:Tiobon.Core.Model.Models.Ghrh_HumanRequest.TitleNo">
<summary> <summary>
岗位编号 岗位编号
</summary> </summary>
@ -16306,6 +16321,21 @@
工作内容 工作内容
</summary> </summary>
</member> </member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_HumanRequest.RecommendCount">
<summary>
推荐人数
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_HumanRequest.InterviewCount">
<summary>
面试人数
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_HumanRequest.OfferCount">
<summary>
录用人数
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghrh_HumanRequest.RemarkSz"> <member name="P:Tiobon.Core.Model.Models.Ghrh_HumanRequest.RemarkSz">
<summary> <summary>
备注 备注

@ -6,239 +6,248 @@
* *
* Ver * Ver
* *
*V0.01 2024/11/1 10:14:40 SimonHsiao *V0.01 2024/11/13 15:52:00 SimonHsiao
* *
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved. * Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
* *
*   *  
* SimonHsiao * SimonHsiao
* *
*/ */
using System.ComponentModel; namespace Tiobon.Core.Model.Models;
using System.ComponentModel.DataAnnotations;
namespace Tiobon.Core.Model.Models
/// <summary>
/// 人力需求维护 (Dto.Base)
/// </summary>
public class Ghrh_HumanRequestBase
{ {
/// <summary> /// <summary>
/// 人力需求维护 (Dto.Base) /// 需求单号
/// </summary> /// </summary>
public class Ghrh_HumanRequestBase [Display(Name = "RequestNo"), Description("需求单号"), MaxLength(100, ErrorMessage = "需求单号 不能超过 100 个字符")]
{ public string RequestNo { get; set; }
/// <summary> /// <summary>
/// 需求单号 /// 编制内外
/// </summary> /// </summary>
[Display(Name = "RequestNo"), Description("需求单号"), MaxLength(100, ErrorMessage = "需求单号 不能超过 100 个字符")] [Display(Name = "InOrOut"), Description("编制内外 "), MaxLength(32, ErrorMessage = "编制内外 不能超过 32 个字符")]
public string RequestNo { get; set; } public string InOrOut { get; set; }
/// <summary> /// <summary>
/// 编制内外 /// 招聘原因
/// </summary> /// </summary>
[Display(Name = "InOrOut"), Description("编制内外 "), MaxLength(32, ErrorMessage = "编制内外 不能超过 32 个字符")] [Display(Name = "Reason"), Description("招聘原因"), MaxLength(200, ErrorMessage = "招聘原因 不能超过 200 个字符")]
public string InOrOut { get; set; } public string Reason { get; set; }
/// <summary> /// <summary>
/// 招聘原因 /// 状态
/// </summary> /// </summary>
[Display(Name = "Reason"), Description("招聘原因"), MaxLength(200, ErrorMessage = "招聘原因 不能超过 200 个字符")] [Display(Name = "Status"), Description("状态"), MaxLength(32, ErrorMessage = "状态 不能超过 32 个字符")]
public string Reason { get; set; } public string Status { get; set; }
/// <summary> /// <summary>
/// 状态 /// 需求月份
/// </summary> /// </summary>
[Display(Name = "Status"), Description("状态"), MaxLength(32, ErrorMessage = "状态 不能超过 32 个字符")] [Display(Name = "YearMonth"), Description("需求月份"), MaxLength(32, ErrorMessage = "需求月份 不能超过 32 个字符")]
public string Status { get; set; } public string YearMonth { get; set; }
/// <summary> /// <summary>
/// 需求月份 /// 招聘类型
/// </summary> /// </summary>
[Display(Name = "YearMonth"), Description("需求月份"), MaxLength(32, ErrorMessage = "需求月份 不能超过 32 个字符")] [Display(Name = "ResumeType"), Description("招聘类型"), MaxLength(32, ErrorMessage = "招聘类型 不能超过 32 个字符")]
public string YearMonth { get; set; } public string ResumeType { get; set; }
/// <summary> /// <summary>
/// 招聘类型 /// 申请部门ID
/// </summary> /// </summary>
[Display(Name = "ResumeType"), Description("招聘类型"), MaxLength(32, ErrorMessage = "招聘类型 不能超过 32 个字符")] public long? ApplyDeptId { get; set; }
public string ResumeType { get; set; }
/// <summary>
/// <summary> /// 岗位名称
/// 申请部门ID /// </summary>
/// </summary> public long? TitleId { get; set; }
public long? ApplyDeptId { get; set; }
/// <summary>
/// <summary> /// 岗位编号
/// 岗位名称 /// </summary>
/// </summary> [Display(Name = "TitleNo"), Description("岗位编号"), MaxLength(32, ErrorMessage = "岗位编号 不能超过 32 个字符")]
[Display(Name = "JobId"), Description("岗位名称"), MaxLength(200, ErrorMessage = "岗位名称 不能超过 200 个字符")] public string TitleNo { get; set; }
public string JobId { get; set; } /// <summary>
/// 归属部门
/// <summary> /// </summary>
/// 岗位编号 public long? BelongDeptId { get; set; }
/// </summary>
[Display(Name = "JobNo"), Description("岗位编号"), MaxLength(200, ErrorMessage = "岗位编号 不能超过 200 个字符")] /// <summary>
public string JobNo { get; set; } /// 职等
/// </summary>
/// <summary> [Display(Name = "GradeId"), Description("职等"), MaxLength(2000, ErrorMessage = "职等 不能超过 2000 个字符")]
/// 归属部门 public string GradeId { get; set; }
/// </summary>
public long? BelongDeptId { get; set; } /// <summary>
/// 直间接
/// <summary> /// </summary>
/// 职等 [Display(Name = "StaffType1"), Description("直间接"), MaxLength(32, ErrorMessage = "直间接 不能超过 32 个字符")]
/// </summary> public string StaffType1 { get; set; }
[Display(Name = "GradeId"), Description("职等"), MaxLength(2000, ErrorMessage = "职等 不能超过 2000 个字符")]
public string GradeId { get; set; } /// <summary>
/// 学历要求
/// <summary> /// </summary>
/// 直间接 [Display(Name = "Degree"), Description("学历要求"), MaxLength(200, ErrorMessage = "学历要求 不能超过 200 个字符")]
/// </summary> public string Degree { get; set; }
[Display(Name = "StaffType1"), Description("直间接"), MaxLength(32, ErrorMessage = "直间接 不能超过 32 个字符")]
public string StaffType1 { get; set; } /// <summary>
/// 工作年限
/// <summary> /// </summary>
/// 学历要求 [Display(Name = "WorkExperience"), Description("工作年限"), MaxLength(200, ErrorMessage = "工作年限 不能超过 200 个字符")]
/// </summary> public string WorkExperience { get; set; }
[Display(Name = "Degree"), Description("学历要求"), MaxLength(200, ErrorMessage = "学历要求 不能超过 200 个字符")]
public string Degree { get; set; } /// <summary>
/// 语言要求
/// <summary> /// </summary>
/// 工作年限 [Display(Name = "LanguageRequirement"), Description("语言要求"), MaxLength(2000, ErrorMessage = "语言要求 不能超过 2000 个字符")]
/// </summary> public string LanguageRequirement { get; set; }
[Display(Name = "WorkExperience"), Description("工作年限"), MaxLength(200, ErrorMessage = "工作年限 不能超过 200 个字符")]
public string WorkExperience { get; set; } /// <summary>
/// 需招聘人数
/// <summary> /// </summary>
/// 语言要求 public int? ResumeCount { get; set; }
/// </summary>
[Display(Name = "LanguageRequirement"), Description("语言要求"), MaxLength(2000, ErrorMessage = "语言要求 不能超过 2000 个字符")] /// <summary>
public string LanguageRequirement { get; set; } /// 带训人
/// </summary>
/// <summary> [Display(Name = "Trainer"), Description("带训人"), MaxLength(2000, ErrorMessage = "带训人 不能超过 2000 个字符")]
/// 需招聘人数 public string Trainer { get; set; }
/// </summary>
public int? ResumeCount { get; set; } /// <summary>
/// 建议到岗时间
/// <summary> /// </summary>
/// 带训人 public DateTime? InTime { get; set; }
/// </summary>
[Display(Name = "Trainer"), Description("带训人"), MaxLength(2000, ErrorMessage = "带训人 不能超过 2000 个字符")] /// <summary>
public string Trainer { get; set; } /// 试用期工资建议
/// </summary>
/// <summary> [Display(Name = "ProbationSalary"), Description("试用期工资建议"), MaxLength(200, ErrorMessage = "试用期工资建议 不能超过 200 个字符")]
/// 建议到岗时间 public string ProbationSalary { get; set; }
/// </summary>
public DateTime? InTime { get; set; } /// <summary>
/// 转正工资建议
/// <summary> /// </summary>
/// 试用期工资建议 [Display(Name = "RegularSalary"), Description("转正工资建议"), MaxLength(200, ErrorMessage = "转正工资建议 不能超过 200 个字符")]
/// </summary> public string RegularSalary { get; set; }
[Display(Name = "ProbationSalary"), Description("试用期工资建议"), MaxLength(200, ErrorMessage = "试用期工资建议 不能超过 200 个字符")]
public string ProbationSalary { get; set; } /// <summary>
/// 知识要求
/// <summary> /// </summary>
/// 转正工资建议 [Display(Name = "KnowledgeRequirement"), Description("知识要求"), MaxLength(2000, ErrorMessage = "知识要求 不能超过 2000 个字符")]
/// </summary> public string KnowledgeRequirement { get; set; }
[Display(Name = "RegularSalary"), Description("转正工资建议"), MaxLength(200, ErrorMessage = "转正工资建议 不能超过 200 个字符")]
public string RegularSalary { get; set; } /// <summary>
/// 技能要求
/// <summary> /// </summary>
/// 知识要求 [Display(Name = "SkillRequirement"), Description("技能要求"), MaxLength(2000, ErrorMessage = "技能要求 不能超过 2000 个字符")]
/// </summary> public string SkillRequirement { get; set; }
[Display(Name = "KnowledgeRequirement"), Description("知识要求"), MaxLength(2000, ErrorMessage = "知识要求 不能超过 2000 个字符")]
public string KnowledgeRequirement { get; set; } /// <summary>
/// 工作内容
/// <summary> /// </summary>
/// 技能要求 [Display(Name = "WorkContent"), Description("工作内容"), MaxLength(2000, ErrorMessage = "工作内容 不能超过 2000 个字符")]
/// </summary> public string WorkContent { get; set; }
[Display(Name = "SkillRequirement"), Description("技能要求"), MaxLength(2000, ErrorMessage = "技能要求 不能超过 2000 个字符")]
public string SkillRequirement { get; set; } /// <summary>
/// 推荐人数
/// <summary> /// </summary>
/// 工作内容 public int? RecommendCount { get; set; }
/// </summary>
[Display(Name = "WorkContent"), Description("工作内容"), MaxLength(2000, ErrorMessage = "工作内容 不能超过 2000 个字符")] /// <summary>
public string WorkContent { get; set; } /// 面试人数
/// </summary>
/// <summary> public int? InterviewCount { get; set; }
/// 备注
/// </summary> /// <summary>
[Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")] /// 录用人数
public string RemarkSz { get; set; } /// </summary>
public int? OfferCount { get; set; }
/// <summary>
/// 默认标志 /// <summary>
/// </summary> /// 备注
public int? IsDefault { get; set; } /// </summary>
[Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")]
/// <summary> public string RemarkSz { get; set; }
/// 预留字段1
/// </summary> /// <summary>
[Display(Name = "Reverse1"), Description("预留字段1"), MaxLength(1000, ErrorMessage = "预留字段1 不能超过 1000 个字符")] /// 默认标志
public string Reverse1 { get; set; } /// </summary>
public int? IsDefault { get; set; }
/// <summary>
/// 预留字段2 /// <summary>
/// </summary> /// 预留字段1
[Display(Name = "Reverse2"), Description("预留字段2"), MaxLength(1000, ErrorMessage = "预留字段2 不能超过 1000 个字符")] /// </summary>
public string Reverse2 { get; set; } [Display(Name = "Reverse1"), Description("预留字段1"), MaxLength(1000, ErrorMessage = "预留字段1 不能超过 1000 个字符")]
public string Reverse1 { get; set; }
/// <summary>
/// 预留字段3 /// <summary>
/// </summary> /// 预留字段2
[Display(Name = "Reverse3"), Description("预留字段3"), MaxLength(1000, ErrorMessage = "预留字段3 不能超过 1000 个字符")] /// </summary>
public string Reverse3 { get; set; } [Display(Name = "Reverse2"), Description("预留字段2"), MaxLength(1000, ErrorMessage = "预留字段2 不能超过 1000 个字符")]
public string Reverse2 { get; set; }
/// <summary>
/// 预留字段4 /// <summary>
/// </summary> /// 预留字段3
[Display(Name = "Reverse4"), Description("预留字段4"), MaxLength(1000, ErrorMessage = "预留字段4 不能超过 1000 个字符")] /// </summary>
public string Reverse4 { get; set; } [Display(Name = "Reverse3"), Description("预留字段3"), MaxLength(1000, ErrorMessage = "预留字段3 不能超过 1000 个字符")]
public string Reverse3 { get; set; }
/// <summary>
/// 预留字段5 /// <summary>
/// </summary> /// 预留字段4
[Display(Name = "Reverse5"), Description("预留字段5"), MaxLength(1000, ErrorMessage = "预留字段5 不能超过 1000 个字符")] /// </summary>
public string Reverse5 { get; set; } [Display(Name = "Reverse4"), Description("预留字段4"), MaxLength(1000, ErrorMessage = "预留字段4 不能超过 1000 个字符")]
public string Reverse4 { get; set; }
/// <summary>
/// 预留字段6 /// <summary>
/// </summary> /// 预留字段5
[Display(Name = "Reverse6"), Description("预留字段6"), MaxLength(1000, ErrorMessage = "预留字段6 不能超过 1000 个字符")] /// </summary>
public string Reverse6 { get; set; } [Display(Name = "Reverse5"), Description("预留字段5"), MaxLength(1000, ErrorMessage = "预留字段5 不能超过 1000 个字符")]
public string Reverse5 { get; set; }
/// <summary>
/// 预留字段7 /// <summary>
/// </summary> /// 预留字段6
[Display(Name = "Reverse7"), Description("预留字段7"), MaxLength(1000, ErrorMessage = "预留字段7 不能超过 1000 个字符")] /// </summary>
public string Reverse7 { get; set; } [Display(Name = "Reverse6"), Description("预留字段6"), MaxLength(1000, ErrorMessage = "预留字段6 不能超过 1000 个字符")]
public string Reverse6 { get; set; }
/// <summary>
/// 预留字段8 /// <summary>
/// </summary> /// 预留字段7
[Display(Name = "Reverse8"), Description("预留字段8"), MaxLength(1000, ErrorMessage = "预留字段8 不能超过 1000 个字符")] /// </summary>
public string Reverse8 { get; set; } [Display(Name = "Reverse7"), Description("预留字段7"), MaxLength(1000, ErrorMessage = "预留字段7 不能超过 1000 个字符")]
public string Reverse7 { get; set; }
/// <summary>
/// 预留字段9 /// <summary>
/// </summary> /// 预留字段8
[Display(Name = "Reverse9"), Description("预留字段9"), MaxLength(1000, ErrorMessage = "预留字段9 不能超过 1000 个字符")] /// </summary>
public string Reverse9 { get; set; } [Display(Name = "Reverse8"), Description("预留字段8"), MaxLength(1000, ErrorMessage = "预留字段8 不能超过 1000 个字符")]
public string Reverse8 { get; set; }
/// <summary>
/// 预留字段10 /// <summary>
/// </summary> /// 预留字段9
[Display(Name = "Reverse10"), Description("预留字段10"), MaxLength(1000, ErrorMessage = "预留字段10 不能超过 1000 个字符")] /// </summary>
public string Reverse10 { get; set; } [Display(Name = "Reverse9"), Description("预留字段9"), MaxLength(1000, ErrorMessage = "预留字段9 不能超过 1000 个字符")]
public string Reverse9 { get; set; }
/// <summary>
/// 预留字段11 /// <summary>
/// </summary> /// 预留字段10
public int? ReverseI1 { get; set; } /// </summary>
[Display(Name = "Reverse10"), Description("预留字段10"), MaxLength(1000, ErrorMessage = "预留字段10 不能超过 1000 个字符")]
/// <summary> public string Reverse10 { get; set; }
/// 预留字段12
/// </summary> /// <summary>
public int? ReverseI2 { get; set; } /// 预留字段11
} /// </summary>
public int? ReverseI1 { get; set; }
/// <summary>
/// 预留字段12
/// </summary>
public int? ReverseI2 { get; set; }
} }

@ -6,7 +6,7 @@
* *
* Ver * Ver
* *
*V0.01 2024/11/1 10:14:40 SimonHsiao *V0.01 2024/11/13 15:52:00 SimonHsiao
* *
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved. * Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
* *
@ -14,229 +14,242 @@
* SimonHsiao * SimonHsiao
* *
*/ */
namespace Tiobon.Core.Model.Models namespace Tiobon.Core.Model.Models;
/// <summary>
/// 人力需求维护 (Model)
/// </summary>
[SugarTable("Ghrh_HumanRequest", "Ghrh_HumanRequest"), Entity(TableCnName = "人力需求维护", TableName = "Ghrh_HumanRequest")]
public class Ghrh_HumanRequest : BasePoco
{ {
/// <summary> /// <summary>
/// 人力需求维护 (Model) /// 需求单号
/// </summary> /// </summary>
[SugarTable("Ghrh_HumanRequest", "Ghrh_HumanRequest"), Entity(TableCnName = "人力需求维护", TableName = "Ghrh_HumanRequest")] [Display(Name = "RequestNo"), Description("需求单号"), MaxLength(100, ErrorMessage = "需求单号 不能超过 100 个字符")]
public class Ghrh_HumanRequest : BasePoco public string RequestNo { get; set; }
{
/// <summary>
/// <summary> /// 编制内外
/// 需求单号 /// </summary>
/// </summary> [Display(Name = "InOrOut"), Description("编制内外 "), MaxLength(32, ErrorMessage = "编制内外 不能超过 32 个字符")]
[Display(Name = "RequestNo"), Description("需求单号"), MaxLength(100, ErrorMessage = "需求单号 不能超过 100 个字符")] public string InOrOut { get; set; }
public string RequestNo { get; set; }
/// <summary>
/// <summary> /// 招聘原因
/// 编制内外 /// </summary>
/// </summary> [Display(Name = "Reason"), Description("招聘原因"), MaxLength(200, ErrorMessage = "招聘原因 不能超过 200 个字符")]
[Display(Name = "InOrOut"), Description("编制内外 "), MaxLength(32, ErrorMessage = "编制内外 不能超过 32 个字符")] public string Reason { get; set; }
public string InOrOut { get; set; }
/// <summary>
/// <summary> /// 状态
/// 招聘原因 /// </summary>
/// </summary> [Display(Name = "Status"), Description("状态"), MaxLength(32, ErrorMessage = "状态 不能超过 32 个字符")]
[Display(Name = "Reason"), Description("招聘原因"), MaxLength(200, ErrorMessage = "招聘原因 不能超过 200 个字符")] public string Status { get; set; }
public string Reason { get; set; }
/// <summary>
/// <summary> /// 需求月份
/// 状态 /// </summary>
/// </summary> [Display(Name = "YearMonth"), Description("需求月份"), MaxLength(32, ErrorMessage = "需求月份 不能超过 32 个字符")]
[Display(Name = "Status"), Description("状态"), MaxLength(32, ErrorMessage = "状态 不能超过 32 个字符")] public string YearMonth { get; set; }
public string Status { get; set; }
/// <summary>
/// <summary> /// 招聘类型
/// 需求月份 /// </summary>
/// </summary> [Display(Name = "ResumeType"), Description("招聘类型"), MaxLength(32, ErrorMessage = "招聘类型 不能超过 32 个字符")]
[Display(Name = "YearMonth"), Description("需求月份"), MaxLength(32, ErrorMessage = "需求月份 不能超过 32 个字符")] public string ResumeType { get; set; }
public string YearMonth { get; set; }
/// <summary>
/// <summary> /// 申请部门ID
/// 招聘类型 /// </summary>
/// </summary> public long? ApplyDeptId { get; set; }
[Display(Name = "ResumeType"), Description("招聘类型"), MaxLength(32, ErrorMessage = "招聘类型 不能超过 32 个字符")]
public string ResumeType { get; set; } /// <summary>
/// 岗位名称
/// <summary> /// </summary>
/// 申请部门ID public long? TitleId { get; set; }
/// </summary>
public long? ApplyDeptId { get; set; } /// <summary>
/// 岗位编号
/// <summary> /// </summary>
/// 岗位名称 [Display(Name = "TitleNo"), Description("岗位编号"), MaxLength(32, ErrorMessage = "岗位编号 不能超过 32 个字符")]
/// </summary> public string TitleNo { get; set; }
[Display(Name = "JobId"), Description("岗位名称"), MaxLength(200, ErrorMessage = "岗位名称 不能超过 200 个字符")]
public string JobId { get; set; } /// <summary>
/// 归属部门
/// <summary> /// </summary>
/// 岗位编号 public long? BelongDeptId { get; set; }
/// </summary>
[Display(Name = "JobNo"), Description("岗位编号"), MaxLength(200, ErrorMessage = "岗位编号 不能超过 200 个字符")] /// <summary>
public string JobNo { get; set; } /// 职等
/// </summary>
/// <summary> [Display(Name = "GradeId"), Description("职等"), MaxLength(2000, ErrorMessage = "职等 不能超过 2000 个字符")]
/// 归属部门 public string GradeId { get; set; }
/// </summary>
public long? BelongDeptId { get; set; } /// <summary>
/// 直间接
/// <summary> /// </summary>
/// 职等 [Display(Name = "StaffType1"), Description("直间接"), MaxLength(32, ErrorMessage = "直间接 不能超过 32 个字符")]
/// </summary> public string StaffType1 { get; set; }
[Display(Name = "GradeId"), Description("职等"), MaxLength(2000, ErrorMessage = "职等 不能超过 2000 个字符")]
public string GradeId { get; set; } /// <summary>
/// 学历要求
/// <summary> /// </summary>
/// 直间接 [Display(Name = "Degree"), Description("学历要求"), MaxLength(200, ErrorMessage = "学历要求 不能超过 200 个字符")]
/// </summary> public string Degree { get; set; }
[Display(Name = "StaffType1"), Description("直间接"), MaxLength(32, ErrorMessage = "直间接 不能超过 32 个字符")]
public string StaffType1 { get; set; } /// <summary>
/// 工作年限
/// <summary> /// </summary>
/// 学历要求 [Display(Name = "WorkExperience"), Description("工作年限"), MaxLength(200, ErrorMessage = "工作年限 不能超过 200 个字符")]
/// </summary> public string WorkExperience { get; set; }
[Display(Name = "Degree"), Description("学历要求"), MaxLength(200, ErrorMessage = "学历要求 不能超过 200 个字符")]
public string Degree { get; set; } /// <summary>
/// 语言要求
/// <summary> /// </summary>
/// 工作年限 [Display(Name = "LanguageRequirement"), Description("语言要求"), MaxLength(2000, ErrorMessage = "语言要求 不能超过 2000 个字符")]
/// </summary> public string LanguageRequirement { get; set; }
[Display(Name = "WorkExperience"), Description("工作年限"), MaxLength(200, ErrorMessage = "工作年限 不能超过 200 个字符")]
public string WorkExperience { get; set; } /// <summary>
/// 需招聘人数
/// <summary> /// </summary>
/// 语言要求 public int? ResumeCount { get; set; }
/// </summary>
[Display(Name = "LanguageRequirement"), Description("语言要求"), MaxLength(2000, ErrorMessage = "语言要求 不能超过 2000 个字符")] /// <summary>
public string LanguageRequirement { get; set; } /// 带训人
/// </summary>
/// <summary> [Display(Name = "Trainer"), Description("带训人"), MaxLength(2000, ErrorMessage = "带训人 不能超过 2000 个字符")]
/// 需招聘人数 public string Trainer { get; set; }
/// </summary>
public int? ResumeCount { get; set; } /// <summary>
/// 建议到岗时间
/// <summary> /// </summary>
/// 带训人 public DateTime? InTime { get; set; }
/// </summary>
[Display(Name = "Trainer"), Description("带训人"), MaxLength(2000, ErrorMessage = "带训人 不能超过 2000 个字符")] /// <summary>
public string Trainer { get; set; } /// 试用期工资建议
/// </summary>
/// <summary> [Display(Name = "ProbationSalary"), Description("试用期工资建议"), MaxLength(200, ErrorMessage = "试用期工资建议 不能超过 200 个字符")]
/// 建议到岗时间 public string ProbationSalary { get; set; }
/// </summary>
public DateTime? InTime { get; set; } /// <summary>
/// 转正工资建议
/// <summary> /// </summary>
/// 试用期工资建议 [Display(Name = "RegularSalary"), Description("转正工资建议"), MaxLength(200, ErrorMessage = "转正工资建议 不能超过 200 个字符")]
/// </summary> public string RegularSalary { get; set; }
[Display(Name = "ProbationSalary"), Description("试用期工资建议"), MaxLength(200, ErrorMessage = "试用期工资建议 不能超过 200 个字符")]
public string ProbationSalary { get; set; } /// <summary>
/// 知识要求
/// <summary> /// </summary>
/// 转正工资建议 [Display(Name = "KnowledgeRequirement"), Description("知识要求"), MaxLength(2000, ErrorMessage = "知识要求 不能超过 2000 个字符")]
/// </summary> public string KnowledgeRequirement { get; set; }
[Display(Name = "RegularSalary"), Description("转正工资建议"), MaxLength(200, ErrorMessage = "转正工资建议 不能超过 200 个字符")]
public string RegularSalary { get; set; } /// <summary>
/// 技能要求
/// <summary> /// </summary>
/// 知识要求 [Display(Name = "SkillRequirement"), Description("技能要求"), MaxLength(2000, ErrorMessage = "技能要求 不能超过 2000 个字符")]
/// </summary> public string SkillRequirement { get; set; }
[Display(Name = "KnowledgeRequirement"), Description("知识要求"), MaxLength(2000, ErrorMessage = "知识要求 不能超过 2000 个字符")]
public string KnowledgeRequirement { get; set; } /// <summary>
/// 工作内容
/// <summary> /// </summary>
/// 技能要求 [Display(Name = "WorkContent"), Description("工作内容"), MaxLength(2000, ErrorMessage = "工作内容 不能超过 2000 个字符")]
/// </summary> public string WorkContent { get; set; }
[Display(Name = "SkillRequirement"), Description("技能要求"), MaxLength(2000, ErrorMessage = "技能要求 不能超过 2000 个字符")]
public string SkillRequirement { get; set; } /// <summary>
/// 推荐人数
/// <summary> /// </summary>
/// 工作内容 public int? RecommendCount { get; set; }
/// </summary>
[Display(Name = "WorkContent"), Description("工作内容"), MaxLength(2000, ErrorMessage = "工作内容 不能超过 2000 个字符")] /// <summary>
public string WorkContent { get; set; } /// 面试人数
/// </summary>
/// <summary> public int? InterviewCount { get; set; }
/// 备注
/// </summary> /// <summary>
[Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")] /// 录用人数
public string RemarkSz { get; set; } /// </summary>
public int? OfferCount { get; set; }
/// <summary>
/// 默认标志 /// <summary>
/// </summary> /// 备注
public int? IsDefault { get; set; } /// </summary>
[Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")]
/// <summary> public string RemarkSz { get; set; }
/// 预留字段1
/// </summary> /// <summary>
[Display(Name = "Reverse1"), Description("预留字段1"), MaxLength(1000, ErrorMessage = "预留字段1 不能超过 1000 个字符")] /// 默认标志
public string Reverse1 { get; set; } /// </summary>
public int? IsDefault { get; set; }
/// <summary>
/// 预留字段2 /// <summary>
/// </summary> /// 预留字段1
[Display(Name = "Reverse2"), Description("预留字段2"), MaxLength(1000, ErrorMessage = "预留字段2 不能超过 1000 个字符")] /// </summary>
public string Reverse2 { get; set; } [Display(Name = "Reverse1"), Description("预留字段1"), MaxLength(1000, ErrorMessage = "预留字段1 不能超过 1000 个字符")]
public string Reverse1 { get; set; }
/// <summary>
/// 预留字段3 /// <summary>
/// </summary> /// 预留字段2
[Display(Name = "Reverse3"), Description("预留字段3"), MaxLength(1000, ErrorMessage = "预留字段3 不能超过 1000 个字符")] /// </summary>
public string Reverse3 { get; set; } [Display(Name = "Reverse2"), Description("预留字段2"), MaxLength(1000, ErrorMessage = "预留字段2 不能超过 1000 个字符")]
public string Reverse2 { get; set; }
/// <summary>
/// 预留字段4 /// <summary>
/// </summary> /// 预留字段3
[Display(Name = "Reverse4"), Description("预留字段4"), MaxLength(1000, ErrorMessage = "预留字段4 不能超过 1000 个字符")] /// </summary>
public string Reverse4 { get; set; } [Display(Name = "Reverse3"), Description("预留字段3"), MaxLength(1000, ErrorMessage = "预留字段3 不能超过 1000 个字符")]
public string Reverse3 { get; set; }
/// <summary>
/// 预留字段5 /// <summary>
/// </summary> /// 预留字段4
[Display(Name = "Reverse5"), Description("预留字段5"), MaxLength(1000, ErrorMessage = "预留字段5 不能超过 1000 个字符")] /// </summary>
public string Reverse5 { get; set; } [Display(Name = "Reverse4"), Description("预留字段4"), MaxLength(1000, ErrorMessage = "预留字段4 不能超过 1000 个字符")]
public string Reverse4 { get; set; }
/// <summary>
/// 预留字段6 /// <summary>
/// </summary> /// 预留字段5
[Display(Name = "Reverse6"), Description("预留字段6"), MaxLength(1000, ErrorMessage = "预留字段6 不能超过 1000 个字符")] /// </summary>
public string Reverse6 { get; set; } [Display(Name = "Reverse5"), Description("预留字段5"), MaxLength(1000, ErrorMessage = "预留字段5 不能超过 1000 个字符")]
public string Reverse5 { get; set; }
/// <summary>
/// 预留字段7 /// <summary>
/// </summary> /// 预留字段6
[Display(Name = "Reverse7"), Description("预留字段7"), MaxLength(1000, ErrorMessage = "预留字段7 不能超过 1000 个字符")] /// </summary>
public string Reverse7 { get; set; } [Display(Name = "Reverse6"), Description("预留字段6"), MaxLength(1000, ErrorMessage = "预留字段6 不能超过 1000 个字符")]
public string Reverse6 { get; set; }
/// <summary>
/// 预留字段8 /// <summary>
/// </summary> /// 预留字段7
[Display(Name = "Reverse8"), Description("预留字段8"), MaxLength(1000, ErrorMessage = "预留字段8 不能超过 1000 个字符")] /// </summary>
public string Reverse8 { get; set; } [Display(Name = "Reverse7"), Description("预留字段7"), MaxLength(1000, ErrorMessage = "预留字段7 不能超过 1000 个字符")]
public string Reverse7 { get; set; }
/// <summary>
/// 预留字段9 /// <summary>
/// </summary> /// 预留字段8
[Display(Name = "Reverse9"), Description("预留字段9"), MaxLength(1000, ErrorMessage = "预留字段9 不能超过 1000 个字符")] /// </summary>
public string Reverse9 { get; set; } [Display(Name = "Reverse8"), Description("预留字段8"), MaxLength(1000, ErrorMessage = "预留字段8 不能超过 1000 个字符")]
public string Reverse8 { get; set; }
/// <summary>
/// 预留字段10 /// <summary>
/// </summary> /// 预留字段9
[Display(Name = "Reverse10"), Description("预留字段10"), MaxLength(1000, ErrorMessage = "预留字段10 不能超过 1000 个字符")] /// </summary>
public string Reverse10 { get; set; } [Display(Name = "Reverse9"), Description("预留字段9"), MaxLength(1000, ErrorMessage = "预留字段9 不能超过 1000 个字符")]
public string Reverse9 { get; set; }
/// <summary>
/// 预留字段11 /// <summary>
/// </summary> /// 预留字段10
public int? ReverseI1 { get; set; } /// </summary>
[Display(Name = "Reverse10"), Description("预留字段10"), MaxLength(1000, ErrorMessage = "预留字段10 不能超过 1000 个字符")]
/// <summary> public string Reverse10 { get; set; }
/// 预留字段12
/// </summary> /// <summary>
public int? ReverseI2 { get; set; } /// 预留字段11
} /// </summary>
public int? ReverseI1 { get; set; }
/// <summary>
/// 预留字段12
/// </summary>
public int? ReverseI2 { get; set; }
} }

@ -34,6 +34,7 @@ public class Ghrh_HumanRequestDto : Ghrh_HumanRequest
public string ApplyDeptName { get; set; } public string ApplyDeptName { get; set; }
public string BelongDeptName { get; set; } public string BelongDeptName { get; set; }
public string TitleName { get; set; }
public string GradeName { get; set; } public string GradeName { get; set; }
} }

@ -1,4 +1,6 @@
namespace Tiobon.Core.Services; using System.Data;
namespace Tiobon.Core.Services;
/// <summary> /// <summary>
/// 人力需求维护 (服务) /// 人力需求维护 (服务)
@ -20,7 +22,7 @@ public class Ghrh_HumanRequestServices : BaseServices<Ghrh_HumanRequest, Ghrh_Hu
var deptIds = entitys.Where(x => x.ApplyDeptId != null).Select(x => x.ApplyDeptId).ToList(); var deptIds = entitys.Where(x => x.ApplyDeptId != null).Select(x => x.ApplyDeptId).ToList();
//var titleIds = entitys.Where(x => x.TitleId != null).Select(x => x.TitleId).ToList(); //var titleIds = entitys.Where(x => x.TitleId != null).Select(x => x.TitleId).ToList();
var gradeIds = entitys.Where(x => x.GradeId != null).Select(x => x.GradeId).ToList(); var gradeIds = entitys.Where(x => x.GradeId != null).Select(x => x.GradeId).ToList();
var jobIds = entitys.Where(x => x.JobId != null).Select(x => x.JobId).ToList(); var titleIds = entitys.Where(x => x.TitleId != null).Select(x => x.TitleId).ToList();
deptIds.AddRange(entitys.Where(x => x.BelongDeptId != null).Select(x => x.BelongDeptId).ToList()); deptIds.AddRange(entitys.Where(x => x.BelongDeptId != null).Select(x => x.BelongDeptId).ToList());
if (deptIds.Any()) if (deptIds.Any())
{ {
@ -66,4 +68,13 @@ public class Ghrh_HumanRequestServices : BaseServices<Ghrh_HumanRequest, Ghrh_Hu
result.result.DT_TableDataT1 = entitys; result.result.DT_TableDataT1 = entitys;
return result; return result;
} }
public override async Task<Ghrh_HumanRequestDto> QueryById(object objId)
{
var result = await base.QueryById(objId);
result.ApplyDeptName = (await Db.Queryable<Ghro_Dept>().FirstAsync(o => result.ApplyDeptId == o.DeptID))?.DeptName;
result.BelongDeptName = (await Db.Queryable<Ghro_Dept>().FirstAsync(o => result.BelongDeptId == o.DeptID))?.DeptName;
result.TitleName = (await Db.Queryable<Ghra_Title>().FirstAsync(o => result.TitleId == o.TitleID))?.TitleName;
return result;
}
} }

@ -1,4 +1,6 @@
namespace Tiobon.Core.Services; using MathNet.Numerics.Distributions;
namespace Tiobon.Core.Services;
/// <summary> /// <summary>
/// 面试工单 (服务) /// 面试工单 (服务)
@ -28,6 +30,11 @@ public class Ghrh_InterviewOrderServices : BaseServices<Ghrh_InterviewOrder, Ghr
RemarkSz = $"用户【{usser?.UserName ?? App.User.ID.ToString()}】推荐了简历!" RemarkSz = $"用户【{usser?.UserName ?? App.User.ID.ToString()}】推荐了简历!"
}); });
await Db.Updateable<Ghrh_HumanRequest>()
.SetColumns(it => it.RecommendCount == it.RecommendCount + 1)
.Where(it => it.Id == entity.RequestId)
.ExecuteCommandAsync();
return result; return result;
} }
} }
Loading…
Cancel
Save