diff --git a/Tiobon.Core.Api/Tiobon.Core.Model.xml b/Tiobon.Core.Api/Tiobon.Core.Model.xml index d4f97082..9c9df59e 100644 --- a/Tiobon.Core.Api/Tiobon.Core.Model.xml +++ b/Tiobon.Core.Api/Tiobon.Core.Model.xml @@ -38488,26 +38488,6 @@ Type Description balabala - - - 入职日期 - - - - - 员工类别1 - - - - - 部门 - - - - - 岗位 - - 封面图 diff --git a/Tiobon.Core.Services/Ghre/Ghre_TitleSkill_BoltoneServices.cs b/Tiobon.Core.Services/Ghre/Ghre_TitleSkill_BoltoneServices.cs index 100b20a0..d03f2e5a 100644 --- a/Tiobon.Core.Services/Ghre/Ghre_TitleSkill_BoltoneServices.cs +++ b/Tiobon.Core.Services/Ghre/Ghre_TitleSkill_BoltoneServices.cs @@ -1,6 +1,7 @@ using MySqlX.XDevAPI.Common; using NPOI.SS.Formula.Functions; using OfficeOpenXml.FormulaParsing; +using Org.BouncyCastle.Utilities; using System.Collections.Generic; namespace Tiobon.Core.Services; @@ -121,17 +122,15 @@ public class Ghre_TitleSkill_BoltoneServices : BaseServices(filter.pageNum, result2.result.DT_TablePageInfoT1.TotalCount, filter.pageSize, entitys); - //result1.result.JM_TableColumnT1 = module.Data.JM_TableColumnT1; var titleSkills = await base.QueryFilterPage(new QueryBody() { @@ -146,7 +145,7 @@ public class Ghre_TitleSkill_BoltoneServices : BaseServices + { + var key = item.CourseId + "_" + item.DeptId + "_" + item.TitleId + "_" + item.RequiredElective; + //if (dict.ContainsKey(column.Id.ObjToString())) + //{ + // var ids = dict[column.Id.ObjToString()]; + // if (ids.Where(id => id == x.TitleID).Any()) + // item.Add(new JProperty("Title_" + x.TitleNo, "✔")); + // else + // item.Add(new JProperty("Title_" + x.TitleNo, "")); + //} + //else + item1.Add(new JProperty(key, "★")); + }); + + columns.Add(item1); } @@ -189,7 +208,7 @@ public class Ghre_TitleSkill_BoltoneServices : BaseServices { var column1 = Mapper.Map(demoColumn).ToANew(); - column1.field = item.CourseId + "" + item.DeptId + item.TitleId + item.RequiredElective; + column1.field = item.CourseId + "_" + item.DeptId + "_" + item.TitleId + "_" + item.RequiredElective; column1.label = item.CourseName; column1.GroupName = x.Name; module.Data.JM_TableColumnT1.TableColumn.Add(column1); diff --git a/Tiobon.Core/Tiobon.Core.Model.xml b/Tiobon.Core/Tiobon.Core.Model.xml index d4f97082..9c9df59e 100644 --- a/Tiobon.Core/Tiobon.Core.Model.xml +++ b/Tiobon.Core/Tiobon.Core.Model.xml @@ -38488,26 +38488,6 @@ Type Description balabala - - - 入职日期 - - - - - 员工类别1 - - - - - 部门 - - - - - 岗位 - - 封面图