From 5d74bc4fa42b188e25f18ab8e397e1159e80be2f Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Sat, 12 Oct 2024 09:48:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=85=A7=E7=89=87=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E5=88=87=E6=8D=A2=E7=85=A7=E7=89=87=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Ghrh/Ghrh_ResumeTemplateController.cs | 11 + Tiobon.Core.Api/Tiobon.Core.xml | 8 + .../Ghrh/IGhrh_ResumeTemplateServices.cs | 2 + .../Ghrh/Ghrh_ResumeTemplateServices.cs | 16 + Tiobon.Core/Tiobon.Core.Model.xml | 275 ++++++++++++++++++ Tiobon.Core/Tiobon.Core.xml | 22 +- 6 files changed, 333 insertions(+), 1 deletion(-) diff --git a/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ResumeTemplateController.cs b/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ResumeTemplateController.cs index 5dbc120e..4811b73e 100644 --- a/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ResumeTemplateController.cs +++ b/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ResumeTemplateController.cs @@ -33,4 +33,15 @@ public class Ghrh_ResumeTemplateController : BaseController>> QueryGroup([FromBody] QueryForm filter) => await _service.QueryGroup(filter); #endregion + + #region 切换照片类型 + /// + /// 切换照片类型 + /// + /// + /// + /// + [HttpPost("PhotoSwitch/{id}/{photoType}")] + public async Task PhotoSwitch(long id, int? photoType) => await _service.PhotoSwitch(id, photoType); + #endregion } \ No newline at end of file diff --git a/Tiobon.Core.Api/Tiobon.Core.xml b/Tiobon.Core.Api/Tiobon.Core.xml index 7b5e5f00..91590af9 100644 --- a/Tiobon.Core.Api/Tiobon.Core.xml +++ b/Tiobon.Core.Api/Tiobon.Core.xml @@ -1161,6 +1161,14 @@ + + + 切换照片类型 + + + + + Ghro_Dept(Controller) diff --git a/Tiobon.Core.IServices/Ghrh/IGhrh_ResumeTemplateServices.cs b/Tiobon.Core.IServices/Ghrh/IGhrh_ResumeTemplateServices.cs index 14afea87..b47cf5c0 100644 --- a/Tiobon.Core.IServices/Ghrh/IGhrh_ResumeTemplateServices.cs +++ b/Tiobon.Core.IServices/Ghrh/IGhrh_ResumeTemplateServices.cs @@ -13,5 +13,7 @@ namespace Tiobon.Core.IServices Task SwitchPublish(long id, int? isPublish); Task>> QueryGroup(QueryForm filter); + + Task PhotoSwitch(long id, int? photoType); } } \ No newline at end of file diff --git a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeTemplateServices.cs b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeTemplateServices.cs index e04de502..9a92dcef 100644 --- a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeTemplateServices.cs +++ b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeTemplateServices.cs @@ -166,4 +166,20 @@ public class Ghrh_ResumeTemplateServices : BaseServices PhotoSwitch(long id, int? photoType) + { + await Db.Updateable() + .SetColumns(it => new Ghrh_ResumeTemplate() + { + PhotoType = photoType, + UpdateBy = App.User.ID, + UpdateTime = DateTime.Now + }) + .Where(it => it.Id == id) + .ExecuteCommandAsync(); + return ServiceResult.OprateSuccess(); + } + #endregion } \ No newline at end of file diff --git a/Tiobon.Core/Tiobon.Core.Model.xml b/Tiobon.Core/Tiobon.Core.Model.xml index 6da5a6d5..f17d2c00 100644 --- a/Tiobon.Core/Tiobon.Core.Model.xml +++ b/Tiobon.Core/Tiobon.Core.Model.xml @@ -5960,6 +5960,131 @@ 预留字段12 + + + 简历组别 (Dto.Base) + + + + + 组别编号 + + + + + 组别名 + + + + + 多语Key + + + + + 组别类型 + + + + + 表名 + + + + + 主键名 + + + + + 多表名 + + + + + 排序号 + + + + + 员工可修改 + + + + + ESS 显示 + + + + + 备注 + + + + + 默认标志 + + + + + 预留字段1 + + + + + 预留字段2 + + + + + 预留字段3 + + + + + 预留字段4 + + + + + 预留字段5 + + + + + 预留字段6 + + + + + 预留字段7 + + + + + 预留字段8 + + + + + 预留字段9 + + + + + 预留字段10 + + + + + 预留字段11 + + + + + 预留字段12 + + 简历模板 (Dto.Base) @@ -7362,6 +7487,11 @@ 培训讲师异动附件 (Dto.EditInput) + + + 简历组别 (Dto.EditInput) + + 简历模板 (Dto.EditInput) @@ -7627,6 +7757,11 @@ 培训讲师异动附件 (Dto.InsertInput) + + + 简历组别 (Dto.InsertInput) + + 简历模板 (Dto.InsertInput) @@ -13936,6 +14071,131 @@ 任务内存中的状态 + + + 简历组别 (Model) + + + + + 组别编号 + + + + + 组别名 + + + + + 多语Key + + + + + 组别类型 + + + + + 表名 + + + + + 主键名 + + + + + 多表名 + + + + + 排序号 + + + + + 员工可修改 + + + + + ESS 显示 + + + + + 备注 + + + + + 默认标志 + + + + + 预留字段1 + + + + + 预留字段2 + + + + + 预留字段3 + + + + + 预留字段4 + + + + + 预留字段5 + + + + + 预留字段6 + + + + + 预留字段7 + + + + + 预留字段8 + + + + + 预留字段9 + + + + + 预留字段10 + + + + + 预留字段11 + + + + + 预留字段12 + + 简历模板 (Model) @@ -16662,6 +16922,21 @@ 修改信息 + + + 简历组别(Dto.View1) + + + + + 创建信息 + + + + + 修改信息 + + 简历模板(Dto.View) diff --git a/Tiobon.Core/Tiobon.Core.xml b/Tiobon.Core/Tiobon.Core.xml index ef35e55a..91590af9 100644 --- a/Tiobon.Core/Tiobon.Core.xml +++ b/Tiobon.Core/Tiobon.Core.xml @@ -1136,12 +1136,17 @@ status + + + 简历组别(Controller) + + 简历模板(Controller) - + 是否开启 @@ -1149,6 +1154,21 @@ + + + 获取分组数据 + + + + + + + 切换照片类型 + + + + + Ghro_Dept(Controller)