From 498db4bbdfd2980d52d88fbe3ce6bdf827a93b03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A4=E5=85=B0?= Date: Wed, 23 Apr 2025 15:00:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=80=83=E6=A0=B8=E6=8C=87?= =?UTF-8?q?=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Ghrp/Ghrp_PerformanceItemController.cs | 14 ++ .../Ghrp/IGhrp_PerformanceItemServices.cs | 12 + .../Ghrp/Ghrp_PerformanceItem.Dto.Base.cs | 208 +++++++++++++++++ .../Ghrp_PerformanceItem.Dto.EditInput.cs | 27 +++ .../Ghrp_PerformanceItem.Dto.InsertInput.cs | 27 +++ .../Models/Ghrp/Ghrp_PerformanceItem.cs | 210 ++++++++++++++++++ .../Ghrp/Ghrp_PerformanceItem.Dto.View.cs | 56 +++++ .../Ghrp/Ghrp_PerformanceItemServices.cs | 42 ++++ 8 files changed, 596 insertions(+) create mode 100644 Tiobon.Core.Api/Controllers/Ghrp/Ghrp_PerformanceItemController.cs create mode 100644 Tiobon.Core.IServices/Ghrp/IGhrp_PerformanceItemServices.cs create mode 100644 Tiobon.Core.Model/Base/Ghrp/Ghrp_PerformanceItem.Dto.Base.cs create mode 100644 Tiobon.Core.Model/Edit/Ghrp/Ghrp_PerformanceItem.Dto.EditInput.cs create mode 100644 Tiobon.Core.Model/Insert/Ghrp/Ghrp_PerformanceItem.Dto.InsertInput.cs create mode 100644 Tiobon.Core.Model/Models/Ghrp/Ghrp_PerformanceItem.cs create mode 100644 Tiobon.Core.Model/View/Ghrp/Ghrp_PerformanceItem.Dto.View.cs create mode 100644 Tiobon.Core.Services/Ghrp/Ghrp_PerformanceItemServices.cs diff --git a/Tiobon.Core.Api/Controllers/Ghrp/Ghrp_PerformanceItemController.cs b/Tiobon.Core.Api/Controllers/Ghrp/Ghrp_PerformanceItemController.cs new file mode 100644 index 00000000..c49747aa --- /dev/null +++ b/Tiobon.Core.Api/Controllers/Ghrp/Ghrp_PerformanceItemController.cs @@ -0,0 +1,14 @@ +namespace Tiobon.Core.Api.Controllers; + +/// +/// 考核指标(Controller) +/// +[Route("api/[controller]")] +[ApiController, GlobalActionFilter] +[Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghrp)] +public class Ghrp_PerformanceItemController : BaseController +{ + public Ghrp_PerformanceItemController(IGhrp_PerformanceItemServices service) : base(service) + { + } +} \ No newline at end of file diff --git a/Tiobon.Core.IServices/Ghrp/IGhrp_PerformanceItemServices.cs b/Tiobon.Core.IServices/Ghrp/IGhrp_PerformanceItemServices.cs new file mode 100644 index 00000000..43e8de4a --- /dev/null +++ b/Tiobon.Core.IServices/Ghrp/IGhrp_PerformanceItemServices.cs @@ -0,0 +1,12 @@ +using Tiobon.Core.IServices.BASE; +using Tiobon.Core.Model.Models; + +namespace Tiobon.Core.IServices +{ + /// + /// 考核指标(自定义服务接口) + /// + public interface IGhrp_PerformanceItemServices :IBaseServices + { + } +} \ No newline at end of file diff --git a/Tiobon.Core.Model/Base/Ghrp/Ghrp_PerformanceItem.Dto.Base.cs b/Tiobon.Core.Model/Base/Ghrp/Ghrp_PerformanceItem.Dto.Base.cs new file mode 100644 index 00000000..edb945ee --- /dev/null +++ b/Tiobon.Core.Model/Base/Ghrp/Ghrp_PerformanceItem.Dto.Base.cs @@ -0,0 +1,208 @@ +/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。 +* Ghrp_PerformanceItem.cs +* +*功 能: N / A +* 类 名: Ghrp_PerformanceItem +* +* Ver 变更日期 负责人 变更内容 +* ─────────────────────────────────── +*V0.01 2025/4/23 14:05:59 SimonHsiao 初版 +* +* Copyright(c) 2025 Tiobon Corporation. All Rights Reserved. +*┌──────────────────────────────────┐ +*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ +*│ 作者:SimonHsiao │ +*└──────────────────────────────────┘ +*/ +using System.ComponentModel; +using System.ComponentModel.DataAnnotations; + +namespace Tiobon.Core.Model.Models +{ + + /// + /// 考核指标 (Dto.Base) + /// + public class Ghrp_PerformanceItemBase + { + + /// + /// 指标编号 + /// + [Display(Name = "ItemNo"), Description("指标编号"), MaxLength(500, ErrorMessage = "指标编号 不能超过 500 个字符")] + public string ItemNo { get; set; } + + /// + /// 指标内容 + /// + [Display(Name = "ItemName"), Description("指标内容"), MaxLength(-1, ErrorMessage = "指标内容 不能超过 -1 个字符")] + public string ItemName { get; set; } + + /// + /// 指标说明 + /// + [Display(Name = "ItemCaption"), Description("指标说明"), MaxLength(-1, ErrorMessage = "指标说明 不能超过 -1 个字符")] + public string ItemCaption { get; set; } + + /// + /// 目标达成说明 + /// + [Display(Name = "TargetCaption"), Description("目标达成说明"), MaxLength(-1, ErrorMessage = "目标达成说明 不能超过 -1 个字符")] + public string TargetCaption { get; set; } + + /// + /// 一级指标分类 + /// + [Display(Name = "ItemType1"), Description("一级指标分类"), MaxLength(255, ErrorMessage = "一级指标分类 不能超过 255 个字符")] + public string ItemType1 { get; set; } + + /// + /// 二级指标分类 + /// + [Display(Name = "ItemType2"), Description("二级指标分类"), MaxLength(255, ErrorMessage = "二级指标分类 不能超过 255 个字符")] + public string ItemType2 { get; set; } + + /// + /// 三级指标分类 + /// + [Display(Name = "ItemType3"), Description("三级指标分类"), MaxLength(255, ErrorMessage = "三级指标分类 不能超过 255 个字符")] + public string ItemType3 { get; set; } + + /// + /// 默认权重(%) + /// + [Display(Name = "ItemWeight"), Description("默认权重(%)"), Column(TypeName = "decimal(18,2)")] + public decimal? ItemWeight { get; set; } + + /// + /// 指标性质 + /// + [Display(Name = "ItemKind"), Description("指标性质"), MaxLength(255, ErrorMessage = "指标性质 不能超过 255 个字符")] + public string ItemKind { get; set; } + + /// + /// 评估部门分类 + /// + [Display(Name = "DeptType"), Description("评估部门分类"), MaxLength(255, ErrorMessage = "评估部门分类 不能超过 255 个字符")] + public string DeptType { get; set; } + + /// + /// 标签1 + /// + [Display(Name = "Tag1"), Description("标签1"), MaxLength(255, ErrorMessage = "标签1 不能超过 255 个字符")] + public string Tag1 { get; set; } + + /// + /// 标签2 + /// + [Display(Name = "Tag2"), Description("标签2"), MaxLength(255, ErrorMessage = "标签2 不能超过 255 个字符")] + public string Tag2 { get; set; } + + /// + /// 标签3 + /// + [Display(Name = "Tag3"), Description("标签3"), MaxLength(255, ErrorMessage = "标签3 不能超过 255 个字符")] + public string Tag3 { get; set; } + + /// + /// 有效开始日 + /// + public DateTime? BeginDate { get; set; } + + /// + /// 有效结束日 + /// + public DateTime? EndDate { get; set; } + + /// + /// 备注 + /// + [Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")] + public string RemarkSz { get; set; } + + /// + /// 排序 + /// + public int? SortNo { 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; } + + /// + /// 内置 + /// + public int? BuiltIn { get; set; } + } +} diff --git a/Tiobon.Core.Model/Edit/Ghrp/Ghrp_PerformanceItem.Dto.EditInput.cs b/Tiobon.Core.Model/Edit/Ghrp/Ghrp_PerformanceItem.Dto.EditInput.cs new file mode 100644 index 00000000..dee4555e --- /dev/null +++ b/Tiobon.Core.Model/Edit/Ghrp/Ghrp_PerformanceItem.Dto.EditInput.cs @@ -0,0 +1,27 @@ +/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。 +* Ghrp_PerformanceItem.cs +* +*功 能: N / A +* 类 名: Ghrp_PerformanceItem +* +* Ver 变更日期 负责人 变更内容 +* ─────────────────────────────────── +*V0.01 2025/4/23 14:05:59 SimonHsiao 初版 +* +* Copyright(c) 2025 Tiobon Corporation. All Rights Reserved. +*┌──────────────────────────────────┐ +*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ +*│ 作者:SimonHsiao │ +*└──────────────────────────────────┘ +*/ + +namespace Tiobon.Core.Model.Models +{ + + /// + /// 考核指标 (Dto.EditInput) + /// + public class EditGhrp_PerformanceItemInput : Ghrp_PerformanceItemBase + { + } +} diff --git a/Tiobon.Core.Model/Insert/Ghrp/Ghrp_PerformanceItem.Dto.InsertInput.cs b/Tiobon.Core.Model/Insert/Ghrp/Ghrp_PerformanceItem.Dto.InsertInput.cs new file mode 100644 index 00000000..8c2fae6d --- /dev/null +++ b/Tiobon.Core.Model/Insert/Ghrp/Ghrp_PerformanceItem.Dto.InsertInput.cs @@ -0,0 +1,27 @@ +/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。 +* Ghrp_PerformanceItem.cs +* +*功 能: N / A +* 类 名: Ghrp_PerformanceItem +* +* Ver 变更日期 负责人 变更内容 +* ─────────────────────────────────── +*V0.01 2025/4/23 14:05:59 SimonHsiao 初版 +* +* Copyright(c) 2025 Tiobon Corporation. All Rights Reserved. +*┌──────────────────────────────────┐ +*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ +*│ 作者:SimonHsiao │ +*└──────────────────────────────────┘ +*/ + +namespace Tiobon.Core.Model.Models +{ + + /// + /// 考核指标 (Dto.InsertInput) + /// + public class InsertGhrp_PerformanceItemInput : Ghrp_PerformanceItemBase + { + } +} diff --git a/Tiobon.Core.Model/Models/Ghrp/Ghrp_PerformanceItem.cs b/Tiobon.Core.Model/Models/Ghrp/Ghrp_PerformanceItem.cs new file mode 100644 index 00000000..b14b23d6 --- /dev/null +++ b/Tiobon.Core.Model/Models/Ghrp/Ghrp_PerformanceItem.cs @@ -0,0 +1,210 @@ +/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。 +* Ghrp_PerformanceItem.cs +* +*功 能: N / A +* 类 名: Ghrp_PerformanceItem +* +* Ver 变更日期 负责人 变更内容 +* ─────────────────────────────────── +*V0.01 2025/4/23 14:05:59 SimonHsiao 初版 +* +* Copyright(c) 2025 Tiobon Corporation. All Rights Reserved. +*┌──────────────────────────────────┐ +*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ +*│ 作者:SimonHsiao │ +*└──────────────────────────────────┘ +*/ +using System.ComponentModel; +using System.ComponentModel.DataAnnotations; +using SqlSugar; + +namespace Tiobon.Core.Model.Models +{ + + /// + /// 考核指标 (Model) + /// + [SugarTable("Ghrp_PerformanceItem", "Ghrp_PerformanceItem"), Entity(TableCnName = "考核指标", TableName = "Ghrp_PerformanceItem")] + public class Ghrp_PerformanceItem : BasePoco + { + + /// + /// 指标编号 + /// + [Display(Name = "ItemNo"), Description("指标编号"), MaxLength(500, ErrorMessage = "指标编号 不能超过 500 个字符")] + public string ItemNo { get; set; } + + /// + /// 指标内容 + /// + [Display(Name = "ItemName"), Description("指标内容"), MaxLength(-1, ErrorMessage = "指标内容 不能超过 -1 个字符")] + public string ItemName { get; set; } + + /// + /// 指标说明 + /// + [Display(Name = "ItemCaption"), Description("指标说明"), MaxLength(-1, ErrorMessage = "指标说明 不能超过 -1 个字符")] + public string ItemCaption { get; set; } + + /// + /// 目标达成说明 + /// + [Display(Name = "TargetCaption"), Description("目标达成说明"), MaxLength(-1, ErrorMessage = "目标达成说明 不能超过 -1 个字符")] + public string TargetCaption { get; set; } + + /// + /// 一级指标分类 + /// + [Display(Name = "ItemType1"), Description("一级指标分类"), MaxLength(255, ErrorMessage = "一级指标分类 不能超过 255 个字符")] + public string ItemType1 { get; set; } + + /// + /// 二级指标分类 + /// + [Display(Name = "ItemType2"), Description("二级指标分类"), MaxLength(255, ErrorMessage = "二级指标分类 不能超过 255 个字符")] + public string ItemType2 { get; set; } + + /// + /// 三级指标分类 + /// + [Display(Name = "ItemType3"), Description("三级指标分类"), MaxLength(255, ErrorMessage = "三级指标分类 不能超过 255 个字符")] + public string ItemType3 { get; set; } + + /// + /// 默认权重(%) + /// + [Display(Name = "ItemWeight"), Description("默认权重(%)"), Column(TypeName = "decimal(18,2)")] + public decimal? ItemWeight { get; set; } + + /// + /// 指标性质 + /// + [Display(Name = "ItemKind"), Description("指标性质"), MaxLength(255, ErrorMessage = "指标性质 不能超过 255 个字符")] + public string ItemKind { get; set; } + + /// + /// 评估部门分类 + /// + [Display(Name = "DeptType"), Description("评估部门分类"), MaxLength(255, ErrorMessage = "评估部门分类 不能超过 255 个字符")] + public string DeptType { get; set; } + + /// + /// 标签1 + /// + [Display(Name = "Tag1"), Description("标签1"), MaxLength(255, ErrorMessage = "标签1 不能超过 255 个字符")] + public string Tag1 { get; set; } + + /// + /// 标签2 + /// + [Display(Name = "Tag2"), Description("标签2"), MaxLength(255, ErrorMessage = "标签2 不能超过 255 个字符")] + public string Tag2 { get; set; } + + /// + /// 标签3 + /// + [Display(Name = "Tag3"), Description("标签3"), MaxLength(255, ErrorMessage = "标签3 不能超过 255 个字符")] + public string Tag3 { get; set; } + + /// + /// 有效开始日 + /// + public DateTime? BeginDate { get; set; } + + /// + /// 有效结束日 + /// + public DateTime? EndDate { get; set; } + + /// + /// 备注 + /// + [Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")] + public string RemarkSz { get; set; } + + /// + /// 排序 + /// + public int? SortNo { 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; } + + /// + /// 内置 + /// + public int? BuiltIn { get; set; } + } +} diff --git a/Tiobon.Core.Model/View/Ghrp/Ghrp_PerformanceItem.Dto.View.cs b/Tiobon.Core.Model/View/Ghrp/Ghrp_PerformanceItem.Dto.View.cs new file mode 100644 index 00000000..b52e4094 --- /dev/null +++ b/Tiobon.Core.Model/View/Ghrp/Ghrp_PerformanceItem.Dto.View.cs @@ -0,0 +1,56 @@ +/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。 +* Ghrp_PerformanceItem.cs +* +*功 能: N / A +* 类 名: Ghrp_PerformanceItem +* +* Ver 变更日期 负责人 变更内容 +* ─────────────────────────────────── +*V0.01 2025/4/23 14:05:59 SimonHsiao 初版 +* +* Copyright(c) 2025 Tiobon Corporation. All Rights Reserved. +*┌──────────────────────────────────┐ +*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ +*│ 作者:SimonHsiao │ +*└──────────────────────────────────┘ +*/ + +namespace Tiobon.Core.Model.Models; + +/// +/// 考核指标(Dto.View1) +/// +public class Ghrp_PerformanceItemDto : Ghrp_PerformanceItem +{ + /// + /// 创建信息 + /// + public string CreateDataInfo { get; set; } + + /// + /// 修改信息 + /// + public string UpdateDataInfo { get; set; } + public string BeginDateStr => BeginDate?.ToString("yyyy-MM-dd") ?? string.Empty; + public string EndDateStr => EndDate?.ToString("yyyy-MM-dd") ?? string.Empty; + + public string ItemStatus + { + get + { + DateTime now = DateTime.Now; + + if (now < BeginDate) + { + return "2"; // 未生效 + } + + if (EndDate.HasValue) + { + return now > EndDate.Value ? "0" : "1"; // 0已失效 1生效中 + } + + return "1"; //生效中 + } + } +} diff --git a/Tiobon.Core.Services/Ghrp/Ghrp_PerformanceItemServices.cs b/Tiobon.Core.Services/Ghrp/Ghrp_PerformanceItemServices.cs new file mode 100644 index 00000000..8766c6f3 --- /dev/null +++ b/Tiobon.Core.Services/Ghrp/Ghrp_PerformanceItemServices.cs @@ -0,0 +1,42 @@ + +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 +{ + /// + /// 考核指标 (服务) + /// + public class Ghrp_PerformanceItemServices : BaseServices, IGhrp_PerformanceItemServices + { + private readonly IBaseRepository _dal; + public Ghrp_PerformanceItemServices(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) + { + var result = await base.QueryFilterPage(filter, condition, IsEnable); + + result.result.DT_TableDataT1.ForEach(async x => + { + x.ItemType1 = await GetParaLabel("PerformanceItemType1", x.ItemType1); + x.ItemType2 = await GetParaLabel("PerformanceItemType2", x.ItemType2); + x.ItemType3 = await GetParaLabel("PerformanceItemType3", x.ItemType3); + x.ItemKind = await GetParaLabel("PerformanceItemKind", x.ItemKind); + x.DeptType = await GetParaLabel("PerformanceDeptType", x.DeptType); + x.Tag1 = await GetParaLabel("PerformanceTag1", x.Tag1); + x.Tag2 = await GetParaLabel("PerformanceTag2", x.Tag2); + x.Tag3 = await GetParaLabel("PerformanceTag3", x.Tag3); + }); + + return result; + } + } +} \ No newline at end of file