diff --git a/Tiobon.Core.Api/Controllers/Ghrs/Ghrs_LangKeyController.cs b/Tiobon.Core.Api/Controllers/Ghrs/Ghrs_LangKeyController.cs
new file mode 100644
index 00000000..9e192194
--- /dev/null
+++ b/Tiobon.Core.Api/Controllers/Ghrs/Ghrs_LangKeyController.cs
@@ -0,0 +1,14 @@
+namespace Tiobon.Core.Api.Controllers;
+
+///
+/// Ghrs_LangKey(Controller)
+///
+[Route("api/[controller]")]
+[ApiController, GlobalActionFilter]
+[Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghrs)]
+public class Ghrs_LangKeyController : BaseController
+{
+ public Ghrs_LangKeyController(IGhrs_LangKeyServices service) : base(service)
+ {
+ }
+}
\ No newline at end of file
diff --git a/Tiobon.Core.Api/Tiobon.Core.Model.xml b/Tiobon.Core.Api/Tiobon.Core.Model.xml
index 2ddef50c..5b787a22 100644
--- a/Tiobon.Core.Api/Tiobon.Core.Model.xml
+++ b/Tiobon.Core.Api/Tiobon.Core.Model.xml
@@ -10043,6 +10043,141 @@
Reverse5
+
+
+ Ghrs_LangKey (Dto.Base)
+
+
+
+
+ 多语设定(语言别,Key Value对应表)
+
+
+
+
+ 语言别 ID
+
+
+
+
+ 语言Key
+
+
+
+
+ LangKeyType
+
+
+
+
+ 语言值
+
+
+
+
+ Value01
+
+
+
+
+ Value02
+
+
+
+
+ Value03
+
+
+
+
+ Value04
+
+
+
+
+ Value05
+
+
+
+
+ Value06
+
+
+
+
+ Value07
+
+
+
+
+ Value08
+
+
+
+
+ Value09
+
+
+
+
+ Value10
+
+
+
+
+ RemarkSz
+
+
+
+
+ SortNo
+
+
+
+
+ IsDefault
+
+
+
+
+ CompanyID
+
+
+
+
+ Reverse1
+
+
+
+
+ Reverse2
+
+
+
+
+ Reverse3
+
+
+
+
+ Reverse4
+
+
+
+
+ Reverse5
+
+
+
+
+ TableName
+
+
+
+
+ TableID
+
+
Ghrs_MailOutbox (Dto.Base)
@@ -11262,6 +11397,11 @@
Ghrs_DataRoleDetail (Dto.EditInput)
+
+
+ Ghrs_LangKey (Dto.EditInput)
+
+
Ghrs_MailOutbox (Dto.EditInput)
@@ -11657,6 +11797,11 @@
Ghrs_DataRoleDetail (Dto.InsertInput)
+
+
+ Ghrs_LangKey (Dto.InsertInput)
+
+
Ghrs_MailOutbox (Dto.InsertInput)
@@ -22029,6 +22174,141 @@
Reverse5
+
+
+ Ghrs_LangKey (Model)
+
+
+
+
+ 多语设定(语言别,Key Value对应表)
+
+
+
+
+ 语言别 ID
+
+
+
+
+ 语言Key
+
+
+
+
+ LangKeyType
+
+
+
+
+ 语言值
+
+
+
+
+ Value01
+
+
+
+
+ Value02
+
+
+
+
+ Value03
+
+
+
+
+ Value04
+
+
+
+
+ Value05
+
+
+
+
+ Value06
+
+
+
+
+ Value07
+
+
+
+
+ Value08
+
+
+
+
+ Value09
+
+
+
+
+ Value10
+
+
+
+
+ RemarkSz
+
+
+
+
+ SortNo
+
+
+
+
+ IsDefault
+
+
+
+
+ CompanyID
+
+
+
+
+ Reverse1
+
+
+
+
+ Reverse2
+
+
+
+
+ Reverse3
+
+
+
+
+ Reverse4
+
+
+
+
+ Reverse5
+
+
+
+
+ TableName
+
+
+
+
+ TableID
+
+
Ghrs_MailOutbox (Model)
@@ -25172,6 +25452,21 @@
修改信息
+
+
+ Ghrs_LangKey(Dto.View1)
+
+
+
+
+ 创建信息
+
+
+
+
+ 修改信息
+
+
Ghrs_MailOutbox(Dto.View1)
@@ -26950,11 +27245,51 @@
身份证号码
+
+
+ 岗位
+
+
+
+
+ 汇报对象
+
+
+
+
+ 薪资
+
+
+
+
+ 入职日期
+
+
姓名
+
+
+ 岗位
+
+
+
+
+ 汇报对象
+
+
+
+
+ 薪资
+
+
+
+
+ 入职日期
+
+
修改信息 黄一名 于 2024-05-10 15:02 最后修改
diff --git a/Tiobon.Core.Api/Tiobon.Core.xml b/Tiobon.Core.Api/Tiobon.Core.xml
index 4c6cdaab..292130fc 100644
--- a/Tiobon.Core.Api/Tiobon.Core.xml
+++ b/Tiobon.Core.Api/Tiobon.Core.xml
@@ -1718,6 +1718,11 @@
Ghrs_DataRoleDetail(Controller)
+
+
+ Ghrs_LangKey(Controller)
+
+
Ghrs_MailOutbox(Controller)
diff --git a/Tiobon.Core.IServices/Ghrs/IGhrs_LangKeyServices.cs b/Tiobon.Core.IServices/Ghrs/IGhrs_LangKeyServices.cs
new file mode 100644
index 00000000..7e41b861
--- /dev/null
+++ b/Tiobon.Core.IServices/Ghrs/IGhrs_LangKeyServices.cs
@@ -0,0 +1,12 @@
+using Tiobon.Core.IServices.BASE;
+using Tiobon.Core.Model.Models;
+
+namespace Tiobon.Core.IServices
+{
+ ///
+ /// Ghrs_LangKey(自定义服务接口)
+ ///
+ public interface IGhrs_LangKeyServices :IBaseServices
+ {
+ }
+}
\ No newline at end of file
diff --git a/Tiobon.Core.Model/Base/Ghrs/Ghrs_LangKey.Dto.Base.cs b/Tiobon.Core.Model/Base/Ghrs/Ghrs_LangKey.Dto.Base.cs
new file mode 100644
index 00000000..abb852b3
--- /dev/null
+++ b/Tiobon.Core.Model/Base/Ghrs/Ghrs_LangKey.Dto.Base.cs
@@ -0,0 +1,177 @@
+/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。
+* Ghrs_LangKey.cs
+*
+*功 能: N / A
+* 类 名: Ghrs_LangKey
+*
+* Ver 变更日期 负责人 变更内容
+* ───────────────────────────────────
+*V0.01 2024/12/5 19:40:32 SimonHsiao 初版
+*
+* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
+*┌──────────────────────────────────┐
+*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
+*│ 作者:SimonHsiao │
+*└──────────────────────────────────┘
+*/
+using System.ComponentModel;
+using System.ComponentModel.DataAnnotations;
+
+namespace Tiobon.Core.Model.Models
+{
+
+ ///
+ /// Ghrs_LangKey (Dto.Base)
+ ///
+ public class Ghrs_LangKeyBase
+ {
+
+ ///
+ /// 多语设定(语言别,Key Value对应表)
+ ///
+ public int? LangKeyID { get; set; }
+
+ ///
+ /// 语言别 ID
+ ///
+ public int? LangID { get; set; }
+
+ ///
+ /// 语言Key
+ ///
+ [Display(Name = "LangKey"), Description("语言Key"), MaxLength(100, ErrorMessage = "语言Key 不能超过 100 个字符")]
+ public string LangKey { get; set; }
+
+ ///
+ /// LangKeyType
+ ///
+ [Display(Name = "LangKeyType"), Description("LangKeyType"), MaxLength(100, ErrorMessage = "LangKeyType 不能超过 100 个字符")]
+ public string LangKeyType { get; set; }
+
+ ///
+ /// 语言值
+ ///
+ [Display(Name = "LangValue"), Description("语言值"), MaxLength(-1, ErrorMessage = "语言值 不能超过 -1 个字符")]
+ public string LangValue { get; set; }
+
+ ///
+ /// Value01
+ ///
+ [Display(Name = "Value01"), Description("Value01"), MaxLength(-1, ErrorMessage = "Value01 不能超过 -1 个字符")]
+ public string Value01 { get; set; }
+
+ ///
+ /// Value02
+ ///
+ [Display(Name = "Value02"), Description("Value02"), MaxLength(-1, ErrorMessage = "Value02 不能超过 -1 个字符")]
+ public string Value02 { get; set; }
+
+ ///
+ /// Value03
+ ///
+ [Display(Name = "Value03"), Description("Value03"), MaxLength(-1, ErrorMessage = "Value03 不能超过 -1 个字符")]
+ public string Value03 { get; set; }
+
+ ///
+ /// Value04
+ ///
+ [Display(Name = "Value04"), Description("Value04"), MaxLength(-1, ErrorMessage = "Value04 不能超过 -1 个字符")]
+ public string Value04 { get; set; }
+
+ ///
+ /// Value05
+ ///
+ [Display(Name = "Value05"), Description("Value05"), MaxLength(-1, ErrorMessage = "Value05 不能超过 -1 个字符")]
+ public string Value05 { get; set; }
+
+ ///
+ /// Value06
+ ///
+ [Display(Name = "Value06"), Description("Value06"), MaxLength(-1, ErrorMessage = "Value06 不能超过 -1 个字符")]
+ public string Value06 { get; set; }
+
+ ///
+ /// Value07
+ ///
+ [Display(Name = "Value07"), Description("Value07"), MaxLength(-1, ErrorMessage = "Value07 不能超过 -1 个字符")]
+ public string Value07 { get; set; }
+
+ ///
+ /// Value08
+ ///
+ [Display(Name = "Value08"), Description("Value08"), MaxLength(-1, ErrorMessage = "Value08 不能超过 -1 个字符")]
+ public string Value08 { get; set; }
+
+ ///
+ /// Value09
+ ///
+ [Display(Name = "Value09"), Description("Value09"), MaxLength(-1, ErrorMessage = "Value09 不能超过 -1 个字符")]
+ public string Value09 { get; set; }
+
+ ///
+ /// Value10
+ ///
+ [Display(Name = "Value10"), Description("Value10"), MaxLength(-1, ErrorMessage = "Value10 不能超过 -1 个字符")]
+ public string Value10 { get; set; }
+
+ ///
+ /// RemarkSz
+ ///
+ [Display(Name = "RemarkSz"), Description("RemarkSz"), MaxLength(2000, ErrorMessage = "RemarkSz 不能超过 2000 个字符")]
+ public string RemarkSz { get; set; }
+
+ ///
+ /// SortNo
+ ///
+ public int? SortNo { get; set; }
+
+ ///
+ /// IsDefault
+ ///
+ public int? IsDefault { get; set; }
+
+ ///
+ /// CompanyID
+ ///
+ public int? CompanyID { get; set; }
+
+ ///
+ /// Reverse1
+ ///
+ [Display(Name = "Reverse1"), Description("Reverse1"), MaxLength(-1, ErrorMessage = "Reverse1 不能超过 -1 个字符")]
+ public string Reverse1 { get; set; }
+
+ ///
+ /// Reverse2
+ ///
+ [Display(Name = "Reverse2"), Description("Reverse2"), MaxLength(-1, ErrorMessage = "Reverse2 不能超过 -1 个字符")]
+ public string Reverse2 { get; set; }
+
+ ///
+ /// Reverse3
+ ///
+ [Display(Name = "Reverse3"), Description("Reverse3"), MaxLength(-1, ErrorMessage = "Reverse3 不能超过 -1 个字符")]
+ public string Reverse3 { get; set; }
+
+ ///
+ /// Reverse4
+ ///
+ public int? Reverse4 { get; set; }
+
+ ///
+ /// Reverse5
+ ///
+ public int? Reverse5 { get; set; }
+
+ ///
+ /// TableName
+ ///
+ [Display(Name = "TableName"), Description("TableName"), MaxLength(100, ErrorMessage = "TableName 不能超过 100 个字符")]
+ public string TableName { get; set; }
+
+ ///
+ /// TableID
+ ///
+ public int? TableID { get; set; }
+ }
+}
diff --git a/Tiobon.Core.Model/Edit/Ghrs/Ghrs_LangKey.Dto.EditInput.cs b/Tiobon.Core.Model/Edit/Ghrs/Ghrs_LangKey.Dto.EditInput.cs
new file mode 100644
index 00000000..fb28373b
--- /dev/null
+++ b/Tiobon.Core.Model/Edit/Ghrs/Ghrs_LangKey.Dto.EditInput.cs
@@ -0,0 +1,27 @@
+/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。
+* Ghrs_LangKey.cs
+*
+*功 能: N / A
+* 类 名: Ghrs_LangKey
+*
+* Ver 变更日期 负责人 变更内容
+* ───────────────────────────────────
+*V0.01 2024/12/5 19:40:32 SimonHsiao 初版
+*
+* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
+*┌──────────────────────────────────┐
+*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
+*│ 作者:SimonHsiao │
+*└──────────────────────────────────┘
+*/
+
+namespace Tiobon.Core.Model.Models
+{
+
+ ///
+ /// Ghrs_LangKey (Dto.EditInput)
+ ///
+ public class EditGhrs_LangKeyInput : Ghrs_LangKeyBase
+ {
+ }
+}
diff --git a/Tiobon.Core.Model/Insert/Ghrs/Ghrs_LangKey.Dto.InsertInput.cs b/Tiobon.Core.Model/Insert/Ghrs/Ghrs_LangKey.Dto.InsertInput.cs
new file mode 100644
index 00000000..e02a4c09
--- /dev/null
+++ b/Tiobon.Core.Model/Insert/Ghrs/Ghrs_LangKey.Dto.InsertInput.cs
@@ -0,0 +1,27 @@
+/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。
+* Ghrs_LangKey.cs
+*
+*功 能: N / A
+* 类 名: Ghrs_LangKey
+*
+* Ver 变更日期 负责人 变更内容
+* ───────────────────────────────────
+*V0.01 2024/12/5 19:40:32 SimonHsiao 初版
+*
+* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
+*┌──────────────────────────────────┐
+*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
+*│ 作者:SimonHsiao │
+*└──────────────────────────────────┘
+*/
+
+namespace Tiobon.Core.Model.Models
+{
+
+ ///
+ /// Ghrs_LangKey (Dto.InsertInput)
+ ///
+ public class InsertGhrs_LangKeyInput : Ghrs_LangKeyBase
+ {
+ }
+}
diff --git a/Tiobon.Core.Model/Models/Ghrs/Ghrs_LangKey.cs b/Tiobon.Core.Model/Models/Ghrs/Ghrs_LangKey.cs
new file mode 100644
index 00000000..294931e9
--- /dev/null
+++ b/Tiobon.Core.Model/Models/Ghrs/Ghrs_LangKey.cs
@@ -0,0 +1,175 @@
+/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。
+* Ghrs_LangKey.cs
+*
+*功 能: N / A
+* 类 名: Ghrs_LangKey
+*
+* Ver 变更日期 负责人 变更内容
+* ───────────────────────────────────
+*V0.01 2024/12/5 19:40:32 SimonHsiao 初版
+*
+* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
+*┌──────────────────────────────────┐
+*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
+*│ 作者:SimonHsiao │
+*└──────────────────────────────────┘
+*/
+namespace Tiobon.Core.Model.Models;
+
+
+///
+/// Ghrs_LangKey (Model)
+///
+[SugarTable("Ghrs_LangKey", "Ghrs_LangKey"), Entity(TableCnName = "Ghrs_LangKey", TableName = "Ghrs_LangKey")]
+public class Ghrs_LangKey : BasePoco1
+{
+
+ ///
+ /// 多语设定(语言别,Key Value对应表)
+ ///
+ [SugarColumn(IsNullable = false, IsPrimaryKey = true, IsIdentity = true), Display(Name = "表主键")]
+ public int? LangKeyID { get; set; }
+
+ ///
+ /// 语言别 ID
+ ///
+ public int? LangID { get; set; }
+
+ ///
+ /// 语言Key
+ ///
+ [Display(Name = "LangKey"), Description("语言Key"), MaxLength(100, ErrorMessage = "语言Key 不能超过 100 个字符")]
+ public string LangKey { get; set; }
+
+ ///
+ /// LangKeyType
+ ///
+ [Display(Name = "LangKeyType"), Description("LangKeyType"), MaxLength(100, ErrorMessage = "LangKeyType 不能超过 100 个字符")]
+ public string LangKeyType { get; set; }
+
+ ///
+ /// 语言值
+ ///
+ [Display(Name = "LangValue"), Description("语言值"), MaxLength(-1, ErrorMessage = "语言值 不能超过 -1 个字符")]
+ public string LangValue { get; set; }
+
+ ///
+ /// Value01
+ ///
+ [Display(Name = "Value01"), Description("Value01"), MaxLength(-1, ErrorMessage = "Value01 不能超过 -1 个字符")]
+ public string Value01 { get; set; }
+
+ ///
+ /// Value02
+ ///
+ [Display(Name = "Value02"), Description("Value02"), MaxLength(-1, ErrorMessage = "Value02 不能超过 -1 个字符")]
+ public string Value02 { get; set; }
+
+ ///
+ /// Value03
+ ///
+ [Display(Name = "Value03"), Description("Value03"), MaxLength(-1, ErrorMessage = "Value03 不能超过 -1 个字符")]
+ public string Value03 { get; set; }
+
+ ///
+ /// Value04
+ ///
+ [Display(Name = "Value04"), Description("Value04"), MaxLength(-1, ErrorMessage = "Value04 不能超过 -1 个字符")]
+ public string Value04 { get; set; }
+
+ ///
+ /// Value05
+ ///
+ [Display(Name = "Value05"), Description("Value05"), MaxLength(-1, ErrorMessage = "Value05 不能超过 -1 个字符")]
+ public string Value05 { get; set; }
+
+ ///
+ /// Value06
+ ///
+ [Display(Name = "Value06"), Description("Value06"), MaxLength(-1, ErrorMessage = "Value06 不能超过 -1 个字符")]
+ public string Value06 { get; set; }
+
+ ///
+ /// Value07
+ ///
+ [Display(Name = "Value07"), Description("Value07"), MaxLength(-1, ErrorMessage = "Value07 不能超过 -1 个字符")]
+ public string Value07 { get; set; }
+
+ ///
+ /// Value08
+ ///
+ [Display(Name = "Value08"), Description("Value08"), MaxLength(-1, ErrorMessage = "Value08 不能超过 -1 个字符")]
+ public string Value08 { get; set; }
+
+ ///
+ /// Value09
+ ///
+ [Display(Name = "Value09"), Description("Value09"), MaxLength(-1, ErrorMessage = "Value09 不能超过 -1 个字符")]
+ public string Value09 { get; set; }
+
+ ///
+ /// Value10
+ ///
+ [Display(Name = "Value10"), Description("Value10"), MaxLength(-1, ErrorMessage = "Value10 不能超过 -1 个字符")]
+ public string Value10 { get; set; }
+
+ ///
+ /// RemarkSz
+ ///
+ [Display(Name = "RemarkSz"), Description("RemarkSz"), MaxLength(2000, ErrorMessage = "RemarkSz 不能超过 2000 个字符")]
+ public string RemarkSz { get; set; }
+
+ ///
+ /// SortNo
+ ///
+ public int? SortNo { get; set; }
+
+ ///
+ /// IsDefault
+ ///
+ public int? IsDefault { get; set; }
+
+ ///
+ /// CompanyID
+ ///
+ public int? CompanyID { get; set; }
+
+ ///
+ /// Reverse1
+ ///
+ [Display(Name = "Reverse1"), Description("Reverse1"), MaxLength(-1, ErrorMessage = "Reverse1 不能超过 -1 个字符")]
+ public string Reverse1 { get; set; }
+
+ ///
+ /// Reverse2
+ ///
+ [Display(Name = "Reverse2"), Description("Reverse2"), MaxLength(-1, ErrorMessage = "Reverse2 不能超过 -1 个字符")]
+ public string Reverse2 { get; set; }
+
+ ///
+ /// Reverse3
+ ///
+ [Display(Name = "Reverse3"), Description("Reverse3"), MaxLength(-1, ErrorMessage = "Reverse3 不能超过 -1 个字符")]
+ public string Reverse3 { get; set; }
+
+ ///
+ /// Reverse4
+ ///
+ public int? Reverse4 { get; set; }
+
+ ///
+ /// Reverse5
+ ///
+ public int? Reverse5 { get; set; }
+
+ ///
+ /// TableName
+ ///
+ [Display(Name = "TableName"), Description("TableName"), MaxLength(100, ErrorMessage = "TableName 不能超过 100 个字符")]
+ public string TableName { get; set; }
+
+ ///
+ /// TableID
+ ///
+ public int? TableID { get; set; }
+}
diff --git a/Tiobon.Core.Model/View/Ghrs/Ghrs_LangKey.Dto.View.cs b/Tiobon.Core.Model/View/Ghrs/Ghrs_LangKey.Dto.View.cs
new file mode 100644
index 00000000..f77c1a7a
--- /dev/null
+++ b/Tiobon.Core.Model/View/Ghrs/Ghrs_LangKey.Dto.View.cs
@@ -0,0 +1,34 @@
+/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。
+* Ghrs_LangKey.cs
+*
+*功 能: N / A
+* 类 名: Ghrs_LangKey
+*
+* Ver 变更日期 负责人 变更内容
+* ───────────────────────────────────
+*V0.01 2024/12/5 19:40:32 SimonHsiao 初版
+*
+* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
+*┌──────────────────────────────────┐
+*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
+*│ 作者:SimonHsiao │
+*└──────────────────────────────────┘
+*/
+
+namespace Tiobon.Core.Model.Models;
+
+///
+/// Ghrs_LangKey(Dto.View1)
+///
+public class Ghrs_LangKeyDto : Ghrs_LangKey
+{
+///
+/// 创建信息
+///
+public string CreateDataInfo { get; set; }
+
+///
+/// 修改信息
+///
+public string UpdateDataInfo { get; set; }
+}
diff --git a/Tiobon.Core.Model/ViewModels/Extend/CustomFieldView.cs b/Tiobon.Core.Model/ViewModels/Extend/CustomFieldView.cs
index c479d174..99efad02 100644
--- a/Tiobon.Core.Model/ViewModels/Extend/CustomFieldView.cs
+++ b/Tiobon.Core.Model/ViewModels/Extend/CustomFieldView.cs
@@ -54,6 +54,30 @@ public class OfferTemplate
[Description("身份证号码")]
public string IdCardNo { get; set; }
+ ///
+ /// 岗位
+ ///
+ [Description("岗位")]
+ public string TitleName { get; set; }
+
+ ///
+ /// 汇报对象
+ ///
+ [Description("汇报对象")]
+ public string ReportName { get; set; }
+
+ ///
+ /// 薪资
+ ///
+ [Description("薪资")]
+ public string Salary { get; set; }
+
+ ///
+ /// 入职日期
+ ///
+ [Description("入职日期")]
+ public string InDate { get; set; }
+
}
public class OfferTemplate1
@@ -64,4 +88,28 @@ public class OfferTemplate1
[Description("姓名")]
public string StaffName { get; set; }
+ ///
+ /// 岗位
+ ///
+ [Description("岗位")]
+ public string TitleName { get; set; }
+
+ ///
+ /// 汇报对象
+ ///
+ [Description("汇报对象")]
+ public string ReportName { get; set; }
+
+ ///
+ /// 薪资
+ ///
+ [Description("薪资")]
+ public string Salary { get; set; }
+
+ ///
+ /// 入职日期
+ ///
+ [Description("入职日期")]
+ public string InDate { get; set; }
+
}
\ No newline at end of file
diff --git a/Tiobon.Core.Services/Ghrh/Ghrh_TemplateServices.cs b/Tiobon.Core.Services/Ghrh/Ghrh_TemplateServices.cs
index 5769cbc2..ec5be220 100644
--- a/Tiobon.Core.Services/Ghrh/Ghrh_TemplateServices.cs
+++ b/Tiobon.Core.Services/Ghrh/Ghrh_TemplateServices.cs
@@ -63,11 +63,63 @@ public class Ghrh_TemplateServices : BaseServices.OprateSuccess("查询成功!", result));
result = result.Replace("[姓名]", resume.StaffName);
result = result.Replace("[电话]", resume.Mobile);
result = result.Replace("[邮箱]", resume.Email);
result = result.Replace("[身份证号码]", resume.IdCardNo);
result = result.Replace("[StaffName_EN]", resume.StaffEname);
+
+ var offerApplyOrder = await Db.Queryable().Where(x => x.ResumeId == resumeId).OrderByDescending(x => x.ApplyTime).SingleAsync();
+
+ if (offerApplyOrder != null)
+ {
+ #region 岗位
+ if (offerApplyOrder.TitleId.IsNotEmptyOrNull())
+ {
+ var title = await Db.Queryable().Where(x => x.TitleID == offerApplyOrder.TitleId).SingleAsync();
+ if (title.MKey.IsNotEmptyOrNull())
+ {
+ var lang = await Db.Queryable().Where(x => x.LangKey == title.MKey).SingleAsync();
+ if (lang != null)
+ {
+ result = result.Replace("[TitleName_EN]", lang.Value03);
+ result = result.Replace("[岗位]", lang.LangValue);
+ }
+
+ }
+ }
+ #endregion
+
+ #region 汇报对象
+ if (offerApplyOrder.ReportId.IsNotEmptyOrNull())
+ {
+ var staff = await Db.Queryable().Where(x => x.StaffID == offerApplyOrder.ReportId).SingleAsync();
+ if (staff != null)
+ {
+ result = result.Replace("[ReportName_EN]", staff.StaffEname ?? staff.StaffName);
+ result = result.Replace("[汇报对象]", staff.StaffName);
+ }
+ }
+ #endregion
+
+ #region 薪资
+ if (offerApplyOrder.ProbationSalary.IsNotEmptyOrNull())
+ {
+ result = result.Replace("[Salary_EN]", offerApplyOrder.ProbationSalary.ObjToString());
+ result = result.Replace("[薪资]", offerApplyOrder.ProbationSalary.ObjToString());
+ }
+ #endregion
+
+ #region 入职日期
+ if (offerApplyOrder.InDate.IsNotEmptyOrNull())
+ {
+ result = result.Replace("[InDate_EN]", DateTimeHelper.ConvertToDayString(offerApplyOrder.InDate));
+ result = result.Replace("[入职日期]", $" {offerApplyOrder.InDate.Value.Year}年 {offerApplyOrder.InDate.Value.Month} 月 {offerApplyOrder.InDate.Value.Day} 日");
+ }
+ #endregion
+ }
}
return await Task.FromResult(ServiceResult.OprateSuccess("查询成功!", result));
}
diff --git a/Tiobon.Core.Services/Ghrs/Ghrs_LangKeyServices.cs b/Tiobon.Core.Services/Ghrs/Ghrs_LangKeyServices.cs
new file mode 100644
index 00000000..1d8c685c
--- /dev/null
+++ b/Tiobon.Core.Services/Ghrs/Ghrs_LangKeyServices.cs
@@ -0,0 +1,23 @@
+
+using Tiobon.Core.IServices;
+using Tiobon.Core.Model.Models;
+using Tiobon.Core.Services.BASE;
+using Tiobon.Core.IRepository.Base;
+using Tiobon.Core.Common.Caches;
+
+namespace Tiobon.Core.Services
+{
+ ///
+ /// Ghrs_LangKey (服务)
+ ///
+ public class Ghrs_LangKeyServices : BaseServices, IGhrs_LangKeyServices
+ {
+ private readonly IBaseRepository _dal;
+ public Ghrs_LangKeyServices(ICaching caching, IBaseRepository dal)
+ {
+ this._dal = dal;
+ base.BaseDal = dal;
+ base._caching = caching;
+ }
+ }
+}
\ No newline at end of file
diff --git a/Tiobon.Core/Tiobon.Core.Model.xml b/Tiobon.Core/Tiobon.Core.Model.xml
index 2ddef50c..5b787a22 100644
--- a/Tiobon.Core/Tiobon.Core.Model.xml
+++ b/Tiobon.Core/Tiobon.Core.Model.xml
@@ -10043,6 +10043,141 @@
Reverse5
+
+
+ Ghrs_LangKey (Dto.Base)
+
+
+
+
+ 多语设定(语言别,Key Value对应表)
+
+
+
+
+ 语言别 ID
+
+
+
+
+ 语言Key
+
+
+
+
+ LangKeyType
+
+
+
+
+ 语言值
+
+
+
+
+ Value01
+
+
+
+
+ Value02
+
+
+
+
+ Value03
+
+
+
+
+ Value04
+
+
+
+
+ Value05
+
+
+
+
+ Value06
+
+
+
+
+ Value07
+
+
+
+
+ Value08
+
+
+
+
+ Value09
+
+
+
+
+ Value10
+
+
+
+
+ RemarkSz
+
+
+
+
+ SortNo
+
+
+
+
+ IsDefault
+
+
+
+
+ CompanyID
+
+
+
+
+ Reverse1
+
+
+
+
+ Reverse2
+
+
+
+
+ Reverse3
+
+
+
+
+ Reverse4
+
+
+
+
+ Reverse5
+
+
+
+
+ TableName
+
+
+
+
+ TableID
+
+
Ghrs_MailOutbox (Dto.Base)
@@ -11262,6 +11397,11 @@
Ghrs_DataRoleDetail (Dto.EditInput)
+
+
+ Ghrs_LangKey (Dto.EditInput)
+
+
Ghrs_MailOutbox (Dto.EditInput)
@@ -11657,6 +11797,11 @@
Ghrs_DataRoleDetail (Dto.InsertInput)
+
+
+ Ghrs_LangKey (Dto.InsertInput)
+
+
Ghrs_MailOutbox (Dto.InsertInput)
@@ -22029,6 +22174,141 @@
Reverse5
+
+
+ Ghrs_LangKey (Model)
+
+
+
+
+ 多语设定(语言别,Key Value对应表)
+
+
+
+
+ 语言别 ID
+
+
+
+
+ 语言Key
+
+
+
+
+ LangKeyType
+
+
+
+
+ 语言值
+
+
+
+
+ Value01
+
+
+
+
+ Value02
+
+
+
+
+ Value03
+
+
+
+
+ Value04
+
+
+
+
+ Value05
+
+
+
+
+ Value06
+
+
+
+
+ Value07
+
+
+
+
+ Value08
+
+
+
+
+ Value09
+
+
+
+
+ Value10
+
+
+
+
+ RemarkSz
+
+
+
+
+ SortNo
+
+
+
+
+ IsDefault
+
+
+
+
+ CompanyID
+
+
+
+
+ Reverse1
+
+
+
+
+ Reverse2
+
+
+
+
+ Reverse3
+
+
+
+
+ Reverse4
+
+
+
+
+ Reverse5
+
+
+
+
+ TableName
+
+
+
+
+ TableID
+
+
Ghrs_MailOutbox (Model)
@@ -25172,6 +25452,21 @@
修改信息
+
+
+ Ghrs_LangKey(Dto.View1)
+
+
+
+
+ 创建信息
+
+
+
+
+ 修改信息
+
+
Ghrs_MailOutbox(Dto.View1)
@@ -26950,11 +27245,51 @@
身份证号码
+
+
+ 岗位
+
+
+
+
+ 汇报对象
+
+
+
+
+ 薪资
+
+
+
+
+ 入职日期
+
+
姓名
+
+
+ 岗位
+
+
+
+
+ 汇报对象
+
+
+
+
+ 薪资
+
+
+
+
+ 入职日期
+
+
修改信息 黄一名 于 2024-05-10 15:02 最后修改
diff --git a/Tiobon.Core/Tiobon.Core.xml b/Tiobon.Core/Tiobon.Core.xml
index 4c6cdaab..292130fc 100644
--- a/Tiobon.Core/Tiobon.Core.xml
+++ b/Tiobon.Core/Tiobon.Core.xml
@@ -1718,6 +1718,11 @@
Ghrs_DataRoleDetail(Controller)
+
+
+ Ghrs_LangKey(Controller)
+
+
Ghrs_MailOutbox(Controller)