diff --git a/Tiobon.Core.Api/Controllers/Ghra/Ghra_StaffController.cs b/Tiobon.Core.Api/Controllers/Ghra/Ghra_StaffController.cs index d7ccdde3..724611f7 100644 --- a/Tiobon.Core.Api/Controllers/Ghra/Ghra_StaffController.cs +++ b/Tiobon.Core.Api/Controllers/Ghra/Ghra_StaffController.cs @@ -11,4 +11,19 @@ public class Ghra_StaffController : BaseController + /// 根据Id查询数据 + /// + /// + /// + [HttpPost("QuerySimple/{Id}")] + public async Task> QuerySimple(int Id) + { + return await _service.QuerySimple(Id); + } + #endregion + } \ No newline at end of file diff --git a/Tiobon.Core.Api/Controllers/Ghra/Ghra_StaffLicenceController.cs b/Tiobon.Core.Api/Controllers/Ghra/Ghra_StaffLicenceController.cs new file mode 100644 index 00000000..be0d9c48 --- /dev/null +++ b/Tiobon.Core.Api/Controllers/Ghra/Ghra_StaffLicenceController.cs @@ -0,0 +1,14 @@ +namespace Tiobon.Core.Api.Controllers; + +/// +/// Ghra_StaffLicence(Controller) +/// +[Route("api/[controller]")] +[ApiController, GlobalActionFilter] +[Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghra)] +public class Ghra_StaffLicenceController : BaseController +{ + public Ghra_StaffLicenceController(IGhra_StaffLicenceServices 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 4887155d..e09c705d 100644 --- a/Tiobon.Core.Api/Tiobon.Core.Model.xml +++ b/Tiobon.Core.Api/Tiobon.Core.Model.xml @@ -754,6 +754,116 @@ IsSalaryPay + + + Ghra_StaffLicence (Dto.Base) + + + + + 证件ID + + + + + 员工ID + + + + + BeginDate + + + + + EndDate + + + + + LicenceTypeID + + + + + LicenceName + + + + + LicenceLevel + + + + + LicenceNo + + + + + LicenceUnit + + + + + LicenceInitialDate + + + + + LicenceReviewDate + + + + + LicencePayType + + + + + RemarkSz + + + + + SortNo + + + + + IsDefault + + + + + AttachmentIDs + + + + + Reverse1 + + + + + Reverse2 + + + + + Reverse3 + + + + + Reverse4 + + + + + Reverse5 + + 附件 (Dto.Base) @@ -3902,6 +4012,11 @@ Ghra_Staff (Dto.EditInput) + + + Ghra_StaffLicence (Dto.EditInput) + + 附件 (Dto.EditInput) @@ -4042,6 +4157,11 @@ Ghra_Staff (Dto.InsertInput) + + + Ghra_StaffLicence (Dto.InsertInput) + + 附件 (Dto.InsertInput) @@ -5093,6 +5213,116 @@ IsSalaryPay + + + Ghra_StaffLicence (Model) + + + + + 证件ID + + + + + 员工ID + + + + + BeginDate + + + + + EndDate + + + + + LicenceTypeID + + + + + LicenceName + + + + + LicenceLevel + + + + + LicenceNo + + + + + LicenceUnit + + + + + LicenceInitialDate + + + + + LicenceReviewDate + + + + + LicencePayType + + + + + RemarkSz + + + + + SortNo + + + + + IsDefault + + + + + AttachmentIDs + + + + + Reverse1 + + + + + Reverse2 + + + + + Reverse3 + + + + + Reverse4 + + + + + Reverse5 + + 附件 (Model) @@ -9067,6 +9297,21 @@ 修改信息 + + + Ghra_StaffLicence(Dto.View) + + + + + 创建信息 + + + + + 修改信息 + + 附件(Dto.View) diff --git a/Tiobon.Core.Api/Tiobon.Core.xml b/Tiobon.Core.Api/Tiobon.Core.xml index 86c34b5a..76f62587 100644 --- a/Tiobon.Core.Api/Tiobon.Core.xml +++ b/Tiobon.Core.Api/Tiobon.Core.xml @@ -565,6 +565,18 @@ Ghra_Staff(Controller) + + + 根据Id查询数据 + + + + + + + Ghra_StaffLicence(Controller) + + 附件(Controller) diff --git a/Tiobon.Core.IServices/Ghra/IGhra_StaffLicenceServices.cs b/Tiobon.Core.IServices/Ghra/IGhra_StaffLicenceServices.cs new file mode 100644 index 00000000..cf48599c --- /dev/null +++ b/Tiobon.Core.IServices/Ghra/IGhra_StaffLicenceServices.cs @@ -0,0 +1,12 @@ +using Tiobon.Core.IServices.BASE; +using Tiobon.Core.Model.Models; + +namespace Tiobon.Core.IServices +{ + /// + /// Ghra_StaffLicence(自定义服务接口) + /// + public interface IGhra_StaffLicenceServices :IBaseServices + { + } +} \ No newline at end of file diff --git a/Tiobon.Core.IServices/Ghra/IGhra_StaffServices.cs b/Tiobon.Core.IServices/Ghra/IGhra_StaffServices.cs index 108d2bda..a3b36e34 100644 --- a/Tiobon.Core.IServices/Ghra/IGhra_StaffServices.cs +++ b/Tiobon.Core.IServices/Ghra/IGhra_StaffServices.cs @@ -1,4 +1,5 @@ using Tiobon.Core.IServices.BASE; +using Tiobon.Core.Model; using Tiobon.Core.Model.Models; namespace Tiobon.Core.IServices @@ -8,5 +9,6 @@ namespace Tiobon.Core.IServices /// public interface IGhra_StaffServices :IBaseServices { + Task> QuerySimple(int id); } } \ No newline at end of file diff --git a/Tiobon.Core.Model/Base/Ghra/Ghra_StaffLicence.Dto.Base.cs b/Tiobon.Core.Model/Base/Ghra/Ghra_StaffLicence.Dto.Base.cs new file mode 100644 index 00000000..8eaaccf8 --- /dev/null +++ b/Tiobon.Core.Model/Base/Ghra/Ghra_StaffLicence.Dto.Base.cs @@ -0,0 +1,146 @@ +/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。 +* Ghra_StaffLicence.cs +* +*功 能: N / A +* 类 名: Ghra_StaffLicence +* +* Ver 变更日期 负责人 变更内容 +* ─────────────────────────────────── +*V0.01 2024/6/27 17:09:11 SimonHsiao 初版 +* +* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved. +*┌──────────────────────────────────┐ +*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ +*│ 作者:SimonHsiao │ +*└──────────────────────────────────┘ +*/ +using System.ComponentModel; +using System.ComponentModel.DataAnnotations; + +namespace Tiobon.Core.Model.Models +{ + + /// + /// Ghra_StaffLicence (Dto.Base) + /// + public class Ghra_StaffLicenceBase + { + + /// + /// 证件ID + /// + public int? StaffLicenceID { get; set; } + + /// + /// 员工ID + /// + public int? StaffID { get; set; } + + /// + /// BeginDate + /// + public DateTime? BeginDate { get; set; } + + /// + /// EndDate + /// + public DateTime? EndDate { get; set; } + + /// + /// LicenceTypeID + /// + public int? LicenceTypeID { get; set; } + + /// + /// LicenceName + /// + [Display(Name = "LicenceName"), Description("LicenceName"), MaxLength(200, ErrorMessage = "LicenceName 不能超过 200 个字符")] + public string LicenceName { get; set; } + + /// + /// LicenceLevel + /// + [Display(Name = "LicenceLevel"), Description("LicenceLevel"), MaxLength(200, ErrorMessage = "LicenceLevel 不能超过 200 个字符")] + public string LicenceLevel { get; set; } + + /// + /// LicenceNo + /// + [Display(Name = "LicenceNo"), Description("LicenceNo"), MaxLength(200, ErrorMessage = "LicenceNo 不能超过 200 个字符")] + public string LicenceNo { get; set; } + + /// + /// LicenceUnit + /// + [Display(Name = "LicenceUnit"), Description("LicenceUnit"), MaxLength(200, ErrorMessage = "LicenceUnit 不能超过 200 个字符")] + public string LicenceUnit { get; set; } + + /// + /// LicenceInitialDate + /// + public DateTime? LicenceInitialDate { get; set; } + + /// + /// LicenceReviewDate + /// + public DateTime? LicenceReviewDate { get; set; } + + /// + /// LicencePayType + /// + [Display(Name = "LicencePayType"), Description("LicencePayType"), MaxLength(100, ErrorMessage = "LicencePayType 不能超过 100 个字符")] + public string LicencePayType { 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; } + + /// + /// AttachmentIDs + /// + [Display(Name = "AttachmentIDs"), Description("AttachmentIDs"), MaxLength(-1, ErrorMessage = "AttachmentIDs 不能超过 -1 个字符")] + public string AttachmentIDs { get; set; } + + /// + /// Reverse1 + /// + [Display(Name = "Reverse1"), Description("Reverse1"), MaxLength(1000, ErrorMessage = "Reverse1 不能超过 1000 个字符")] + public string Reverse1 { get; set; } + + /// + /// Reverse2 + /// + [Display(Name = "Reverse2"), Description("Reverse2"), MaxLength(1000, ErrorMessage = "Reverse2 不能超过 1000 个字符")] + public string Reverse2 { get; set; } + + /// + /// Reverse3 + /// + [Display(Name = "Reverse3"), Description("Reverse3"), MaxLength(1000, ErrorMessage = "Reverse3 不能超过 1000 个字符")] + public string Reverse3 { get; set; } + + /// + /// Reverse4 + /// + [Display(Name = "Reverse4"), Description("Reverse4"), MaxLength(1000, ErrorMessage = "Reverse4 不能超过 1000 个字符")] + public string Reverse4 { get; set; } + + /// + /// Reverse5 + /// + [Display(Name = "Reverse5"), Description("Reverse5"), MaxLength(1000, ErrorMessage = "Reverse5 不能超过 1000 个字符")] + public string Reverse5 { get; set; } + } +} diff --git a/Tiobon.Core.Model/Edit/Ghra/Ghra_StaffLicence.Dto.EditInput.cs b/Tiobon.Core.Model/Edit/Ghra/Ghra_StaffLicence.Dto.EditInput.cs new file mode 100644 index 00000000..328cebe7 --- /dev/null +++ b/Tiobon.Core.Model/Edit/Ghra/Ghra_StaffLicence.Dto.EditInput.cs @@ -0,0 +1,27 @@ +/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。 +* Ghra_StaffLicence.cs +* +*功 能: N / A +* 类 名: Ghra_StaffLicence +* +* Ver 变更日期 负责人 变更内容 +* ─────────────────────────────────── +*V0.01 2024/6/27 17:09:11 SimonHsiao 初版 +* +* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved. +*┌──────────────────────────────────┐ +*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ +*│ 作者:SimonHsiao │ +*└──────────────────────────────────┘ +*/ + +namespace Tiobon.Core.Model.Models +{ + + /// + /// Ghra_StaffLicence (Dto.EditInput) + /// + public class EditGhra_StaffLicenceInput : Ghra_StaffLicenceBase + { + } +} diff --git a/Tiobon.Core.Model/Insert/Ghra/Ghra_StaffLicence.Dto.InsertInput.cs b/Tiobon.Core.Model/Insert/Ghra/Ghra_StaffLicence.Dto.InsertInput.cs new file mode 100644 index 00000000..d9268f26 --- /dev/null +++ b/Tiobon.Core.Model/Insert/Ghra/Ghra_StaffLicence.Dto.InsertInput.cs @@ -0,0 +1,27 @@ +/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。 +* Ghra_StaffLicence.cs +* +*功 能: N / A +* 类 名: Ghra_StaffLicence +* +* Ver 变更日期 负责人 变更内容 +* ─────────────────────────────────── +*V0.01 2024/6/27 17:09:11 SimonHsiao 初版 +* +* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved. +*┌──────────────────────────────────┐ +*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ +*│ 作者:SimonHsiao │ +*└──────────────────────────────────┘ +*/ + +namespace Tiobon.Core.Model.Models +{ + + /// + /// Ghra_StaffLicence (Dto.InsertInput) + /// + public class InsertGhra_StaffLicenceInput : Ghra_StaffLicenceBase + { + } +} diff --git a/Tiobon.Core.Model/Models/Ghra/Ghra_StaffLicence.cs b/Tiobon.Core.Model/Models/Ghra/Ghra_StaffLicence.cs new file mode 100644 index 00000000..098b81eb --- /dev/null +++ b/Tiobon.Core.Model/Models/Ghra/Ghra_StaffLicence.cs @@ -0,0 +1,148 @@ +/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。 +* Ghra_StaffLicence.cs +* +*功 能: N / A +* 类 名: Ghra_StaffLicence +* +* Ver 变更日期 负责人 变更内容 +* ─────────────────────────────────── +*V0.01 2024/6/27 17:09:11 SimonHsiao 初版 +* +* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved. +*┌──────────────────────────────────┐ +*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ +*│ 作者:SimonHsiao │ +*└──────────────────────────────────┘ +*/ +using System.ComponentModel; +using System.ComponentModel.DataAnnotations; +using SqlSugar; + +namespace Tiobon.Core.Model.Models +{ + + /// + /// Ghra_StaffLicence (Model) + /// + [SugarTable("Ghra_StaffLicence", "Ghra_StaffLicence"), Entity(TableCnName = "Ghra_StaffLicence", TableName = "Ghra_StaffLicence")] + public class Ghra_StaffLicence : BasePoco + { + + /// + /// 证件ID + /// + public int? StaffLicenceID { get; set; } + + /// + /// 员工ID + /// + public int? StaffID { get; set; } + + /// + /// BeginDate + /// + public DateTime? BeginDate { get; set; } + + /// + /// EndDate + /// + public DateTime? EndDate { get; set; } + + /// + /// LicenceTypeID + /// + public int? LicenceTypeID { get; set; } + + /// + /// LicenceName + /// + [Display(Name = "LicenceName"), Description("LicenceName"), MaxLength(200, ErrorMessage = "LicenceName 不能超过 200 个字符")] + public string LicenceName { get; set; } + + /// + /// LicenceLevel + /// + [Display(Name = "LicenceLevel"), Description("LicenceLevel"), MaxLength(200, ErrorMessage = "LicenceLevel 不能超过 200 个字符")] + public string LicenceLevel { get; set; } + + /// + /// LicenceNo + /// + [Display(Name = "LicenceNo"), Description("LicenceNo"), MaxLength(200, ErrorMessage = "LicenceNo 不能超过 200 个字符")] + public string LicenceNo { get; set; } + + /// + /// LicenceUnit + /// + [Display(Name = "LicenceUnit"), Description("LicenceUnit"), MaxLength(200, ErrorMessage = "LicenceUnit 不能超过 200 个字符")] + public string LicenceUnit { get; set; } + + /// + /// LicenceInitialDate + /// + public DateTime? LicenceInitialDate { get; set; } + + /// + /// LicenceReviewDate + /// + public DateTime? LicenceReviewDate { get; set; } + + /// + /// LicencePayType + /// + [Display(Name = "LicencePayType"), Description("LicencePayType"), MaxLength(100, ErrorMessage = "LicencePayType 不能超过 100 个字符")] + public string LicencePayType { 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; } + + /// + /// AttachmentIDs + /// + [Display(Name = "AttachmentIDs"), Description("AttachmentIDs"), MaxLength(-1, ErrorMessage = "AttachmentIDs 不能超过 -1 个字符")] + public string AttachmentIDs { get; set; } + + /// + /// Reverse1 + /// + [Display(Name = "Reverse1"), Description("Reverse1"), MaxLength(1000, ErrorMessage = "Reverse1 不能超过 1000 个字符")] + public string Reverse1 { get; set; } + + /// + /// Reverse2 + /// + [Display(Name = "Reverse2"), Description("Reverse2"), MaxLength(1000, ErrorMessage = "Reverse2 不能超过 1000 个字符")] + public string Reverse2 { get; set; } + + /// + /// Reverse3 + /// + [Display(Name = "Reverse3"), Description("Reverse3"), MaxLength(1000, ErrorMessage = "Reverse3 不能超过 1000 个字符")] + public string Reverse3 { get; set; } + + /// + /// Reverse4 + /// + [Display(Name = "Reverse4"), Description("Reverse4"), MaxLength(1000, ErrorMessage = "Reverse4 不能超过 1000 个字符")] + public string Reverse4 { get; set; } + + /// + /// Reverse5 + /// + [Display(Name = "Reverse5"), Description("Reverse5"), MaxLength(1000, ErrorMessage = "Reverse5 不能超过 1000 个字符")] + public string Reverse5 { get; set; } + } +} diff --git a/Tiobon.Core.Model/View/Ghra/Ghra_Staff.Dto.View.cs b/Tiobon.Core.Model/View/Ghra/Ghra_Staff.Dto.View.cs index 33b64f71..f5e6729b 100644 --- a/Tiobon.Core.Model/View/Ghra/Ghra_Staff.Dto.View.cs +++ b/Tiobon.Core.Model/View/Ghra/Ghra_Staff.Dto.View.cs @@ -13,7 +13,7 @@ *│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ *│ 作者:SimonHsiao │ *└──────────────────────────────────┘ -*/ +*/ namespace Tiobon.Core.Model.Models; @@ -22,13 +22,16 @@ namespace Tiobon.Core.Model.Models; /// public class Ghra_StaffDto : Ghra_Staff { -/// -/// 创建信息 -/// -public string CreateDataInfo { get; set; } + /// + /// 创建信息 + /// + public string CreateDataInfo { get; set; } -/// -/// 修改信息 -/// -public string UpdateDataInfo { get; set; } + /// + /// 修改信息 + /// + public string UpdateDataInfo { get; set; } + + + public List Licences { get; set; } } diff --git a/Tiobon.Core.Model/View/Ghra/Ghra_StaffLicence.Dto.View.cs b/Tiobon.Core.Model/View/Ghra/Ghra_StaffLicence.Dto.View.cs new file mode 100644 index 00000000..1298c27a --- /dev/null +++ b/Tiobon.Core.Model/View/Ghra/Ghra_StaffLicence.Dto.View.cs @@ -0,0 +1,36 @@ +/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。 +* Ghra_StaffLicence.cs +* +*功 能: N / A +* 类 名: Ghra_StaffLicence +* +* Ver 变更日期 负责人 变更内容 +* ─────────────────────────────────── +*V0.01 2024/6/27 17:09:11 SimonHsiao 初版 +* +* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved. +*┌──────────────────────────────────┐ +*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ +*│ 作者:SimonHsiao │ +*└──────────────────────────────────┘ +*/ + +namespace Tiobon.Core.Model.Models; + +/// +/// Ghra_StaffLicence(Dto.View) +/// +public class Ghra_StaffLicenceDto : Ghra_StaffLicence +{ + /// + /// 创建信息 + /// + public string CreateDataInfo { get; set; } + + /// + /// 修改信息 + /// + public string UpdateDataInfo { get; set; } + public List Attachments { get; set; } + +} diff --git a/Tiobon.Core.Services/Ghra/Ghra_StaffLicenceServices.cs b/Tiobon.Core.Services/Ghra/Ghra_StaffLicenceServices.cs new file mode 100644 index 00000000..0b8648d0 --- /dev/null +++ b/Tiobon.Core.Services/Ghra/Ghra_StaffLicenceServices.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 +{ + /// + /// Ghra_StaffLicence (服务) + /// + public class Ghra_StaffLicenceServices : BaseServices, IGhra_StaffLicenceServices + { + private readonly IBaseRepository _dal; + public Ghra_StaffLicenceServices(ICaching caching, IBaseRepository dal) + { + this._dal = dal; + base.BaseDal = dal; + base._caching = caching; + } + } +} \ No newline at end of file diff --git a/Tiobon.Core.Services/Ghra/Ghra_StaffServices.cs b/Tiobon.Core.Services/Ghra/Ghra_StaffServices.cs index 7bcdce5b..d237f36f 100644 --- a/Tiobon.Core.Services/Ghra/Ghra_StaffServices.cs +++ b/Tiobon.Core.Services/Ghra/Ghra_StaffServices.cs @@ -4,20 +4,45 @@ using Tiobon.Core.Model.Models; using Tiobon.Core.Services.BASE; using Tiobon.Core.IRepository.Base; using Tiobon.Core.Common.Caches; +using Tiobon.Core.Common; +using Tiobon.Core.Model; +using Tiobon.Core.Common.Helper; -namespace Tiobon.Core.Services +namespace Tiobon.Core.Services; + +/// +/// Ghra_Staff (服务) +/// +public class Ghra_StaffServices : BaseServices, IGhra_StaffServices { - /// - /// Ghra_Staff (服务) - /// - public class Ghra_StaffServices : BaseServices, IGhra_StaffServices + private readonly IBaseRepository _dal; + private IGhra_StaffLicenceServices _ghra_StaffLicenceServices; + public Ghra_StaffServices(ICaching caching, + IGhra_StaffLicenceServices ghra_StaffLicenceServices, + IBaseRepository dal) + { + this._dal = dal; + base.BaseDal = dal; + base._caching = caching; + _ghra_StaffLicenceServices = ghra_StaffLicenceServices; + } + public async Task> QuerySimple(int id) { - private readonly IBaseRepository _dal; - public Ghra_StaffServices(ICaching caching, IBaseRepository dal) + var entity = await Db.Ado.SqlQuerySingleAsync($"SELECT * FROM Ghra_Staff WHERE StaffID='{id}' "); + + + if (entity != null) { - this._dal = dal; - base.BaseDal = dal; - base._caching = caching; + var licences = await Db.Ado.SqlQueryAsync($"SELECT * FROM Ghra_StaffLicence WHERE StaffID='{id}' "); + //var licences = await _ghra_StaffLicenceServices.QueryDto(x => x.StaffID == id); + + licences.ForEach(x => + { + if (!string.IsNullOrWhiteSpace(x.AttachmentIDs)) + x.Attachments = JsonHelper.JsonToObj>(x.AttachmentIDs); + }); + entity.Licences = licences; } + return ServiceResult.OprateSuccess("查询成功!", entity); } } \ No newline at end of file diff --git a/Tiobon.Core/Tiobon.Core.Model.xml b/Tiobon.Core/Tiobon.Core.Model.xml index 4887155d..e09c705d 100644 --- a/Tiobon.Core/Tiobon.Core.Model.xml +++ b/Tiobon.Core/Tiobon.Core.Model.xml @@ -754,6 +754,116 @@ IsSalaryPay + + + Ghra_StaffLicence (Dto.Base) + + + + + 证件ID + + + + + 员工ID + + + + + BeginDate + + + + + EndDate + + + + + LicenceTypeID + + + + + LicenceName + + + + + LicenceLevel + + + + + LicenceNo + + + + + LicenceUnit + + + + + LicenceInitialDate + + + + + LicenceReviewDate + + + + + LicencePayType + + + + + RemarkSz + + + + + SortNo + + + + + IsDefault + + + + + AttachmentIDs + + + + + Reverse1 + + + + + Reverse2 + + + + + Reverse3 + + + + + Reverse4 + + + + + Reverse5 + + 附件 (Dto.Base) @@ -3902,6 +4012,11 @@ Ghra_Staff (Dto.EditInput) + + + Ghra_StaffLicence (Dto.EditInput) + + 附件 (Dto.EditInput) @@ -4042,6 +4157,11 @@ Ghra_Staff (Dto.InsertInput) + + + Ghra_StaffLicence (Dto.InsertInput) + + 附件 (Dto.InsertInput) @@ -5093,6 +5213,116 @@ IsSalaryPay + + + Ghra_StaffLicence (Model) + + + + + 证件ID + + + + + 员工ID + + + + + BeginDate + + + + + EndDate + + + + + LicenceTypeID + + + + + LicenceName + + + + + LicenceLevel + + + + + LicenceNo + + + + + LicenceUnit + + + + + LicenceInitialDate + + + + + LicenceReviewDate + + + + + LicencePayType + + + + + RemarkSz + + + + + SortNo + + + + + IsDefault + + + + + AttachmentIDs + + + + + Reverse1 + + + + + Reverse2 + + + + + Reverse3 + + + + + Reverse4 + + + + + Reverse5 + + 附件 (Model) @@ -9067,6 +9297,21 @@ 修改信息 + + + Ghra_StaffLicence(Dto.View) + + + + + 创建信息 + + + + + 修改信息 + + 附件(Dto.View) diff --git a/Tiobon.Core/Tiobon.Core.xml b/Tiobon.Core/Tiobon.Core.xml index 86c34b5a..76f62587 100644 --- a/Tiobon.Core/Tiobon.Core.xml +++ b/Tiobon.Core/Tiobon.Core.xml @@ -565,6 +565,18 @@ Ghra_Staff(Controller) + + + 根据Id查询数据 + + + + + + + Ghra_StaffLicence(Controller) + + 附件(Controller)