diff --git a/Lib/Tiobon.Core.Base.dll b/Lib/Tiobon.Core.Base.dll index 128f0ddf..be7cc576 100644 Binary files a/Lib/Tiobon.Core.Base.dll and b/Lib/Tiobon.Core.Base.dll differ diff --git a/Lib/Tiobon.Core.Base.xml b/Lib/Tiobon.Core.Base.xml index 402d171c..1ae623d0 100644 --- a/Lib/Tiobon.Core.Base.xml +++ b/Lib/Tiobon.Core.Base.xml @@ -4,186 +4,6 @@ Tiobon.Core.Base - - - Tiobon.Core.Base - - - - - 格式化DateTime类型为字符串类型,精确到年,如:2008 - - - - - - - 格式化DateTime类型为字符串类型,精确到年,如:2008 - - - - - - - 格式化DateTime类型为字符串类型,精确到月,如:2008-01 - - - - - - - 格式化object类型为字符串类型,精确到月,如:2008-01 - - - - - - - 格式化DateTime类型为字符串类型,精确到天,如:2008-01-01 - - - - - - - 格式化DateTime类型为字符串类型,精确到天,如:2008-01-01 - - - - - - - 格式化DateTime类型为字符串类型,精确到小时,如:2008-01-01 18 - - - - - - - 格式化object类型为字符串类型,精确到小时,如:2008-01-01 18 - - - - - - - 格式化object类型为字符串类型,精确到天,如:2008-01-01 - - - - - - - 格式化DateTime类型为字符串类型,精确到分钟,如:2008-01-01 18:09 - - - - - - - 格式化object类型为字符串类型,精确到分钟,如:2008-01-01 18:09 - - - - - - - 格式化DateTime类型为字符串类型,精确到秒,如:2008-01-01 18:09:20 - - - - - - - 格式化DateTime类型为字符串类型,精确到秒,如:20080101180920 - - - - - - - 格式化object类型为字符串类型,精确到秒,如:2008-01-01 18:09:20 - - - - - - - 格式化DateTime类型为字符串类型,如:01/01 - - - - - - - 格式化object类型为字符串类型,如:01/01 - - - - - - - 格式化DateTime类型为字符串类型,如:12:12 - - - - - - - 格式化object类型为字符串类型,如:12:12 - - - - - - - 格式化DateTime类型为字符串类型,如:12:12:12 - - - - - - - 格式化object类型为字符串类型,如:12:12:12 - - - - - - - 格式化DateTime类型为字符串类型,如:2020-05 - - - - - - - 格式化object类型为字符串类型,如:2020-05 - - - - - - - 格式化DateTime类型为字符串类型,如:2020-05 - - - - - - - 格式化object类型为字符串类型,如:2020-05 - - - - - - - 毫秒转天时分秒 - - - - 增删改查接口 diff --git a/Lib/Tiobon.Core.Model.Entity.dll b/Lib/Tiobon.Core.Model.Entity.dll deleted file mode 100644 index 0652f75e..00000000 Binary files a/Lib/Tiobon.Core.Model.Entity.dll and /dev/null differ diff --git a/Lib/Tiobon.Core.Model.Entity.xml b/Lib/Tiobon.Core.Model.Entity.xml deleted file mode 100644 index 3b3bb690..00000000 --- a/Lib/Tiobon.Core.Model.Entity.xml +++ /dev/null @@ -1,227 +0,0 @@ - - - - Tiobon.Core.Model.Entity - - - - - 表主键 - - - - - 1:有效,0:未生效 - - - - - 创建人 - - - - - 创建时间 - - - - - 创建程序 - - - - - 创建IP - - - - - 最后修改人 - - - - - 最后修改时间 - - - - - 最后修改程序 - - - - - 最后修改IP - - - - - 软删除 过滤器 - - - - - 动态查询条件 - - - - - 起始位置(e.g. 0) - - - - - 每页数量(e.g. 10) - - - - - 查询条件( 例如:id = 1 and name = 小明) - - - - - 排序条件表达式(e.g. LoginName ASC,Name DESC) - - - - - 动态查询条件 - - - - - 动态查询条件 - - - - - 服务层响应实体(泛型) - - - - - 状态码 - - - - - 操作是否成功 - - - - - 返回信息 - - - - - 开发者信息 - - - - - 返回数据集合 - - - - - 返回成功 - - 消息 - - - - - 返回成功 - - 消息 - 数据 - - - - - 返回失败 - - 消息 - - - - - 返回失败 - - 消息 - 数据 - - - - - 返回消息 - - 失败/成功 - 消息 - 数据 - - - - - 服务层响应实体 - - - - - 状态码 - - - - - 操作是否成功 - - - - - 返回信息 - - - - - 返回数据集合 - - - - - 操作成功 - - - - - - - 操作失败 - - - - - - - - 返回数据 - - - - - 服务层分页响应实体(泛型) - - - - - 操作是否成功 - - - - - 返回信息 - - - - diff --git a/Lib/Tiobon.Core.dll b/Lib/Tiobon.Core.dll new file mode 100644 index 00000000..8f8f1a7a Binary files /dev/null and b/Lib/Tiobon.Core.dll differ diff --git a/Lib/Tiobon.Core.xml b/Lib/Tiobon.Core.xml new file mode 100644 index 00000000..bc2c1a4e --- /dev/null +++ b/Lib/Tiobon.Core.xml @@ -0,0 +1,427 @@ + + + + Tiobon.Core + + + + + 时间戳转本地时间-时间戳精确到秒 + + + + + 时间转时间戳Unix-时间戳精确到秒 + + + + + 时间戳转本地时间-时间戳精确到毫秒 + + + + + 时间转时间戳Unix-时间戳精确到毫秒 + + + + + + + + + + 格式化DateTime类型为字符串类型,精确到年,如:2008 + + + + + + + 格式化DateTime类型为字符串类型,精确到年,如:2008 + + + + + + + 格式化DateTime类型为字符串类型,精确到月,如:2008-01 + + + + + + + 格式化object类型为字符串类型,精确到月,如:2008-01 + + + + + + + 格式化DateTime类型为字符串类型,精确到天,如:2008-01-01 + + + + + + + 格式化DateTime类型为字符串类型,精确到天,如:2008-01-01 + + + + + + + 格式化DateTime类型为字符串类型,精确到小时,如:2008-01-01 18 + + + + + + + 格式化object类型为字符串类型,精确到小时,如:2008-01-01 18 + + + + + + + 格式化object类型为字符串类型,精确到天,如:2008-01-01 + + + + + + + 格式化DateTime类型为字符串类型,精确到分钟,如:2008-01-01 18:09 + + + + + + + 格式化object类型为字符串类型,精确到分钟,如:2008-01-01 18:09 + + + + + + + 格式化DateTime类型为字符串类型,精确到秒,如:2008-01-01 18:09:20 + + + + + + + 格式化DateTime类型为字符串类型,精确到秒,如:20080101180920 + + + + + + + 格式化object类型为字符串类型,精确到秒,如:2008-01-01 18:09:20 + + + + + + + 格式化DateTime类型为字符串类型,如:01/01 + + + + + + + 格式化object类型为字符串类型,如:01/01 + + + + + + + 格式化DateTime类型为字符串类型,如:12:12 + + + + + + + 格式化object类型为字符串类型,如:12:12 + + + + + + + 格式化DateTime类型为字符串类型,如:12:12:12 + + + + + + + 格式化object类型为字符串类型,如:12:12:12 + + + + + + + 格式化DateTime类型为字符串类型,如:2020-05 + + + + + + + 格式化object类型为字符串类型,如:2020-05 + + + + + + + 格式化DateTime类型为字符串类型,如:2020-05 + + + + + + + 格式化object类型为字符串类型,如:2020-05 + + + + + + + 毫秒转天时分秒 + + + + + + + 表主键 + + + + + 1:有效,0:未生效 + + + + + 创建人 + + + + + 创建时间 + + + + + 创建程序 + + + + + 创建IP + + + + + 最后修改人 + + + + + 最后修改时间 + + + + + 最后修改程序 + + + + + 最后修改IP + + + + + 软删除 过滤器 + + + + + 动态查询条件 + + + + + 起始位置(e.g. 0) + + + + + 每页数量(e.g. 10) + + + + + 查询条件( 例如:id = 1 and name = 小明) + + + + + 排序条件表达式(e.g. LoginName ASC,Name DESC) + + + + + 动态查询条件 + + + + + 动态查询条件 + + + + + 服务层响应实体(泛型) + + + + + 状态码 + + + + + 操作是否成功 + + + + + 返回信息 + + + + + 开发者信息 + + + + + 返回数据集合 + + + + + 返回成功 + + 消息 + + + + + 返回成功 + + 消息 + 数据 + + + + + 返回失败 + + 消息 + + + + + 返回失败 + + 消息 + 数据 + + + + + 返回消息 + + 失败/成功 + 消息 + 数据 + + + + + 服务层响应实体 + + + + + 状态码 + + + + + 操作是否成功 + + + + + 返回信息 + + + + + 返回数据集合 + + + + + 操作成功 + + + + + + + 操作失败 + + + + + + + + 返回数据 + + + + + 服务层分页响应实体(泛型) + + + + + 操作是否成功 + + + + + 返回信息 + + + + diff --git a/Tiobon.CodeGenerator/Tiobon.CodeGenerator.csproj b/Tiobon.CodeGenerator/Tiobon.CodeGenerator.csproj index e9cea70f..e5ca3a26 100644 --- a/Tiobon.CodeGenerator/Tiobon.CodeGenerator.csproj +++ b/Tiobon.CodeGenerator/Tiobon.CodeGenerator.csproj @@ -38,8 +38,8 @@ - - ..\Lib\Tiobon.Core.Model.Entity.dll + + ..\Lib\Tiobon.Core.dll diff --git a/Tiobon.Core.Api/Controllers/CommonController.cs b/Tiobon.Core.Api/Controllers/CommonController.cs index 640a9ef8..e509d756 100644 --- a/Tiobon.Core.Api/Controllers/CommonController.cs +++ b/Tiobon.Core.Api/Controllers/CommonController.cs @@ -1,6 +1,5 @@ using Newtonsoft.Json.Linq; using System.Data; -using Tiobon.Core.Base.Helper; using Tiobon.Core.Common.DB.Dapper; using Tiobon.Core.Common.DB.Dapper.DBManager; using Tiobon.Core.Common.Https.HttpPolly; diff --git a/Tiobon.Core.Api/GlobalUsings.cs b/Tiobon.Core.Api/GlobalUsings.cs index 45949ba0..80163f3e 100644 --- a/Tiobon.Core.Api/GlobalUsings.cs +++ b/Tiobon.Core.Api/GlobalUsings.cs @@ -16,6 +16,6 @@ global using Tiobon.Core.Model.ViewModels; global using Tiobon.Core.Repository.UnitOfWorks; global using Tiobon.Core.SwaggerHelper; global using static Tiobon.Core.Extensions.SwaggerSetup; -global using Tiobon.Core.Base.Helper; +global using Tiobon.Core.Helper; global using Tiobon.Core.Model.Entity; global using Tiobon.Core.Model.ViewModels.Extend; diff --git a/Tiobon.Core.Api/Tiobon.Core.Api.csproj b/Tiobon.Core.Api/Tiobon.Core.Api.csproj index b1ea7e61..63c91fa7 100644 --- a/Tiobon.Core.Api/Tiobon.Core.Api.csproj +++ b/Tiobon.Core.Api/Tiobon.Core.Api.csproj @@ -16,7 +16,7 @@ - ..\Tiobon.Core\Tiobon.Core.xml + ..\Tiobon.Core\Tiobon.Core.Api.xml 1701;1702;1591 @@ -131,12 +131,12 @@ + + ..\Lib\Tiobon.Core.dll + ..\Lib\Tiobon.Core.Base.dll - - ..\Lib\Tiobon.Core.Model.Entity.dll - diff --git a/Tiobon.Core.Common/Tiobon.Core.Common.csproj b/Tiobon.Core.Common/Tiobon.Core.Common.csproj index 92e88d17..8e09f7a7 100644 --- a/Tiobon.Core.Common/Tiobon.Core.Common.csproj +++ b/Tiobon.Core.Common/Tiobon.Core.Common.csproj @@ -61,8 +61,8 @@ - - ..\Lib\Tiobon.Core.Model.Entity.dll + + ..\Lib\Tiobon.Core.dll diff --git a/Tiobon.Core.DataAccess/Tiobon.Core.DataAccess.csproj b/Tiobon.Core.DataAccess/Tiobon.Core.DataAccess.csproj index 3e251a7d..9af494ef 100644 --- a/Tiobon.Core.DataAccess/Tiobon.Core.DataAccess.csproj +++ b/Tiobon.Core.DataAccess/Tiobon.Core.DataAccess.csproj @@ -43,8 +43,8 @@ - - ..\Lib\Tiobon.Core.Model.Entity.dll + + ..\Lib\Tiobon.Core.dll diff --git a/Tiobon.Core.Extensions/ServiceExtensions/SwaggerSetup.cs b/Tiobon.Core.Extensions/ServiceExtensions/SwaggerSetup.cs index df239cb8..a3dd3665 100644 --- a/Tiobon.Core.Extensions/ServiceExtensions/SwaggerSetup.cs +++ b/Tiobon.Core.Extensions/ServiceExtensions/SwaggerSetup.cs @@ -38,12 +38,12 @@ public static class SwaggerSetup try { - c.IncludeXmlComments(Path.Combine(basePath, "Tiobon.Core.xml"), true); + c.IncludeXmlComments(Path.Combine(basePath, "Tiobon.Core.Api.xml"), true); c.IncludeXmlComments(Path.Combine(basePath, "Tiobon.Core.Model.xml"), true); } catch (Exception ex) { - Log.Error("Tiobon.Core.xml和Tiobon.Core.Model.xml 丢失,请检查并拷贝。\n" + ex.Message); + Log.Error("Tiobon.Core.Api.xml和Tiobon.Core.Model.xml 丢失,请检查并拷贝。\n" + ex.Message); } //c.MapType(() => new OpenApiSchema { Type = "string", Format = "string" }); diff --git a/Tiobon.Core.Extensions/Tiobon.Core.Extensions.csproj b/Tiobon.Core.Extensions/Tiobon.Core.Extensions.csproj index ef27bd6b..d11990d0 100644 --- a/Tiobon.Core.Extensions/Tiobon.Core.Extensions.csproj +++ b/Tiobon.Core.Extensions/Tiobon.Core.Extensions.csproj @@ -42,12 +42,12 @@ + + ..\Lib\Tiobon.Core.dll + ..\Lib\Tiobon.Core.Base.dll - - ..\Lib\Tiobon.Core.Model.Entity.dll - diff --git a/Tiobon.Core.Gateway/Tiobon.Core.Gateway.csproj b/Tiobon.Core.Gateway/Tiobon.Core.Gateway.csproj index eba19348..460757e4 100644 --- a/Tiobon.Core.Gateway/Tiobon.Core.Gateway.csproj +++ b/Tiobon.Core.Gateway/Tiobon.Core.Gateway.csproj @@ -36,8 +36,8 @@ - - ..\Lib\Tiobon.Core.Model.Entity.dll + + ..\Lib\Tiobon.Core.dll diff --git a/Tiobon.Core.IServices/Tiobon.Core.IServices.csproj b/Tiobon.Core.IServices/Tiobon.Core.IServices.csproj index 182efb52..916869b8 100644 --- a/Tiobon.Core.IServices/Tiobon.Core.IServices.csproj +++ b/Tiobon.Core.IServices/Tiobon.Core.IServices.csproj @@ -18,12 +18,12 @@ + + ..\Lib\Tiobon.Core.dll + ..\Lib\Tiobon.Core.Base.dll - - ..\Lib\Tiobon.Core.Model.Entity.dll - diff --git a/Tiobon.Core.Jobs/Tiobon.Core.Jobs.csproj b/Tiobon.Core.Jobs/Tiobon.Core.Jobs.csproj index c27b0f44..95a02adf 100644 --- a/Tiobon.Core.Jobs/Tiobon.Core.Jobs.csproj +++ b/Tiobon.Core.Jobs/Tiobon.Core.Jobs.csproj @@ -27,8 +27,8 @@ - - ..\Lib\Tiobon.Core.Model.Entity.dll + + ..\Lib\Tiobon.Core.dll diff --git a/Tiobon.Core.Model/Base/Ghre/Ghre_SchoolAttachment.Dto.Base.cs b/Tiobon.Core.Model/Base/Ghre/Ghre_SchoolAttachment.Dto.Base.cs index c404971d..25a6abe4 100644 --- a/Tiobon.Core.Model/Base/Ghre/Ghre_SchoolAttachment.Dto.Base.cs +++ b/Tiobon.Core.Model/Base/Ghre/Ghre_SchoolAttachment.Dto.Base.cs @@ -130,4 +130,14 @@ public class Ghre_SchoolAttachmentBase /// 预留字段12 /// public int? ReverseI2 { get; set; } + + /// + /// 生效日期 + /// + public DateTime? BeginDate { get; set; } + + /// + /// 失效日期 + /// + public DateTime? EndDate { get; set; } } diff --git a/Tiobon.Core.Model/Insert/Ghre/Ghre_SchoolAttachment.Dto.InsertInput.cs b/Tiobon.Core.Model/Insert/Ghre/Ghre_SchoolAttachment.Dto.InsertInput.cs index 202611a4..db1eabd5 100644 --- a/Tiobon.Core.Model/Insert/Ghre/Ghre_SchoolAttachment.Dto.InsertInput.cs +++ b/Tiobon.Core.Model/Insert/Ghre/Ghre_SchoolAttachment.Dto.InsertInput.cs @@ -15,8 +15,6 @@ *└──────────────────────────────────┘ */ -using System.ComponentModel.DataAnnotations.Schema; - namespace Tiobon.Core.Model.Models; diff --git a/Tiobon.Core.Model/Tiobon.Core.Model.csproj b/Tiobon.Core.Model/Tiobon.Core.Model.csproj index fcc4f42d..f25d552f 100644 --- a/Tiobon.Core.Model/Tiobon.Core.Model.csproj +++ b/Tiobon.Core.Model/Tiobon.Core.Model.csproj @@ -64,8 +64,8 @@ - - ..\Lib\Tiobon.Core.Model.Entity.dll + + ..\Lib\Tiobon.Core.dll diff --git a/Tiobon.Core.Model/View/Ghre/Ghre_SchoolAttachment.Dto.View.cs b/Tiobon.Core.Model/View/Ghre/Ghre_SchoolAttachment.Dto.View.cs index 6f9ac5a5..7aa35ce0 100644 --- a/Tiobon.Core.Model/View/Ghre/Ghre_SchoolAttachment.Dto.View.cs +++ b/Tiobon.Core.Model/View/Ghre/Ghre_SchoolAttachment.Dto.View.cs @@ -34,4 +34,14 @@ public class Ghre_SchoolAttachmentDto : Ghre_SchoolAttachment public List Attachments { get; set; } = new List(); + + /// + /// 生效日期 + /// + public DateTime? BeginDate { get; set; } + + /// + /// 失效日期 + /// + public DateTime? EndDate { get; set; } } diff --git a/Tiobon.Core.Repository/Tiobon.Core.Repository.csproj b/Tiobon.Core.Repository/Tiobon.Core.Repository.csproj index dd85cc7f..01e43314 100644 --- a/Tiobon.Core.Repository/Tiobon.Core.Repository.csproj +++ b/Tiobon.Core.Repository/Tiobon.Core.Repository.csproj @@ -28,8 +28,8 @@ - - ..\Lib\Tiobon.Core.Model.Entity.dll + + ..\Lib\Tiobon.Core.dll diff --git a/Tiobon.Core.Services/CommonServices.cs b/Tiobon.Core.Services/CommonServices.cs index 86d24ca6..b286c92c 100644 --- a/Tiobon.Core.Services/CommonServices.cs +++ b/Tiobon.Core.Services/CommonServices.cs @@ -1095,6 +1095,15 @@ public partial class CommonServices : BaseServices>, ICommon }); break; case "F_SchoolManage": + toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "NewYN").FirstOrDefault(); + if (toolbar != null) toolbar.fnKey = "TBD1YN"; + toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "UpdateYN").FirstOrDefault(); + if (toolbar != null) toolbar.fnKey = "TBD2YN"; + toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "DetailYN").FirstOrDefault(); + if (toolbar != null) toolbar.fnKey = "TBD3YN"; + toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "CopyYN").FirstOrDefault(); + if (toolbar != null) toolbar.fnKey = "TBD4YN"; + break; case "F_WorkLicenseManage": case "F_HR_WorkLicenseManage": toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "NewYN").FirstOrDefault(); @@ -2471,7 +2480,7 @@ public partial class CommonServices : BaseServices>, ICommon result.DT_Procedure.ExportExcel = result.DT_Procedure.EditProcedure.Replace("QueryGroupForm", "ExportGroupExcel"); break; - case "F_PerformancePeriodType": + case "F_PerformancePeriodType": case "F_GhraStaffGroup": toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "NewYN").FirstOrDefault(); if (toolbar != null) toolbar.fnKey = "TBD1YN"; @@ -2492,7 +2501,7 @@ public partial class CommonServices : BaseServices>, ICommon icon = "ghr-preview", position = "left" }); - + break; case "F_PerformancePeriod": result.JM_PageControlT1.Toolbar.Insert(0, new Toolbar() diff --git a/Tiobon.Core.Services/Ghre/Ghre_SchoolServices.cs b/Tiobon.Core.Services/Ghre/Ghre_SchoolServices.cs index be9d37c3..09af40e1 100644 --- a/Tiobon.Core.Services/Ghre/Ghre_SchoolServices.cs +++ b/Tiobon.Core.Services/Ghre/Ghre_SchoolServices.cs @@ -61,9 +61,18 @@ public class Ghre_SchoolServices : BaseServices x.Id.ToString()).ToList(); var attachments = await _ghre_AttachmentServices.QueryDto(x => ids1.Contains(x.TableName)); + for (int i = 0; i < attachments.Count; i++) + { + attachments[i].PhysicsPath = "/Advanced" + attachments[i].PhysicsPath; + attachments[i].RelativePath = "/Advanced" + attachments[i].RelativePath; + attachments[i].ThumbnailPath = "/Advanced" + attachments[i].ThumbnailPath; + attachments[i].FileURL = "/Advanced" + attachments[i].FileURL; + } schoolAttachments.ForEach(x => { x.Attachments = attachments.Where(o => o.TableName == x.Id.ToString()).ToList(); + x.BeginDate = x.EffectiveDate; + x.EndDate = x.ExpirationDate; }); entitys.ForEach(x => { @@ -84,10 +93,14 @@ public class Ghre_SchoolServices : BaseServices() .SetColumns(it => new Ghre_Attachment() { TableName = schoolAttachmentId.ToString(), UpdateTime = DateTime.Now }) .Where(it => it.RelativePath == insert.Attachments[j].RelativePath) @@ -109,10 +122,13 @@ public class Ghre_SchoolServices : BaseServices()); if (insert.Attachments != null && insert.Attachments.Any()) for (int j = 0; j < insert.Attachments.Count; j++) { + insert.Attachments[j].RelativePath = insert.Attachments[j].RelativePath.Replace("/Advanced", ""); await Db.Updateable() .SetColumns(it => new Ghre_Attachment() { TableName = schoolAttachmentId.ToString(), UpdateTime = DateTime.Now }) .Where(it => it.RelativePath == insert.Attachments[j].RelativePath) diff --git a/Tiobon.Core.Services/GlobalUsings.cs b/Tiobon.Core.Services/GlobalUsings.cs index e1f8af2b..72cf6f70 100644 --- a/Tiobon.Core.Services/GlobalUsings.cs +++ b/Tiobon.Core.Services/GlobalUsings.cs @@ -13,7 +13,7 @@ global using Tiobon.Core.Common.DB.Dapper; global using Tiobon.Core.Common.DB.Dapper.Extensions; global using Tiobon.Core.Common.Enums; global using Tiobon.Core.Common.Extensions; -global using Tiobon.Core.Base.Helper; +global using Tiobon.Core.Helper; global using Tiobon.Core.Common.Helper; global using Tiobon.Core.Common.UserManager; global using Tiobon.Core.DataAccess; diff --git a/Tiobon.Core.Services/Tiobon.Core.Services.csproj b/Tiobon.Core.Services/Tiobon.Core.Services.csproj index 0c00105d..6f011336 100644 --- a/Tiobon.Core.Services/Tiobon.Core.Services.csproj +++ b/Tiobon.Core.Services/Tiobon.Core.Services.csproj @@ -34,12 +34,12 @@ + + ..\Lib\Tiobon.Core.dll + ..\Lib\Tiobon.Core.Base.dll - - ..\Lib\Tiobon.Core.Model.Entity.dll - diff --git a/Tiobon.Core.Tasks/Tiobon.Core.Tasks.csproj b/Tiobon.Core.Tasks/Tiobon.Core.Tasks.csproj index e2a29ecd..9ed7c728 100644 --- a/Tiobon.Core.Tasks/Tiobon.Core.Tasks.csproj +++ b/Tiobon.Core.Tasks/Tiobon.Core.Tasks.csproj @@ -16,12 +16,12 @@ + + ..\Lib\Tiobon.Core.dll + ..\Lib\Tiobon.Core.Base.dll - - ..\Lib\Tiobon.Core.Model.Entity.dll - diff --git a/Tiobon.Core.Tests/Tiobon.Core.Tests.csproj b/Tiobon.Core.Tests/Tiobon.Core.Tests.csproj index a9595e17..a2f01e3f 100644 --- a/Tiobon.Core.Tests/Tiobon.Core.Tests.csproj +++ b/Tiobon.Core.Tests/Tiobon.Core.Tests.csproj @@ -51,12 +51,12 @@ + + ..\Lib\Tiobon.Core.dll + ..\Lib\Tiobon.Core.Base.dll - - ..\Lib\Tiobon.Core.Model.Entity.dll - diff --git a/Tiobon.Core/Tiobon.Core.Api.xml b/Tiobon.Core/Tiobon.Core.Api.xml new file mode 100644 index 00000000..c9716450 --- /dev/null +++ b/Tiobon.Core/Tiobon.Core.Api.xml @@ -0,0 +1,2684 @@ + + + + Tiobon.Core.Api + + + + + 登录管理【无权限】 + + + + + 构造函数注入 + + + + + + + + + + 获取JWT的方法1 + + + + + + + + 获取JWT的方法2:给Nuxt提供 + + + + + + + + 获取JWT的方法3:整个系统主要方法 + + + + + + + + 请求刷新Token(以旧换新) + + + + + + + 用户登录 + + + + + + + 用户自动登录 + + + + + + + 增删改查基础服务 + + + + + + + + + + 初始化 (注入) + + + + + 根据条件查询数据 + + 条件 + + + + + 查询作废 + + + + + + + 根据Id查询数据 + + 主键ID + + + + + 查询菜单表单信息 + + body + + + + + 新增数据 + + + + + + + 批量新增数据 + + + + + + 更新数据 + + 主键ID + + + + + + 批量更新数据 + + + + + + 删除数据 + + 主键ID + + + + + 批量删除数据 + + 主键IDs + + + + + Excel导出 + + + + + + + 列名按照前端显示顺序导出 + + + + + + + + 公共服务 + + + + + 构造函数 + + + + + + + + 获取菜单 + + + + + + + 获取模块信息接口 + + + + + + + 获取模块信息接口 + + + + + + + 获取模块信息接口 + + + + + + + + 导出Excel + + + + + + + Excel导入 + + 文件 + 菜单编号 + 用户ID + 多语 + + + + + 获取流程信息 + + + + + + + 流程提交处理 + + + + + + + 调用存储过程封装 + + + + + + + 调用存储过程封装 + + + + + + + 表信息 + + + + + 表名称 + + + + + 字段名称 + + + + + 数据类型 + + + + + 字符集 + + + + + + + + + + 是否为空 + + + + + 默认值 + + + + + 键 + + + + + 自定义比对器 + + + + + 比对规则 + + + + + + + + + + + + + + + 构造函数 + + + + + 获取 整体框架 文件(主库)(一般可用第一次生成) + + + + + + 获取仓储层和服务层(需指定表名和数据库) + + 数据库链接名称 + 需要生成的表名 + + + + + 获取实体(需指定表名和数据库) + + 数据库链接名称 + 需要生成的表名 + + + + + 获取控制器(需指定表名和数据库) + + 数据库链接名称 + 需要生成的表名 + + + + + DbFrist 根据数据库表名 生成整体框架,包含Model层(一般可用第一次生成) + + 数据库链接名称 + 需要生成的表名 + + + + + 获取权限部分Map数据(从库) + 迁移到新库(主库) + + + + + + 权限数据库导出tsv + + + + + + 权限数据库导出excel + + + + + + 文件服务 + + + + + 配置信息 + + + + + 构造函数 + + + + + + + + 上传图片 + + + + + + + 获取图片 + + 主键ID + + + + + 获取图片 + + 主键ID + + + + + 分片上传 + + + + + + + 登录管理【无权限】 + + + + + 构造函数注入 + + + + + + + + + + + 获取JWT的方法1 + + + + + + + + 获取JWT的方法2:给Nuxt提供 + + + + + + + + 获取JWT的方法3:整个系统主要方法 + + + + + + + + 请求刷新Token(以旧换新) + + + + + + + 获取JWT的方法4:给 JSONP 测试 + + + + + + + + + + + 测试 MD5 加密字符串 + + + + + + + swagger登录 + + + + + + + weixin登录 + + + + + + 公共服务 + + + + + 构造函数 + + + + + + 获取新入职人员列表 + + + + + + + + 面试官-简历筛选通过率 + + langId + + + + + 面试官-简历筛选通过率 + + langId + + + + + HR推荐-简历筛选通过率 + + langId + + + + + 面试官-简历筛选通过率 + + langId + + + + + HR推荐-简历筛选通过率 + + langId + + + + + 分页获取 + + + + + + + + 添加计划任务 + + + + + + + 修改计划任务 + + + + + + + 删除一个任务 + + + + + + + 启动计划任务 + + + + + + + 停止一个计划任务 + + + + + + + 暂停一个计划任务 + + + + + + + 恢复一个计划任务 + + + + + + + 重启一个计划任务 + + + + + + + 获取任务命名空间 + + + + + + 立即执行任务 + + + + + + + 获取任务运行日志 + + + + + + 任务概况 + + + + + + 年级(Controller) + + + + + Ghra_Job(Controller) + + + + + Ghra_LegalCompany(Controller) + + + + + Ghra_Staff(Controller) + + + + + 根据Id查询数据 + + + + + + + 查询邮箱 + + + + + + + Ghra_StaffEduBG(Controller) + + + + + 人员群组(Controller) + + + + + 获取配置 + + + + + + 人员群组明细(Controller) + + + + + Ghra_StaffLicence(Controller) + + + + + Ghra_StaffSocialRelation(Controller) + + + + + Ghra_StaffTraining(Controller) + + + + + Ghra_StaffWorkExp(Controller) + + + + + 岗位(Controller) + + + + + 厂区(Controller) + + + + + Ghrc_PeriodMaster(Controller) + + + + + Ghrc_SalaryItem(Controller) + + + + + 附件(Controller) + + + + + 培训记录(Controller) + + + + + 根据条件查询数据 + + RuleId + 条件 + + + + + Ghre_CertificateDesign(Controller) + + + + + 培训证书设计项(Controller) + + + + + 培训证书规则(Controller) + + + + + 证书预览 + + + + + + 根据条件查询数据 + + + + + + 证书模板(Controller) + + + + + 参数配置(Controller) + + + + + 批量更新数据 + + + + + + 参数配置组(Controller) + + + + + Ghre_CourseClass(Controller) + + + + + 课程(Controller) + + + + + 根据条件查询数据 + + status + 条件 + + + + + 获取通用列表下拉 + + + + + + + + 统计 + + + + + + + 统计 + + + + + + + 课程场景(Controller) + + + + + 统计 + + + + + + + Ghre_CourseSnap(Controller) + + + + + 课件附件(Controller) + + + + + 课件(Controller) + + + + + 下载附件压缩包 + + 课件ID + + + + + 学分记录(Controller) + + + + + 查询明细数据 + + body + + + + + 根据工号查询学分明细 + + + 员工ID + + + + + 学分规则(Controller) + + + + + Ghre_DaySalaryEntry_Boltone(Controller) + + + + + 新增数据 + + + + + + + 考试(Controller) + + + + + 查询初始化数据 + + + + + + 根据条件查询数据 + + status + 条件 + + + + + 查询明细数据 + + id + + + + + 根据员工ID查询员工数据 + + Ids + type + + + + + 新增 + + id + pageData + + + + + 更新考试状态接口 + + + + + + + + 获取考试状态接口 + + + + + + + 开始考试 + + 考试ID + + + + + 复制 + + 考试ID + + + + + 查询考试通知记录接口 + + 考试ID + + + + + 提交考试通知记录 + + insert + + + + + 获取考试关联人员 + + id + + + + + 考试通知记录(Controller) + + + + + 试卷配置(Controller) + + + + + 试卷(Controller) + + + + + 根据Id查询数据 + + + + + + + 根据条件查询数据 + + status + 条件 + + + + + 新增 + + + + + + + 更新 + + + + + + + + 新增配置数据 + + + + + + + 获取通用列表下拉 + + + + + + + + 试卷题目(Controller) + + + + + Ghre_ExamRecordAnswer(Controller) + + + + + 考试记录(Controller) + + + + + 根据条件查询数据 + + examId + 条件 + + + + + 获取考试记录明细扩展接口 + + + + + + + 获取考试记录明细扩展接口 + + + + + + + + 提交评语接口 + + + + + + + + 获取考试信息 + + 学习记录ID/考试记录ID + + + + + 开始考试 + + + + + + + 重新考试 + + + + + + + 答题 + + 学习记录ID + + + + + + 记录查看试卷 + + + + + + + 提交附件 + + + + + + + 查询考试组 + + + + + + + IssueCertificate + + + + + + Ghre_ExamRecordDetail(Controller) + + + + + 考试记录组(Controller) + + + + + Ghre_ExamStaff(Controller) + + + + + 外训申请_宝连通(Controller) + + + + + 多岗维护(Controller) + + + + + 开班打卡(Controller) + + + + + 开班管理(Controller) + + + + + 根据条件查询数据 + + 条件 + status + + + + + 学员查询 + + 开班ID + + + + + 学员新增 + + 开班ID + 员工ID列表 + + + + + 学员删除 + + 开班ID + 员工ID列表 + + + + + 学员导出 + + 开班ID + + + + + 查询团体费用 + + 开班ID + + + + + 查询个人费用 + + 开班ID + + + + + 学员费用 + + 开班ID + 费用信心 + + + + + 费用删除 + + 费用数据ID列表 + + + + + 总结查询 + + 开班ID + + + + + 总结新增 + + 开班ID + 员工ID列表 + + + + + 查询成绩 + + 开班ID + + + + + 报名 + + 开班ID + + + + + 查询课表 + + 开班ID + + + + + 签到 + + 开班ID + + + + + 签退 + + 开班ID + + + + + 邮件 + + 开班ID + + + + + 统计 + + 开班ID + + + + + 开班费用(Controller) + + + + + 开班反馈(Controller) + + + + + 开班课表(Controller) + + + + + 开班成绩(Controller) + + + + + 开班学员(Controller) + + + + + 培训计划(Controller) + + + + + 根据条件查询数据 + + 条件 + status + + + + + 根据条件查询数据 + + 条件 + + + + + 根据条件查询数据 + + 条件 + + + + + 培训计划达成率——宝连通 + + 条件 + + + + + 题目答案(Controller) + + + + + 题目(Controller) + + + + + 根据Id查询数据 + + + + + + + 新增数据 + + + + + + + 更新数据 + + 主键ID + + + + + + 培训需求(Controller) + + + + + 根据条件查询数据 + + 条件 + status + + + + + 查询菜单表单信息 + + body + + + + + 必选修查询(Controller) + + + + + 根据条件查询数据 + + 条件 + status + + + + + 培训机构附件(Controller) + + + + + 培训机构(Controller) + + + + + 员工群组(Controller) + + + + + 培训记录(Controller) + + + + + 获取ESS查询条件 + + + + + + + 获取ESS查询条件 + + + + + + + 获取学习记录 + + + + + + + 获取课程 + + + + + + + + 加入学习 + + + + + + + 记录学习时长 + + + + + + + + + 讲师上课分析 + + + + + + + 培训记录明细(Controller) + + + + + 必选修规则(Controller) + + + + + 记录 + + + + + + + 必选修规则结果(Controller) + + + + + 根据条件查询数据 + + RuleId + 条件 + + + + + 必选修规则人员(Controller) + + + + + 问卷调查(Controller) + + + + + 根据条件查询数据 + + 条件 + status + + + + + 插入 + + + + + + + + 查询 + + + + + + + 查询 + + + + + + + 查询 + + + 开班ID + + + + + 提交 + + + + + + + + 提交 + + + + + + + + 发布 + + + + + + + 统计 + + + + + + + 开始 + + + + + + + 记录 + + + + + + + 问卷调查选项(Controller) + + + + + 问卷调查题目(Controller) + + + + + 问卷题库(Controller) + + + + + 根据Id查询数据 + + + + + + + 新增数据 + + + + + + + 更新数据 + + 主键ID + + + + + + 问卷题库选项(Controller) + + + + + Ghre_SurveyRecord(Controller) + + + + + Ghre_SurveyRecordDetail(Controller) + + + + + Ghre_SurveyRecordOption(Controller) + + + + + Ghre_TeacherAttachment(Controller) + + + + + 培训讲师异动附件(Controller) + + + + + 培训讲师异动(Controller) + + + + + 根据条件查询数据 + + 条件 + status + + + + + Ghre_Teacher(Controller) + + + + + 根据条件查询数据 + + 条件 + status + + + + + 岗位技能_宝连通(Controller) + + + + + Ghre_TrainFeeApplyDetail_Boltone(Controller) + + + + + 培训费用_宝连通(Controller) + + + + + 【牛尾】培训计划(Controller) + + + + + 根据条件查询数据 + + 条件 + status + + + + + 面试评估设定(Controller) + + + + + 招聘参数配置(Controller) + + + + + 批量更新数据 + + + + + + 招聘参数配置组(Controller) + + + + + 批量更新数据 + + + + + + 人力需求维护(Controller) + + + + + 根据条件查询数据 + + 条件 + status + + + + + Excel导出 + + + + + + + 人力需求维护明细(Controller) + + + + + 面试单评估(Controller) + + + + + 面试单评估明细(Controller) + + + + + 面试工单日志(Controller) + + + + + 面试工单(Controller) + + + + + 面试记录(Controller) + + + + + 录用审批单(Controller) + + + + + 查询简历 + + 简历ID + + + + + 临时新增 + + 简历ID + 简历ID + + + + + 录用审批单薪资(Controller) + + + + + 个人简历(Controller) + + + + + 获取简历Tabs接口 + + + + + + 获取简历Tabs接口 + + + + + + 根据条件查询数据 + + 条件 + status + + + + + 获取简历Tabs接口 + + + + + + 取消推荐简历 + + + + + + 回收简历 + + + + + + 加入黑名单 + + + + + + 加入人才库 + + + + + + 添加标签 + + + + + + 查询简历是否存在 + + + + + + 查询简历是否存在 + + + + + + 查询招聘表单信息接口 + + + + + + 简历提交接口 + + + + + + + + + 查询招聘表单信息提交结果接口 + + + + + + 根据条件查询数据 + + 条件 + status + + + + + 推荐 + + 信息 + + + + + 简历库已推荐提醒 + + 简历Id + + + + + 面试官约面 + + 简历Id + + + + + + 安排面试 + + 简历Id + + + + + + 变更面试时间 + + 简历Id + 时间段,2024/10/12 10:00~2024/10/12 11:00 + + + + + 待面试提醒 + + 简历Id,列表 + + + + + 重新安排面试-直接发起新的 + + 简历Id + input + + + + + 重新预约安排面试-预约再发起下一轮面试 + + 简历Id + input + + + + + 面试评估(主管填写) + + 简历Id + input + 状态,0:暂存;1:提交 + input + + + + + 变更面试官 + + 简历Id + 面试官列表 + + + + + 转入已发Offer + + 简历Id + 扩展栏位 + 扩展栏位 + + + + + 发offer + + 简历Id + 扩展栏位 + 扩展栏位 + + + + + 已发offer提醒 + + 简历Id,列表 + + + + + 已报到/未报道接口 + + 简历Id + 已报到传true,未报到传false + + + + + 不合适 + + 简历Ids + + + + + ESS端查询面试记录 + + body + + + + + 获取安排面试表单信息 + + 简历ID + + + + + 取消面试 + + 简历ID + body + + + + + 转入待发Offer + + 简历ID + + + + + 简历下载 + + 简历ID + + + + + 获取评估信息 + + 简历ID + assessForm + + + + + 获取评估信息 + + 简历ID + 面试单ID + assessForm + + + + + 获取面试日志 + + 简历ID + + + + + 获取面试日志 + + 简历Id + 扩展栏位 + 扩展栏位 + + + + + 招聘工作台初始化接口 + + 语言别 + meuName + + + + + 招聘工作台招聘统计 + + 语言别 + + + + + Excel导出录用名单 + + + + + + + 教育背景(Controller) + + + + + 家庭关系(Controller) + + + + + 简历信息栏位(Controller) + + + + + 简历组别(Controller) + + + + + 证件(Controller) + + + + + 简历声明(Controller) + + + + + 简历标签(Controller) + + + + + 简历模板(Controller) + + + + + 是否开启 + + + + + + + + 获取分组数据 + + + + + + + 切换照片类型 + + + + + + + + 模板栏位异动 + + + + + + + + 获取分组数据 + + + + + + + 执行分组列栏位操作 + + + + + + + 查询模板栏位 + + + + + + + 查询模板栏位 + + + + + + + Index + + + + + + 简历培训记录(Controller) + + + + + 工作经历(Controller) + + + + + 声明(Controller) + + + + + 招聘模板(Controller) + + + + + 是否开启 + + + + + + + + Offer支持的字段 + + + + + + 预览Offer + + 简历Id + 模板ID + 扩展字段 + + + + + 年度人力申请(Controller) + + + + + + + + + + + + 年度人力配置(Controller) + + + + + + + + + + + + + Ghrm_MessageText(Controller) + + + + + Ghrm_MessageToDo(Controller) + + + + + Ghrm_MessageUser(Controller) + + + + + Ghro_Dept(Controller) + + + + + 考核指标(Controller) + + + + + 考核期间(Controller) + + + + + 批量展开 + + 阶段 + + + + + 考核周期类别(Controller) + + + + + 根据阶段数 获取对应阶段名称 + + 阶段 + + + + + 考核模板(Controller) + + + + + Ghrs_Attachment(Controller) + + + + + 资料归属(Controller) + + + + + Ghrs_DataRoleDetail(Controller) + + + + + Ghrs_LangKey(Controller) + + + + + 获取模块信息接口 + + + + + + Ghrs_ListCommonSql(Controller) + + + + + Ghrs_MailOutbox(Controller) + + + + + Ghrs_Menu(Controller) + + + + + Ghrs_ParaDetail(Controller) + + + + + 系统用户(Controller) + + + + + Ghrz_Shihua_OA_Employment(Controller) + + + + + 缓存管理 + + + + + 获取全部缓存 + + + + + + 获取缓存 + + + + + + 新增 + + + + + + 删除全部缓存 + + + + + + 删除缓存 + + + + + + 数据库管理 + + + + + 获取库配置 + + + + + + 获取表信息 + + 配置Id + 读取类型 + + + + + 获取表字段 + + 表名 + ConfigId + 读取类型 + + + + + 编辑表备注 + + + + + + 编辑列备注 + + + + + + 动态建表 CURD + + + + + 动态type + + + + + + 动态type 继承BaseEntity + + + + + + 测试建表 + + + + + + 测试查询 + + + + + + 测试写入 + + + + + + 全局请求验证 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Summary:全局路由权限公约 + Remarks:目的是针对不同的路由,采用不同的授权过滤器 + 如果 controller 上不加 [Authorize] 特性,默认都是 Permission 策略 + 否则,如果想特例其他授权机制的话,需要在 controller 上带上 [Authorize],然后再action上自定义授权即可,比如 [Authorize(Roles = "Admin")] + + + + + 全局权限过滤器【无效】 + + + + + 全局异常错误日志 + + + + + 自定义返回格式 + + + + + + + + 生产环境的消息 + + + + + 开发环境的消息 + + + + + 全局路由前缀公约 + + + + + 自定义路由 /api/{version}/[controler]/[action] + + + + + 分组名称,是来实现接口 IApiDescriptionGroupNameProvider + + + + + 自定义路由构造函数,继承基类路由 + + + + + + 自定义版本+路由构造函数,继承基类路由 + + + + + + diff --git a/Tiobon.Core/Tiobon.Core.Model.xml b/Tiobon.Core/Tiobon.Core.Model.xml index 6a92568a..216476ab 100644 --- a/Tiobon.Core/Tiobon.Core.Model.xml +++ b/Tiobon.Core/Tiobon.Core.Model.xml @@ -8460,6 +8460,16 @@ 预留字段12 + + + 生效日期 + + + + + 失效日期 + + 员工群组 (Dto.Base) @@ -40543,6 +40553,16 @@ 修改信息 + + + 生效日期 + + + + + 失效日期 + + 员工群组(Dto.View1)