diff --git a/Model/Tiobon.Web.pdm b/Model/Tiobon.Web.pdm index 657322ff..2c73db2c 100644 --- a/Model/Tiobon.Web.pdm +++ b/Model/Tiobon.Web.pdm @@ -1,5 +1,5 @@ - + @@ -7542,7 +7542,7 @@ Shadow=0 SystemManager7 1248331945 Administrator -1737085753 +1737086327 Administrator 系统管理 [FolderOptions] @@ -11313,7 +11313,7 @@ LABL 0 Arial Unicode MS,8,N SystemManager12 1728522772 Administrator -1737085753 +1737086327 Administrator [DisplayPreferences] @@ -12136,10 +12136,10 @@ Shadow=0 -1737085753 -1737085753 -((31689,-17250), (34613,-10950)) -((33151,-17250),(33151,-10950)) +1737086327 +1737086327 +((31726,-10800), (36226,-3975)) +((33976,-10800),(33976,-3975)) 2 1 16711680 @@ -12595,10 +12595,10 @@ LABL 0 Arial Unicode MS,8,N - + 1732774754 -1737085728 -((30482,-12150), (36568,-8550)) +1737086324 +((30482,-12950), (37500,-9350)) 0 16711680 16744448 @@ -12771,10 +12771,10 @@ LABL 0 Arial Unicode MS,8,N - + 1737085718 -1737085750 -((30503,-19575), (36397,-15675)) +1737086320 +((30278,-6450), (37050,-2550)) 0 16711680 16744448 @@ -47285,10 +47285,10 @@ Ghra_staff_InsureBase 4E7EEAC0-B6B2-4DAA-9D7B-9D943E5045DD 招聘参数配置组 -Ghh_ConfigGroup +Ghrh_ConfigGroup 1737085718 Administrator -1737085746 +1737086436 Administrator 招聘参数配置组 @@ -49124,7 +49124,7 @@ Ghra_staff_InsureBase - + C4514A46-AF20-4937-902F-A02C91F50231 Reference_44 Reference_44 @@ -49143,7 +49143,7 @@ Ghra_staff_InsureBase - + 22844E1B-552F-4914-8997-D9056E9D9574 1737085753 Administrator @@ -49158,6 +49158,40 @@ Ghra_staff_InsureBase + +CB20680F-2FDF-46C3-A78A-56A4941ADF3E +Reference_45 +Reference_45 +1737086327 +Administrator +1737086327 +Administrator +0..* + + + + + + + + + + + +0457880B-22F4-48EC-84E0-13C055FDBA46 +1737086327 +Administrator +1737086336 +Administrator + + + + + + + + + @@ -49165,7 +49199,7 @@ Ghra_staff_InsureBase - + A1DD77B6-E48E-4C9D-947D-D42E3C5240C2 dbo dbo @@ -49178,7 +49212,7 @@ Ghra_staff_InsureBase - + C012A467-0031-4F3C-9D9D-13408491E147 DefaultSchema 1597196432 @@ -49186,12 +49220,12 @@ Ghra_staff_InsureBase 1597196433 ttsoftxch - + - + 41D2B655-5319-49C5-9BA6-133BB8B097CA dbo dbo @@ -49203,7 +49237,7 @@ Ghra_staff_InsureBase - + 2153E033-C4DC-4F90-B2F4-3B0F44BD33D5 文本 TEXT @@ -49213,7 +49247,7 @@ Ghra_staff_InsureBase ttsoftxch text - + AC8799D0-82CA-4B70-ADAC-18D8797720A9 图片 IMAGE @@ -49223,7 +49257,7 @@ Ghra_staff_InsureBase Administrator image - + DEC04470-B84A-413E-9B2A-C265C5506182 加密 ENCRYPT_STRING @@ -49234,7 +49268,7 @@ Ghra_staff_InsureBase nvarchar(256) 256 - + 538C6297-7080-43C1-9455-AD6516B6FBB2 数字 NUMBER @@ -49246,7 +49280,7 @@ Ghra_staff_InsureBase 20 6 - + AF15A9FA-052F-43E5-9102-57F195CBCFDE 类别 TYPE @@ -49257,7 +49291,7 @@ Ghra_staff_InsureBase varchar(32) 32 - + D0936140-81BD-463E-B0ED-FE3F86828A2C 特长字符串 LONG_LONG_STRING @@ -49268,7 +49302,7 @@ Ghra_staff_InsureBase varchar(256) 256 - + 5FBDAFFC-EA04-407B-877F-58752C2E736C 金额 AMOUNT @@ -49280,7 +49314,7 @@ Ghra_staff_InsureBase 20 6 - + F461E3FD-0A64-4712-BC09-C0BA3C248E5B 描述 DESCRIPTION @@ -49291,7 +49325,7 @@ Ghra_staff_InsureBase varchar(4000) 4000 - + 703A2917-B6C4-4BC6-B2CB-6AB8E2B49D30 短字符串 SHORT_STRING @@ -49302,7 +49336,7 @@ Ghra_staff_InsureBase varchar(64) 64 - + 89A476D2-A1C0-428C-9875-26A50B7AFE1A 长字符串 LONG_STRING @@ -49324,7 +49358,7 @@ Ghra_staff_InsureBase varchar(2000) 2000 - + @@ -49338,7 +49372,7 @@ Ghra_staff_InsureBase char(1) 1 - + 82662C91-618F-4022-B9CD-1A431DC84A0A 名称 NAME @@ -49359,7 +49393,7 @@ Ghra_staff_InsureBase Administrator int - + 77F6BD58-5A9D-44F7-988C-76608A3F38B5 代码 CODE @@ -49391,7 +49425,7 @@ Ghra_staff_InsureBase varchar(32) 32 - + DA200725-BFB0-4351-9C3E-DC30C036538E STATUS STATUS @@ -49402,7 +49436,7 @@ Ghra_staff_InsureBase varchar(32) 32 - + CB2F08D6-BE17-4046-B94A-4FD00EDA9015 文件 FILE @@ -49412,7 +49446,7 @@ Ghra_staff_InsureBase feipeng image - + 7CC45A5C-15C8-4CA8-BBEB-66FE3DAB482F 字符串512 STRING_512 @@ -49425,7 +49459,7 @@ Ghra_staff_InsureBase - + B41C21E8-76E9-4031-8EF0-34743E5525C5 PUBLIC PUBLIC @@ -49434,13 +49468,13 @@ Ghra_staff_InsureBase 1597196433 ttsoftxch - + - + 02EF92C9-49BF-45C7-934A-23BA290D5595 Microsoft SQL Server 2008 MSSQLSRV2008 diff --git a/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ConfigGroupController.cs b/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ConfigGroupController.cs new file mode 100644 index 00000000..6d05da9c --- /dev/null +++ b/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ConfigGroupController.cs @@ -0,0 +1,14 @@ +namespace Tiobon.Core.Api.Controllers; + +/// +/// 招聘参数配置组(Controller) +/// +[Route("api/[controller]")] +[ApiController, GlobalActionFilter] +[Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghrh)] +public class Ghrh_ConfigGroupController : BaseController +{ + public Ghrh_ConfigGroupController(IGhrh_ConfigGroupServices 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 1e29a82b..6b92ef4a 100644 --- a/Tiobon.Core.Api/Tiobon.Core.Model.xml +++ b/Tiobon.Core.Api/Tiobon.Core.Model.xml @@ -2570,6 +2570,91 @@ 预留字段12 + + + 参数配置组 (Dto.Base) + + + + + 参数名称 + + + + + 排序 + + + + + 备注 + + + + + 默认标志 + + + + + 预留字段1 + + + + + 预留字段2 + + + + + 预留字段3 + + + + + 预留字段4 + + + + + 预留字段5 + + + + + 预留字段6 + + + + + 预留字段7 + + + + + 预留字段8 + + + + + 预留字段9 + + + + + 预留字段10 + + + + + 预留字段11 + + + + + 预留字段12 + + 课程 (Dto.Base) @@ -7020,6 +7105,96 @@ 预留字段12 + + + 组别ID + + + + + 招聘参数配置组 (Dto.Base) + + + + + 参数名称 + + + + + 排序 + + + + + 备注 + + + + + 默认标志 + + + + + 预留字段1 + + + + + 预留字段2 + + + + + 预留字段3 + + + + + 预留字段4 + + + + + 预留字段5 + + + + + 预留字段6 + + + + + 预留字段7 + + + + + 预留字段8 + + + + + 预留字段9 + + + + + 预留字段10 + + + + + 预留字段11 + + + + + 预留字段12 + + 人力需求维护 (Dto.Base) @@ -12747,6 +12922,11 @@ 参数配置 (Dto.EditInput) + + + 参数配置组 (Dto.EditInput) + + 课程 (Dto.EditInput) @@ -12937,6 +13117,11 @@ 招聘参数配置 (Dto.EditInput) + + + 招聘参数配置组 (Dto.EditInput) + + 人力需求维护 (Dto.EditInput) @@ -13217,6 +13402,11 @@ 参数配置 (Dto.InsertInput) + + + 参数配置组 (Dto.InsertInput) + + 课程 (Dto.InsertInput) @@ -13407,6 +13597,11 @@ 招聘参数配置 (Dto.InsertInput) + + + 招聘参数配置组 (Dto.InsertInput) + + 人力需求维护 (Dto.InsertInput) @@ -16356,6 +16551,91 @@ 预留字段12 + + + 参数配置组 (Model) + + + + + 参数名称 + + + + + 排序 + + + + + 备注 + + + + + 默认标志 + + + + + 预留字段1 + + + + + 预留字段2 + + + + + 预留字段3 + + + + + 预留字段4 + + + + + 预留字段5 + + + + + 预留字段6 + + + + + 预留字段7 + + + + + 预留字段8 + + + + + 预留字段9 + + + + + 预留字段10 + + + + + 预留字段11 + + + + + 预留字段12 + + 课程 (Model) @@ -20946,6 +21226,96 @@ 预留字段12 + + + 组别ID + + + + + 招聘参数配置组 (Model) + + + + + 参数名称 + + + + + 排序 + + + + + 备注 + + + + + 默认标志 + + + + + 预留字段1 + + + + + 预留字段2 + + + + + 预留字段3 + + + + + 预留字段4 + + + + + 预留字段5 + + + + + 预留字段6 + + + + + 预留字段7 + + + + + 预留字段8 + + + + + 预留字段9 + + + + + 预留字段10 + + + + + 预留字段11 + + + + + 预留字段12 + + 人力需求维护 (Model) @@ -27657,6 +28027,21 @@ 修改信息 + + + 参数配置组(Dto.View1) + + + + + 创建信息 + + + + + 修改信息 + + 课程(Dto.View) @@ -28322,6 +28707,21 @@ 修改信息 + + + 招聘参数配置组(Dto.View1) + + + + + 创建信息 + + + + + 修改信息 + + 人力需求维护(Dto.View1) diff --git a/Tiobon.Core.Api/Tiobon.Core.xml b/Tiobon.Core.Api/Tiobon.Core.xml index 3f2090d8..e7c55336 100644 --- a/Tiobon.Core.Api/Tiobon.Core.xml +++ b/Tiobon.Core.Api/Tiobon.Core.xml @@ -765,6 +765,11 @@ + + + 参数配置组(Controller) + + Ghre_CourseClass(Controller) @@ -1280,6 +1285,11 @@ + + + 招聘参数配置组(Controller) + + 人力需求维护(Controller) diff --git a/Tiobon.Core.IServices/Ghrh/IGhrh_ConfigGroupServices.cs b/Tiobon.Core.IServices/Ghrh/IGhrh_ConfigGroupServices.cs new file mode 100644 index 00000000..ac7aed4e --- /dev/null +++ b/Tiobon.Core.IServices/Ghrh/IGhrh_ConfigGroupServices.cs @@ -0,0 +1,11 @@ +using Tiobon.Core.IServices.BASE; +using Tiobon.Core.Model.Models; + +namespace Tiobon.Core.IServices; + +/// +/// 招聘参数配置组(自定义服务接口) +/// +public interface IGhrh_ConfigGroupServices : IBaseServices +{ +} \ No newline at end of file diff --git a/Tiobon.Core.Model/Base/Ghrh/Ghrh_ConfigGroup.Dto.Base.cs b/Tiobon.Core.Model/Base/Ghrh/Ghrh_ConfigGroup.Dto.Base.cs new file mode 100644 index 00000000..d3d3f94c --- /dev/null +++ b/Tiobon.Core.Model/Base/Ghrh/Ghrh_ConfigGroup.Dto.Base.cs @@ -0,0 +1,117 @@ +/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。 +* Ghrh_ConfigGroup.cs +* +*功 能: N / A +* 类 名: Ghrh_ConfigGroup +* +* Ver 变更日期 负责人 变更内容 +* ─────────────────────────────────── +*V0.01 2025/1/17 13:02:40 SimonHsiao 初版 +* +* Copyright(c) 2025 Tiobon Corporation. All Rights Reserved. +*┌──────────────────────────────────┐ +*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ +*│ 作者:SimonHsiao │ +*└──────────────────────────────────┘ +*/ +namespace Tiobon.Core.Model.Models; + + +/// +/// 招聘参数配置组 (Dto.Base) +/// +public class Ghrh_ConfigGroupBase +{ + + /// + /// 参数名称 + /// + [Display(Name = "GroupName"), Description("参数名称"), MaxLength(32, ErrorMessage = "参数名称 不能超过 32 个字符")] + public string GroupName { get; set; } + + /// + /// 排序 + /// + public int? SortNo { get; set; } + + /// + /// 备注 + /// + [Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")] + public string RemarkSz { get; set; } + + /// + /// 默认标志 + /// + public int? IsDefault { get; set; } + + /// + /// 预留字段1 + /// + [Display(Name = "Reverse1"), Description("预留字段1"), MaxLength(1000, ErrorMessage = "预留字段1 不能超过 1000 个字符")] + public string Reverse1 { get; set; } + + /// + /// 预留字段2 + /// + [Display(Name = "Reverse2"), Description("预留字段2"), MaxLength(1000, ErrorMessage = "预留字段2 不能超过 1000 个字符")] + public string Reverse2 { get; set; } + + /// + /// 预留字段3 + /// + [Display(Name = "Reverse3"), Description("预留字段3"), MaxLength(1000, ErrorMessage = "预留字段3 不能超过 1000 个字符")] + public string Reverse3 { get; set; } + + /// + /// 预留字段4 + /// + [Display(Name = "Reverse4"), Description("预留字段4"), MaxLength(1000, ErrorMessage = "预留字段4 不能超过 1000 个字符")] + public string Reverse4 { get; set; } + + /// + /// 预留字段5 + /// + [Display(Name = "Reverse5"), Description("预留字段5"), MaxLength(1000, ErrorMessage = "预留字段5 不能超过 1000 个字符")] + public string Reverse5 { get; set; } + + /// + /// 预留字段6 + /// + [Display(Name = "Reverse6"), Description("预留字段6"), MaxLength(1000, ErrorMessage = "预留字段6 不能超过 1000 个字符")] + public string Reverse6 { get; set; } + + /// + /// 预留字段7 + /// + [Display(Name = "Reverse7"), Description("预留字段7"), MaxLength(1000, ErrorMessage = "预留字段7 不能超过 1000 个字符")] + public string Reverse7 { get; set; } + + /// + /// 预留字段8 + /// + [Display(Name = "Reverse8"), Description("预留字段8"), MaxLength(1000, ErrorMessage = "预留字段8 不能超过 1000 个字符")] + public string Reverse8 { get; set; } + + /// + /// 预留字段9 + /// + [Display(Name = "Reverse9"), Description("预留字段9"), MaxLength(1000, ErrorMessage = "预留字段9 不能超过 1000 个字符")] + public string Reverse9 { get; set; } + + /// + /// 预留字段10 + /// + [Display(Name = "Reverse10"), Description("预留字段10"), MaxLength(1000, ErrorMessage = "预留字段10 不能超过 1000 个字符")] + public string Reverse10 { get; set; } + + /// + /// 预留字段11 + /// + public int? ReverseI1 { get; set; } + + /// + /// 预留字段12 + /// + public int? ReverseI2 { get; set; } +} diff --git a/Tiobon.Core.Model/Edit/Ghrh/Ghrh_ConfigGroup.Dto.EditInput.cs b/Tiobon.Core.Model/Edit/Ghrh/Ghrh_ConfigGroup.Dto.EditInput.cs new file mode 100644 index 00000000..f8b8cfb0 --- /dev/null +++ b/Tiobon.Core.Model/Edit/Ghrh/Ghrh_ConfigGroup.Dto.EditInput.cs @@ -0,0 +1,26 @@ +/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。 +* Ghrh_ConfigGroup.cs +* +*功 能: N / A +* 类 名: Ghrh_ConfigGroup +* +* Ver 变更日期 负责人 变更内容 +* ─────────────────────────────────── +*V0.01 2025/1/17 13:02:40 SimonHsiao 初版 +* +* Copyright(c) 2025 Tiobon Corporation. All Rights Reserved. +*┌──────────────────────────────────┐ +*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ +*│ 作者:SimonHsiao │ +*└──────────────────────────────────┘ +*/ + +namespace Tiobon.Core.Model.Models; + + +/// +/// 招聘参数配置组 (Dto.EditInput) +/// +public class EditGhrh_ConfigGroupInput : Ghrh_ConfigGroupBase +{ +} diff --git a/Tiobon.Core.Model/Insert/Ghrh/Ghrh_ConfigGroup.Dto.InsertInput.cs b/Tiobon.Core.Model/Insert/Ghrh/Ghrh_ConfigGroup.Dto.InsertInput.cs new file mode 100644 index 00000000..e63a3504 --- /dev/null +++ b/Tiobon.Core.Model/Insert/Ghrh/Ghrh_ConfigGroup.Dto.InsertInput.cs @@ -0,0 +1,26 @@ +/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。 +* Ghrh_ConfigGroup.cs +* +*功 能: N / A +* 类 名: Ghrh_ConfigGroup +* +* Ver 变更日期 负责人 变更内容 +* ─────────────────────────────────── +*V0.01 2025/1/17 13:02:40 SimonHsiao 初版 +* +* Copyright(c) 2025 Tiobon Corporation. All Rights Reserved. +*┌──────────────────────────────────┐ +*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ +*│ 作者:SimonHsiao │ +*└──────────────────────────────────┘ +*/ + +namespace Tiobon.Core.Model.Models; + + +/// +/// 招聘参数配置组 (Dto.InsertInput) +/// +public class InsertGhrh_ConfigGroupInput : Ghrh_ConfigGroupBase +{ +} diff --git a/Tiobon.Core.Model/Models/Ghrh/Ghrh_ConfigGroup.cs b/Tiobon.Core.Model/Models/Ghrh/Ghrh_ConfigGroup.cs new file mode 100644 index 00000000..5d7bf546 --- /dev/null +++ b/Tiobon.Core.Model/Models/Ghrh/Ghrh_ConfigGroup.cs @@ -0,0 +1,118 @@ +/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。 +* Ghrh_ConfigGroup.cs +* +*功 能: N / A +* 类 名: Ghrh_ConfigGroup +* +* Ver 变更日期 负责人 变更内容 +* ─────────────────────────────────── +*V0.01 2025/1/17 13:02:40 SimonHsiao 初版 +* +* Copyright(c) 2025 Tiobon Corporation. All Rights Reserved. +*┌──────────────────────────────────┐ +*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ +*│ 作者:SimonHsiao │ +*└──────────────────────────────────┘ +*/ +namespace Tiobon.Core.Model.Models; + + +/// +/// 招聘参数配置组 (Model) +/// +[SugarTable("Ghrh_ConfigGroup", "Ghrh_ConfigGroup"), Entity(TableCnName = "招聘参数配置组", TableName = "Ghrh_ConfigGroup")] +public class Ghrh_ConfigGroup : BasePoco +{ + + /// + /// 参数名称 + /// + [Display(Name = "GroupName"), Description("参数名称"), MaxLength(32, ErrorMessage = "参数名称 不能超过 32 个字符")] + public string GroupName { get; set; } + + /// + /// 排序 + /// + public int? SortNo { get; set; } + + /// + /// 备注 + /// + [Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")] + public string RemarkSz { get; set; } + + /// + /// 默认标志 + /// + public int? IsDefault { get; set; } + + /// + /// 预留字段1 + /// + [Display(Name = "Reverse1"), Description("预留字段1"), MaxLength(1000, ErrorMessage = "预留字段1 不能超过 1000 个字符")] + public string Reverse1 { get; set; } + + /// + /// 预留字段2 + /// + [Display(Name = "Reverse2"), Description("预留字段2"), MaxLength(1000, ErrorMessage = "预留字段2 不能超过 1000 个字符")] + public string Reverse2 { get; set; } + + /// + /// 预留字段3 + /// + [Display(Name = "Reverse3"), Description("预留字段3"), MaxLength(1000, ErrorMessage = "预留字段3 不能超过 1000 个字符")] + public string Reverse3 { get; set; } + + /// + /// 预留字段4 + /// + [Display(Name = "Reverse4"), Description("预留字段4"), MaxLength(1000, ErrorMessage = "预留字段4 不能超过 1000 个字符")] + public string Reverse4 { get; set; } + + /// + /// 预留字段5 + /// + [Display(Name = "Reverse5"), Description("预留字段5"), MaxLength(1000, ErrorMessage = "预留字段5 不能超过 1000 个字符")] + public string Reverse5 { get; set; } + + /// + /// 预留字段6 + /// + [Display(Name = "Reverse6"), Description("预留字段6"), MaxLength(1000, ErrorMessage = "预留字段6 不能超过 1000 个字符")] + public string Reverse6 { get; set; } + + /// + /// 预留字段7 + /// + [Display(Name = "Reverse7"), Description("预留字段7"), MaxLength(1000, ErrorMessage = "预留字段7 不能超过 1000 个字符")] + public string Reverse7 { get; set; } + + /// + /// 预留字段8 + /// + [Display(Name = "Reverse8"), Description("预留字段8"), MaxLength(1000, ErrorMessage = "预留字段8 不能超过 1000 个字符")] + public string Reverse8 { get; set; } + + /// + /// 预留字段9 + /// + [Display(Name = "Reverse9"), Description("预留字段9"), MaxLength(1000, ErrorMessage = "预留字段9 不能超过 1000 个字符")] + public string Reverse9 { get; set; } + + /// + /// 预留字段10 + /// + [Display(Name = "Reverse10"), Description("预留字段10"), MaxLength(1000, ErrorMessage = "预留字段10 不能超过 1000 个字符")] + public string Reverse10 { get; set; } + + /// + /// 预留字段11 + /// + public int? ReverseI1 { get; set; } + + /// + /// 预留字段12 + /// + public int? ReverseI2 { get; set; } +} diff --git a/Tiobon.Core.Model/View/Ghrh/Ghrh_ConfigGroup.Dto.View.cs b/Tiobon.Core.Model/View/Ghrh/Ghrh_ConfigGroup.Dto.View.cs new file mode 100644 index 00000000..945aaf9c --- /dev/null +++ b/Tiobon.Core.Model/View/Ghrh/Ghrh_ConfigGroup.Dto.View.cs @@ -0,0 +1,36 @@ +/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。 +* Ghrh_ConfigGroup.cs +* +*功 能: N / A +* 类 名: Ghrh_ConfigGroup +* +* Ver 变更日期 负责人 变更内容 +* ─────────────────────────────────── +*V0.01 2025/1/17 13:02:40 SimonHsiao 初版 +* +* Copyright(c) 2025 Tiobon Corporation. All Rights Reserved. +*┌──────────────────────────────────┐ +*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ +*│ 作者:SimonHsiao │ +*└──────────────────────────────────┘ +*/ + +namespace Tiobon.Core.Model.Models; + +/// +/// 招聘参数配置组(Dto.View1) +/// +public class Ghrh_ConfigGroupDto : Ghrh_ConfigGroup +{ + /// + /// 创建信息 + /// + public string CreateDataInfo { get; set; } + + /// + /// 修改信息 + /// + public string UpdateDataInfo { get; set; } + + public List Configs { get; set; } +} diff --git a/Tiobon.Core.Services/Ghre/Ghre_ConfigGroupServices.cs b/Tiobon.Core.Services/Ghre/Ghre_ConfigGroupServices.cs index 96fae65b..501be83f 100644 --- a/Tiobon.Core.Services/Ghre/Ghre_ConfigGroupServices.cs +++ b/Tiobon.Core.Services/Ghre/Ghre_ConfigGroupServices.cs @@ -15,9 +15,9 @@ public class Ghre_ConfigGroupServices : BaseServices> QueryFilterPage(QueryBody filter, string condition, bool? IsEnable = true) { + filter.orderBy = "SortNo ASC"; var result = await base.QueryFilterPage(filter, condition, IsEnable); - - + return result; } } \ No newline at end of file diff --git a/Tiobon.Core.Services/Ghrh/Ghrh_ConfigGroupServices.cs b/Tiobon.Core.Services/Ghrh/Ghrh_ConfigGroupServices.cs new file mode 100644 index 00000000..9061af0d --- /dev/null +++ b/Tiobon.Core.Services/Ghrh/Ghrh_ConfigGroupServices.cs @@ -0,0 +1,29 @@ +namespace Tiobon.Core.Services; + +/// +/// 招聘参数配置组 (服务) +/// +public class Ghrh_ConfigGroupServices : BaseServices, IGhrh_ConfigGroupServices +{ + private readonly IBaseRepository _dal; + public Ghrh_ConfigGroupServices(ICaching caching, IBaseRepository dal) + { + this._dal = dal; + base.BaseDal = dal; + base._caching = caching; + } + + + public override async Task> QueryFilterPage(QueryBody filter, string condition, bool? IsEnable = true) + { + filter.orderBy = "SortNo ASC"; + var result = await base.QueryFilterPage(filter, condition, IsEnable); + + var configs = await Db.Queryable().OrderBy(x => x.Sequence).ToListAsync(); + result.result.DT_TableDataT1.ForEach(x => + { + x.Configs = configs.Where(o => o.GroupId == x.Id).ToList(); + }); + return result; + } +} \ No newline at end of file diff --git a/Tiobon.Core/Tiobon.Core.Model.xml b/Tiobon.Core/Tiobon.Core.Model.xml index 1e29a82b..6b92ef4a 100644 --- a/Tiobon.Core/Tiobon.Core.Model.xml +++ b/Tiobon.Core/Tiobon.Core.Model.xml @@ -2570,6 +2570,91 @@ 预留字段12 + + + 参数配置组 (Dto.Base) + + + + + 参数名称 + + + + + 排序 + + + + + 备注 + + + + + 默认标志 + + + + + 预留字段1 + + + + + 预留字段2 + + + + + 预留字段3 + + + + + 预留字段4 + + + + + 预留字段5 + + + + + 预留字段6 + + + + + 预留字段7 + + + + + 预留字段8 + + + + + 预留字段9 + + + + + 预留字段10 + + + + + 预留字段11 + + + + + 预留字段12 + + 课程 (Dto.Base) @@ -7020,6 +7105,96 @@ 预留字段12 + + + 组别ID + + + + + 招聘参数配置组 (Dto.Base) + + + + + 参数名称 + + + + + 排序 + + + + + 备注 + + + + + 默认标志 + + + + + 预留字段1 + + + + + 预留字段2 + + + + + 预留字段3 + + + + + 预留字段4 + + + + + 预留字段5 + + + + + 预留字段6 + + + + + 预留字段7 + + + + + 预留字段8 + + + + + 预留字段9 + + + + + 预留字段10 + + + + + 预留字段11 + + + + + 预留字段12 + + 人力需求维护 (Dto.Base) @@ -12747,6 +12922,11 @@ 参数配置 (Dto.EditInput) + + + 参数配置组 (Dto.EditInput) + + 课程 (Dto.EditInput) @@ -12937,6 +13117,11 @@ 招聘参数配置 (Dto.EditInput) + + + 招聘参数配置组 (Dto.EditInput) + + 人力需求维护 (Dto.EditInput) @@ -13217,6 +13402,11 @@ 参数配置 (Dto.InsertInput) + + + 参数配置组 (Dto.InsertInput) + + 课程 (Dto.InsertInput) @@ -13407,6 +13597,11 @@ 招聘参数配置 (Dto.InsertInput) + + + 招聘参数配置组 (Dto.InsertInput) + + 人力需求维护 (Dto.InsertInput) @@ -16356,6 +16551,91 @@ 预留字段12 + + + 参数配置组 (Model) + + + + + 参数名称 + + + + + 排序 + + + + + 备注 + + + + + 默认标志 + + + + + 预留字段1 + + + + + 预留字段2 + + + + + 预留字段3 + + + + + 预留字段4 + + + + + 预留字段5 + + + + + 预留字段6 + + + + + 预留字段7 + + + + + 预留字段8 + + + + + 预留字段9 + + + + + 预留字段10 + + + + + 预留字段11 + + + + + 预留字段12 + + 课程 (Model) @@ -20946,6 +21226,96 @@ 预留字段12 + + + 组别ID + + + + + 招聘参数配置组 (Model) + + + + + 参数名称 + + + + + 排序 + + + + + 备注 + + + + + 默认标志 + + + + + 预留字段1 + + + + + 预留字段2 + + + + + 预留字段3 + + + + + 预留字段4 + + + + + 预留字段5 + + + + + 预留字段6 + + + + + 预留字段7 + + + + + 预留字段8 + + + + + 预留字段9 + + + + + 预留字段10 + + + + + 预留字段11 + + + + + 预留字段12 + + 人力需求维护 (Model) @@ -27657,6 +28027,21 @@ 修改信息 + + + 参数配置组(Dto.View1) + + + + + 创建信息 + + + + + 修改信息 + + 课程(Dto.View) @@ -28322,6 +28707,21 @@ 修改信息 + + + 招聘参数配置组(Dto.View1) + + + + + 创建信息 + + + + + 修改信息 + + 人力需求维护(Dto.View1) diff --git a/Tiobon.Core/Tiobon.Core.xml b/Tiobon.Core/Tiobon.Core.xml index 3f2090d8..e7c55336 100644 --- a/Tiobon.Core/Tiobon.Core.xml +++ b/Tiobon.Core/Tiobon.Core.xml @@ -765,6 +765,11 @@ + + + 参数配置组(Controller) + + Ghre_CourseClass(Controller) @@ -1280,6 +1285,11 @@ + + + 招聘参数配置组(Controller) + + 人力需求维护(Controller)