diff --git a/Tiobon.Core.Api/Tiobon.Core.Model.xml b/Tiobon.Core.Api/Tiobon.Core.Model.xml
index 8d8e29b3..dfdba8fc 100644
--- a/Tiobon.Core.Api/Tiobon.Core.Model.xml
+++ b/Tiobon.Core.Api/Tiobon.Core.Model.xml
@@ -7200,6 +7200,11 @@
人力需求维护 (Dto.Base)
+
+
+ 订单号
+
+
编制内外
@@ -7315,6 +7320,11 @@
录用人数
+
+
+ 报道人数
+
+
发起人ID
@@ -7470,11 +7480,6 @@
预留字段12
-
-
- 订单号
-
-
人力需求维护明细 (Dto.Base)
@@ -21321,6 +21326,11 @@
人力需求维护 (Model)
+
+
+ 订单号
+
+
编制内外
@@ -21436,6 +21446,11 @@
录用人数
+
+
+ 报道人数
+
+
发起人ID
@@ -21591,11 +21606,6 @@
预留字段12
-
-
- 订单号
-
-
人力需求维护明细 (Model)
diff --git a/Tiobon.Core.Model/Base/Ghrh/Ghrh_HumanRequest.Dto.Base.cs b/Tiobon.Core.Model/Base/Ghrh/Ghrh_HumanRequest.Dto.Base.cs
index 45c271f7..0ecc69e3 100644
--- a/Tiobon.Core.Model/Base/Ghrh/Ghrh_HumanRequest.Dto.Base.cs
+++ b/Tiobon.Core.Model/Base/Ghrh/Ghrh_HumanRequest.Dto.Base.cs
@@ -6,9 +6,9 @@
*
* Ver 变更日期 负责人 变更内容
* ───────────────────────────────────
-*V0.01 2024/12/26 15:37:27 SimonHsiao 初版
+*V0.01 2025/1/20 16:22:49 SimonHsiao 初版
*
-* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
+* Copyright(c) 2025 Tiobon Corporation. All Rights Reserved.
*┌──────────────────────────────────┐
*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
*│ 作者:SimonHsiao │
@@ -23,6 +23,12 @@ namespace Tiobon.Core.Model.Models;
public class Ghrh_HumanRequestBase
{
+ ///
+ /// 订单号
+ ///
+ [Display(Name = "RequestNo"), Description("订单号"), MaxLength(32, ErrorMessage = "订单号 不能超过 32 个字符")]
+ public string RequestNo { get; set; }
+
///
/// 编制内外
///
@@ -150,6 +156,11 @@ public class Ghrh_HumanRequestBase
///
public int? OfferCount { get; set; }
+ ///
+ /// 报道人数
+ ///
+ public int? CheckInCount { get; set; }
+
///
/// 发起人ID
///
@@ -322,10 +333,4 @@ public class Ghrh_HumanRequestBase
/// 预留字段12
///
public int? ReverseI2 { get; set; }
-
- ///
- /// 订单号
- ///
- [Display(Name = "RequestNo"), Description("订单号"), MaxLength(32, ErrorMessage = "订单号 不能超过 32 个字符")]
- public string RequestNo { get; set; }
}
diff --git a/Tiobon.Core.Model/Models/Ghrh/Ghrh_HumanRequest.cs b/Tiobon.Core.Model/Models/Ghrh/Ghrh_HumanRequest.cs
index 8c2dcefa..a41a9720 100644
--- a/Tiobon.Core.Model/Models/Ghrh/Ghrh_HumanRequest.cs
+++ b/Tiobon.Core.Model/Models/Ghrh/Ghrh_HumanRequest.cs
@@ -6,9 +6,9 @@
*
* Ver 变更日期 负责人 变更内容
* ───────────────────────────────────
-*V0.01 2024/12/26 15:37:27 SimonHsiao 初版
+*V0.01 2025/1/20 16:22:49 SimonHsiao 初版
*
-* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
+* Copyright(c) 2025 Tiobon Corporation. All Rights Reserved.
*┌──────────────────────────────────┐
*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
*│ 作者:SimonHsiao │
@@ -24,6 +24,12 @@ namespace Tiobon.Core.Model.Models;
public class Ghrh_HumanRequest : BasePoco
{
+ ///
+ /// 订单号
+ ///
+ [Display(Name = "RequestNo"), Description("订单号"), MaxLength(32, ErrorMessage = "订单号 不能超过 32 个字符")]
+ public string RequestNo { get; set; }
+
///
/// 编制内外
///
@@ -151,6 +157,11 @@ public class Ghrh_HumanRequest : BasePoco
///
public int? OfferCount { get; set; }
+ ///
+ /// 报道人数
+ ///
+ public int? CheckInCount { get; set; }
+
///
/// 发起人ID
///
@@ -323,10 +334,4 @@ public class Ghrh_HumanRequest : BasePoco
/// 预留字段12
///
public int? ReverseI2 { get; set; }
-
- ///
- /// 订单号
- ///
- [Display(Name = "RequestNo"), Description("订单号"), MaxLength(32, ErrorMessage = "订单号 不能超过 32 个字符")]
- public string RequestNo { get; set; }
}
diff --git a/Tiobon.Core.Model/View/Ghrh/Ghrh_HumanRequest.Dto.View.cs b/Tiobon.Core.Model/View/Ghrh/Ghrh_HumanRequest.Dto.View.cs
index 3417374c..a7e5ecfb 100644
--- a/Tiobon.Core.Model/View/Ghrh/Ghrh_HumanRequest.Dto.View.cs
+++ b/Tiobon.Core.Model/View/Ghrh/Ghrh_HumanRequest.Dto.View.cs
@@ -143,6 +143,7 @@ public class Ghrh_HumanRequestDto : Ghrh_HumanRequest
public int OutInterviewCount { get; set; }
public int OutOfferCount { get; set; }
public int OutCheckInCount { get; set; }
+ public int ResumeCount { get; set; }
}
diff --git a/Tiobon.Core.Services/Ghrh/Ghrh_HumanRequestServices.cs b/Tiobon.Core.Services/Ghrh/Ghrh_HumanRequestServices.cs
index b56a723c..4d8ed673 100644
--- a/Tiobon.Core.Services/Ghrh/Ghrh_HumanRequestServices.cs
+++ b/Tiobon.Core.Services/Ghrh/Ghrh_HumanRequestServices.cs
@@ -213,7 +213,8 @@ WHERE A.IsEnable = 1 AND A.Id = {entitys[i].YearHumanId}");
result.RecommendCount = result.RecommendCount ?? 0;
result.InterviewCount = result.InterviewCount ?? 0;
result.OfferCount = result.OfferCount ?? 0;
- //result.CheckInCount = result.CheckInCount ?? 0;
+ result.CheckInCount = result.CheckInCount ?? 0;
+ result.ResumeCount = result.RequestCount ?? 0;
}
return result;
}
diff --git a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs
index 9773b44f..ec6b68d8 100644
--- a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs
+++ b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs
@@ -1675,7 +1675,7 @@ A.DataType, A.ColumnType, A.IsRequired, A.DataSourceType, A.DataSource, A.DataSo
var request = await _ghrh_HumanRequestServices.QueryById(recommend.RequestId);
recommend.DeptId = request?.DeptId;
recommend.TitleId = request?.TitleId;
- recommendCount = (request?.RecommendCount ?? 0) + 1;
+ recommendCount = (request?.RecommendCount ?? 0) + recommend.ids.Count;
}
string deptName = string.Empty;
@@ -1767,7 +1767,7 @@ A.DataType, A.ColumnType, A.IsRequired, A.DataSourceType, A.DataSource, A.DataSo
if (recommend.RequestId.IsNotEmptyOrNull())
{
await Db.Updateable()
- .SetColumns(it => it.RecommendCount == recommendCount, true)
+ .SetColumns(it => new Ghrh_HumanRequest() { RecommendCount = recommendCount }, true)
.Where(it => it.Id == recommend.RequestId)
.ExecuteCommandAsync();
}
diff --git a/Tiobon.Core/Tiobon.Core.Model.xml b/Tiobon.Core/Tiobon.Core.Model.xml
index 8d8e29b3..dfdba8fc 100644
--- a/Tiobon.Core/Tiobon.Core.Model.xml
+++ b/Tiobon.Core/Tiobon.Core.Model.xml
@@ -7200,6 +7200,11 @@
人力需求维护 (Dto.Base)
+
+
+ 订单号
+
+
编制内外
@@ -7315,6 +7320,11 @@
录用人数
+
+
+ 报道人数
+
+
发起人ID
@@ -7470,11 +7480,6 @@
预留字段12
-
-
- 订单号
-
-
人力需求维护明细 (Dto.Base)
@@ -21321,6 +21326,11 @@
人力需求维护 (Model)
+
+
+ 订单号
+
+
编制内外
@@ -21436,6 +21446,11 @@
录用人数
+
+
+ 报道人数
+
+
发起人ID
@@ -21591,11 +21606,6 @@
预留字段12
-
-
- 订单号
-
-
人力需求维护明细 (Model)