diff --git a/Model/Tiobon.Web.pdm b/Model/Tiobon.Web.pdm index bfd307bf..85ee7b23 100644 --- a/Model/Tiobon.Web.pdm +++ b/Model/Tiobon.Web.pdm @@ -1,5 +1,5 @@ - + @@ -33361,7 +33361,7 @@ Ghra_staff_InsureBase Ghrh_Resume 1729218656 Administrator -1729497476 +1729577126 Administrator 个人简历 @@ -34095,6 +34095,31 @@ Ghra_staff_InsureBase 32 +3D89D271-E6D1-4F54-8A0C-84472F2B1BF1 +工作年限 +WorkYears +1729562281 +Administrator +1729576626 +Administrator +工作年限 +decimal(3,1) +3 +1 + + +B52EEE0D-A890-49D7-A5B0-7AF0FB583EC8 +薪资区间 +SalaryPeriod +1729576626 +Administrator +1729645813 +Administrator +薪资区间 +nvarchar(32) +32 + + 4890C016-B603-4C35-9B16-6494D0315C2C 备注 RemarkSz @@ -34109,7 +34134,7 @@ Ghra_staff_InsureBase - + 56C22F3E-D493-474E-9ED5-D0FA52DDEB8F 默认标志 IsDefault @@ -34124,7 +34149,7 @@ Ghra_staff_InsureBase - + 4789FD0C-EFCE-496A-8373-B541F58484FD 删除标志 IsEnable @@ -34139,7 +34164,7 @@ Ghra_staff_InsureBase - + B3A5256C-CF77-4706-9531-8F4F74084375 预留字段1 Reverse1 @@ -34151,7 +34176,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 6657087B-C606-4217-8C1D-48E7E5E9D04F 预留字段2 Reverse2 @@ -34163,7 +34188,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 3EA0819B-DFD9-4521-9340-7C38262E9EE6 预留字段3 Reverse3 @@ -34175,7 +34200,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 6B38342F-BC25-467F-871C-4F1211185907 预留字段4 Reverse4 @@ -34187,7 +34212,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 775284F8-6708-4F41-A6D2-5AA5F040108B 预留字段5 Reverse5 @@ -34199,7 +34224,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 93B1B30D-D1A3-4332-8DDE-AE86BF112933 预留字段6 Reverse6 @@ -34211,7 +34236,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + A15F2B55-B960-404F-BF7B-B86B212BDC0D 预留字段7 Reverse7 @@ -34223,7 +34248,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 039EB5D6-44C9-4DDC-959C-B6091A364A10 预留字段8 Reverse8 @@ -34235,7 +34260,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 4FC444F9-347C-46DB-81FD-95941B744D5D 预留字段9 Reverse9 @@ -34247,7 +34272,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 9B44DF5A-CB57-4BC9-A195-725ABB28785F 预留字段10 Reverse10 @@ -34259,7 +34284,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + D99E7CF2-FFDD-481A-870F-5AFEDA0F9962 预留字段I1 ReverseI1 @@ -34271,7 +34296,7 @@ Ghra_staff_InsureBase 0 int - + CCD7FEE4-FBFC-49D0-815B-E234D604896F 预留字段I2 ReverseI2 @@ -34285,7 +34310,7 @@ Ghra_staff_InsureBase - + C23C4298-2753-410B-B7C0-B486DE642C17 Key_1 Key_1 @@ -34299,10 +34324,10 @@ Ghra_staff_InsureBase - + - + @@ -34326,7 +34351,7 @@ Ghra_staff_InsureBase - + 7F0DCA7C-274D-48A8-B3D8-0FD7B707AFC2 1714101292 Administrator @@ -34360,7 +34385,7 @@ Ghra_staff_InsureBase - + D23C452C-4BB6-4C2A-AB2E-E8434D958A77 1714101335 Administrator @@ -34375,7 +34400,7 @@ Ghra_staff_InsureBase - + 55EBFC84-83AC-4EDF-BADD-29FA719652D1 Reference_13 Reference_13 @@ -34394,7 +34419,7 @@ Ghra_staff_InsureBase - + D4016F9D-5631-4F9E-A70D-D42133A4EBB7 1714107872 Administrator @@ -34428,7 +34453,7 @@ Ghra_staff_InsureBase - + BEBA3346-CCC6-41D9-B95B-12B8F81188BF 1714108449 Administrator @@ -34462,7 +34487,7 @@ Ghra_staff_InsureBase - + FC69BEF9-F863-4A65-903E-CB2850197526 1714109221 Administrator @@ -34496,7 +34521,7 @@ Ghra_staff_InsureBase - + ACE0AB02-0D27-4F1C-BF71-738C20DF96C2 1714120556 Administrator @@ -34530,7 +34555,7 @@ Ghra_staff_InsureBase - + B95672ED-9976-4742-9FFC-52B326620682 1715565535 Administrator @@ -34564,7 +34589,7 @@ Ghra_staff_InsureBase - + B6E89235-A6E0-460D-9228-DCA8C58EE2AD 1715570661 Administrator @@ -34598,7 +34623,7 @@ Ghra_staff_InsureBase - + 5D4938F3-7934-4F74-891C-97DC9DC47B1B 1716798640 Administrator @@ -34632,7 +34657,7 @@ Ghra_staff_InsureBase - + 179079CB-7169-4B19-A07A-A61C331F59CD 1716876897 Administrator @@ -34666,7 +34691,7 @@ Ghra_staff_InsureBase - + DD965546-2361-4301-82D7-446B823BDCFD 1717481682 Administrator @@ -34700,7 +34725,7 @@ Ghra_staff_InsureBase - + E78B14FB-C2C3-4DCA-A3B4-CA471817B9FC 1717726229 Administrator @@ -34734,7 +34759,7 @@ Ghra_staff_InsureBase - + 8C71D6B9-780B-4547-ADFD-986E619F4DCD 1719381914 Administrator @@ -34768,7 +34793,7 @@ Ghra_staff_InsureBase - + EB9D1A5A-99AB-44AD-9B1A-D45E66C0CFDE 1719468257 Administrator @@ -34802,7 +34827,7 @@ Ghra_staff_InsureBase - + ACF1454B-2C3F-40E5-ADC5-4A48787EB937 1720488320 Administrator @@ -34836,7 +34861,7 @@ Ghra_staff_InsureBase - + 55351100-6B8C-411A-838F-ADF17D7249C7 1721372650 Administrator @@ -34851,7 +34876,7 @@ Ghra_staff_InsureBase - + 465DBD55-7683-4A4B-91D3-B7019ED619F0 Reference_114 Reference_114 @@ -34870,7 +34895,7 @@ Ghra_staff_InsureBase - + CE1833FA-A783-4FAC-87BF-AA0FF8008532 1721280283 Administrator @@ -34904,7 +34929,7 @@ Ghra_staff_InsureBase - + 18F2EFF3-BD41-4F96-96C8-D8B15C7E2644 1721372603 Administrator @@ -34938,7 +34963,7 @@ Ghra_staff_InsureBase - + F7ECB7BC-BA8B-4606-B521-999C20FD5C43 1722318917 Administrator @@ -34972,7 +34997,7 @@ Ghra_staff_InsureBase - + 6764C448-6B6B-4DD7-AED9-8E74CDD1261A 1727335554 Administrator @@ -35006,7 +35031,7 @@ Ghra_staff_InsureBase - + C8D69BA0-B62F-4A3E-981C-59D5FC0C2A03 1727336760 Administrator @@ -35040,7 +35065,7 @@ Ghra_staff_InsureBase - + 09B3F4FA-149B-4BB2-8D4C-CB9E05153125 1727336895 Administrator @@ -35074,7 +35099,7 @@ Ghra_staff_InsureBase - + D0D47F43-60D2-4012-A1C6-7EE1F23B2B48 1727337857 Administrator @@ -35089,7 +35114,7 @@ Ghra_staff_InsureBase - + E261580B-7706-444D-9E7B-6A1A5968579B Reference_24 Reference_24 @@ -35108,7 +35133,7 @@ Ghra_staff_InsureBase - + A9F8F17E-368A-42BA-B603-19B2CAF61361 1728532955 Administrator @@ -35142,7 +35167,7 @@ Ghra_staff_InsureBase - + 88DE8617-23F2-4075-A9EB-3AEA05F12872 1728532977 Administrator @@ -35176,7 +35201,7 @@ Ghra_staff_InsureBase - + 36AE3FE2-B4E5-4FF7-ADD1-93D1ABD487CD 1728533087 Administrator @@ -35191,7 +35216,7 @@ Ghra_staff_InsureBase - + AB9D9DC4-987C-4E4B-9BD3-35091CDBA380 Reference_27 Reference_27 @@ -35210,7 +35235,7 @@ Ghra_staff_InsureBase - + E2D02611-09C9-42E2-AA43-22E820AF219C 1728626387 Administrator @@ -35244,7 +35269,7 @@ Ghra_staff_InsureBase - + 62F35C8E-87DA-43C4-AAE9-A47D112F8E0A 1728540045 Administrator @@ -35278,7 +35303,7 @@ Ghra_staff_InsureBase - + 3759DC14-1A7D-4121-AAE1-58CE6813A0AA 1728541044 Administrator @@ -35300,7 +35325,7 @@ Ghra_staff_InsureBase - + A1DD77B6-E48E-4C9D-947D-D42E3C5240C2 dbo dbo @@ -35313,7 +35338,7 @@ Ghra_staff_InsureBase - + C012A467-0031-4F3C-9D9D-13408491E147 DefaultSchema 1597196432 @@ -35321,12 +35346,12 @@ Ghra_staff_InsureBase 1597196433 ttsoftxch - + - + 41D2B655-5319-49C5-9BA6-133BB8B097CA dbo dbo @@ -35338,7 +35363,7 @@ Ghra_staff_InsureBase - + 2153E033-C4DC-4F90-B2F4-3B0F44BD33D5 文本 TEXT @@ -35348,7 +35373,7 @@ Ghra_staff_InsureBase ttsoftxch text - + AC8799D0-82CA-4B70-ADAC-18D8797720A9 图片 IMAGE @@ -35358,7 +35383,7 @@ Ghra_staff_InsureBase Administrator image - + DEC04470-B84A-413E-9B2A-C265C5506182 加密 ENCRYPT_STRING @@ -35369,7 +35394,7 @@ Ghra_staff_InsureBase nvarchar(256) 256 - + 538C6297-7080-43C1-9455-AD6516B6FBB2 数字 NUMBER @@ -35381,7 +35406,7 @@ Ghra_staff_InsureBase 20 6 - + AF15A9FA-052F-43E5-9102-57F195CBCFDE 类别 TYPE @@ -35392,7 +35417,7 @@ Ghra_staff_InsureBase varchar(32) 32 - + D0936140-81BD-463E-B0ED-FE3F86828A2C 特长字符串 LONG_LONG_STRING @@ -35403,7 +35428,7 @@ Ghra_staff_InsureBase varchar(256) 256 - + 5FBDAFFC-EA04-407B-877F-58752C2E736C 金额 AMOUNT @@ -35415,7 +35440,7 @@ Ghra_staff_InsureBase 20 6 - + F461E3FD-0A64-4712-BC09-C0BA3C248E5B 描述 DESCRIPTION @@ -35426,7 +35451,7 @@ Ghra_staff_InsureBase varchar(4000) 4000 - + 703A2917-B6C4-4BC6-B2CB-6AB8E2B49D30 短字符串 SHORT_STRING @@ -35437,7 +35462,7 @@ Ghra_staff_InsureBase varchar(64) 64 - + 89A476D2-A1C0-428C-9875-26A50B7AFE1A 长字符串 LONG_STRING @@ -35459,7 +35484,7 @@ Ghra_staff_InsureBase varchar(2000) 2000 - + @@ -35473,7 +35498,7 @@ Ghra_staff_InsureBase char(1) 1 - + 82662C91-618F-4022-B9CD-1A431DC84A0A 名称 NAME @@ -35494,7 +35519,7 @@ Ghra_staff_InsureBase Administrator int - + 77F6BD58-5A9D-44F7-988C-76608A3F38B5 代码 CODE @@ -35526,7 +35551,7 @@ Ghra_staff_InsureBase varchar(32) 32 - + DA200725-BFB0-4351-9C3E-DC30C036538E STATUS STATUS @@ -35537,7 +35562,7 @@ Ghra_staff_InsureBase varchar(32) 32 - + CB2F08D6-BE17-4046-B94A-4FD00EDA9015 文件 FILE @@ -35547,7 +35572,7 @@ Ghra_staff_InsureBase feipeng image - + 7CC45A5C-15C8-4CA8-BBEB-66FE3DAB482F 字符串512 STRING_512 @@ -35560,7 +35585,7 @@ Ghra_staff_InsureBase - + B41C21E8-76E9-4031-8EF0-34743E5525C5 PUBLIC PUBLIC @@ -35569,13 +35594,13 @@ Ghra_staff_InsureBase 1597196433 ttsoftxch - + - + 02EF92C9-49BF-45C7-934A-23BA290D5595 Microsoft SQL Server 2008 MSSQLSRV2008 diff --git a/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ResumeController.cs b/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ResumeController.cs index f44cdd78..c7cab3b5 100644 --- a/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ResumeController.cs +++ b/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ResumeController.cs @@ -46,4 +46,70 @@ public class Ghrh_ResumeController : BaseController>> QueryConditions() => await _service.QueryConditions(); #endregion + + #region 推荐简历 + /// + /// 推荐简历 + /// + /// + [HttpPost("Recommend")] + public async Task Recommend([FromBody] List ids) => await _service.SwitchIsRecommend(ids, true); + #endregion + + #region 取消推荐简历 + /// + /// 取消推荐简历 + /// + /// + [HttpPost("CancelRecommend/{id}")] + public async Task CancelRecommend([FromBody] List ids) => await _service.SwitchIsRecommend(ids, false); + #endregion + + #region 回收简历 + /// + /// 回收简历 + /// + /// + [HttpPost("Recovery")] + public async Task Recovery([FromBody] List ids) + { + bool result = await _service.DeleteById1(ids); + if (result) + return ServiceResult.OprateSuccess("回收成功!"); + return ServiceResult.OprateFailed("回收失败!"); + + } + #endregion + + #region 加入黑名单 + /// + /// 加入黑名单 + /// + /// + [HttpPost("JoinBlacklist/{id}")] + public async Task JoinBlacklist([FromBody] List ids) + { + bool result = await _service.UpdateStatus(ids, "Blacklist"); + if (result) + return ServiceResult.OprateSuccess("加入成功!"); + return ServiceResult.OprateFailed("加入失败!"); + + } + #endregion + + #region 加入人才库 + /// + /// 加入人才库 + /// + /// + [HttpPost("JoinTalentPool/{id}")] + public async Task JoinTalentPool([FromBody] List ids) + { + bool result = await _service.UpdateStatus(ids, "Talent_Pool"); + if (result) + return ServiceResult.OprateSuccess("加入成功!"); + return ServiceResult.OprateFailed("加入失败!"); + + } + #endregion } \ No newline at end of file diff --git a/Tiobon.Core.Api/Tiobon.Core.xml b/Tiobon.Core.Api/Tiobon.Core.xml index 12990f04..349eab0e 100644 --- a/Tiobon.Core.Api/Tiobon.Core.xml +++ b/Tiobon.Core.Api/Tiobon.Core.xml @@ -1169,6 +1169,36 @@ + + + 推荐简历 + + + + + + 取消推荐简历 + + + + + + 回收简历 + + + + + + 加入黑名单 + + + + + + 加入人才库 + + + 简历信息栏位(Controller) diff --git a/Tiobon.Core.IServices/Ghrh/IGhrh_ResumeServices.cs b/Tiobon.Core.IServices/Ghrh/IGhrh_ResumeServices.cs index 62768492..24282b6d 100644 --- a/Tiobon.Core.IServices/Ghrh/IGhrh_ResumeServices.cs +++ b/Tiobon.Core.IServices/Ghrh/IGhrh_ResumeServices.cs @@ -13,5 +13,9 @@ namespace Tiobon.Core.IServices ServiceResult> QueryViewTab(); Task>> QueryConditions(); + + Task SwitchIsRecommend(List ids, bool isRecommend); + + Task UpdateStatus(List ids, string status); } } \ No newline at end of file diff --git a/Tiobon.Core.Services/CommonServices.cs b/Tiobon.Core.Services/CommonServices.cs index ecd5e259..209ce313 100644 --- a/Tiobon.Core.Services/CommonServices.cs +++ b/Tiobon.Core.Services/CommonServices.cs @@ -1234,7 +1234,7 @@ public partial class CommonServices : BaseServices>, ICommon display = true, fnKey = "TBD5YN", fnTitle = "推荐", - fnType = "table", + fnType = "row", icon = "ess-icon-reject", position = "left" }); @@ -1243,7 +1243,7 @@ public partial class CommonServices : BaseServices>, ICommon display = true, fnKey = "TBD6YN", fnTitle = "标签", - fnType = "table", + fnType = "row", icon = "ess-icon-reject", position = "left" }); @@ -1252,7 +1252,7 @@ public partial class CommonServices : BaseServices>, ICommon display = true, fnKey = "TBD7YN", fnTitle = "回收", - fnType = "table", + fnType = "row", icon = "ess-icon-reject", position = "left" }); @@ -1261,7 +1261,7 @@ public partial class CommonServices : BaseServices>, ICommon display = true, fnKey = "TBD8YN", fnTitle = "加入人才库", - fnType = "table", + fnType = "row", icon = "ess-icon-reject", position = "left" }); @@ -1270,7 +1270,7 @@ public partial class CommonServices : BaseServices>, ICommon display = true, fnKey = "TBD9YN", fnTitle = "加入黑名单", - fnType = "table", + fnType = "row", icon = "ess-icon-reject", position = "left" }); diff --git a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs index 2dd63fdb..519d3555 100644 --- a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs +++ b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs @@ -1,14 +1,13 @@  +using Tiobon.Core.Common; +using Tiobon.Core.Common.Caches; +using Tiobon.Core.Common.Helper; +using Tiobon.Core.IRepository.Base; using Tiobon.Core.IServices; +using Tiobon.Core.Model; 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.ViewModels.Extend; -using Tiobon.Core.Model; -using Tiobon.Core.Common.Helper; -using System.Collections.Generic; +using Tiobon.Core.Services.BASE; namespace Tiobon.Core.Services; @@ -52,7 +51,7 @@ public class Ghrh_ResumeServices : BaseServices> QueryViewTab() { - string str = "[\r\n\t{\r\n\t\t\"MenuName\": \"F_ResumeMaintenance_All\",\r\n\t\t\"TabName\": \"简历库\",\r\n\t\t\"QueryUrl\": \"/api/Ghre_RequiredCourse/QueryList/All\",\r\n\t\t\"Count\": 0,\r\n\t\t\"Items\": [\r\n\t\t\t{\r\n\t\t\t\t\"ItemName\": \"待推荐\",\r\n\t\t\t\t\"Key\": \"WaitRecommend\",\r\n\t\t\t\t\"Count\": 0\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"ItemName\": \"已推荐\",\r\n\t\t\t\t\"Key\": \"HasRecommend\",\r\n\t\t\t\t\"Count\": 0\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\t\"MenuName\": \"F_ResumeMaintenance_Process\",\r\n\t\t\"TabName\": \"面试过程\",\r\n\t\t\"QueryUrl\": \"/api/Ghre_RequiredCourse/QueryList/Process\",\r\n\t\t\"Count\": 0\r\n\t},\r\n\t{\r\n\t\t\"MenuName\": \"F_ResumeMaintenance_Hire\",\r\n\t\t\"TabName\": \"录用\",\r\n\t\t\"QueryUrl\": \"/api/Ghre_RequiredCourse/QueryList/Hire\",\r\n\t\t\"Count\": 0\r\n\t},\r\n\t{\r\n\t\t\"MenuName\": \"F_ResumeMaintenance_Talent_Pool\",\r\n\t\t\"TabName\": \"人才库\",\r\n\t\t\"QueryUrl\": \"/api/Ghre_RequiredCourse/QueryList/Talent_Pool\",\r\n\t\t\"Count\": 0\r\n\t},\r\n\t{\r\n\t\t\"MenuName\": \"F_ResumeMaintenance_Recycled\",\r\n\t\t\"TabName\": \"回收站\",\r\n\t\t\"QueryUrl\": \"/api/Ghre_RequiredCourse/QueryList/Recycled\",\r\n\t\t\"Count\": 0\r\n\t},\r\n\t{\r\n\t\t\"MenuName\": \"F_ResumeMaintenance_Blacklist\",\r\n\t\t\"TabName\": \"黑名单\",\r\n\t\t\"QueryUrl\": \"/api/Ghre_RequiredCourse/QueryList/Blacklist\",\r\n\t\t\"Count\": 0\r\n\t}\r\n]"; + string str = "[\r\n\t{\r\n\t\t\"MenuName\": \"F_ResumeMaintenance_All\",\r\n\t\t\"TabName\": \"简历库\",\r\n\t\t\"QueryUrl\": \"/api/Ghrh_Resume/QueryList/All\",\r\n\t\t\"Count\": 0,\r\n\t\t\"Items\": [\r\n\t\t\t{\r\n\t\t\t\t\"ItemName\": \"待推荐\",\r\n\t\t\t\t\"Key\": \"WaitRecommend\",\r\n\t\t\t\t\"Count\": 0\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"ItemName\": \"已推荐\",\r\n\t\t\t\t\"Key\": \"HasRecommend\",\r\n\t\t\t\t\"Count\": 0\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\t\"MenuName\": \"F_ResumeMaintenance_Process\",\r\n\t\t\"TabName\": \"面试过程\",\r\n\t\t\"QueryUrl\": \"/api/Ghrh_Resume/QueryList/Process\",\r\n\t\t\"Count\": 0\r\n\t},\r\n\t{\r\n\t\t\"MenuName\": \"F_ResumeMaintenance_Hire\",\r\n\t\t\"TabName\": \"录用\",\r\n\t\t\"QueryUrl\": \"/api/Ghrh_Resume/QueryList/Hire\",\r\n\t\t\"Count\": 0\r\n\t},\r\n\t{\r\n\t\t\"MenuName\": \"F_ResumeMaintenance_Talent_Pool\",\r\n\t\t\"TabName\": \"人才库\",\r\n\t\t\"QueryUrl\": \"/api/Ghrh_Resume/QueryList/Talent_Pool\",\r\n\t\t\"Count\": 0\r\n\t},\r\n\t{\r\n\t\t\"MenuName\": \"F_ResumeMaintenance_Recycled\",\r\n\t\t\"TabName\": \"回收站\",\r\n\t\t\"QueryUrl\": \"/api/Ghrh_Resume/QueryList/Recycled\",\r\n\t\t\"Count\": 0\r\n\t},\r\n\t{\r\n\t\t\"MenuName\": \"F_ResumeMaintenance_Blacklist\",\r\n\t\t\"TabName\": \"黑名单\",\r\n\t\t\"QueryUrl\": \"/api/Ghrh_Resume/QueryList/Blacklist\",\r\n\t\t\"Count\": 0\r\n\t}\r\n]"; var tabs = JsonHelper.JsonToObj>(str); return ServiceResult>.OprateSuccess("查询成功!", tabs); @@ -80,4 +79,36 @@ public class Ghrh_ResumeServices : BaseServices SwitchIsRecommend(List ids, bool isRecommend) + { + await Db.Updateable() + .SetColumns(it => new Ghrh_Resume() + { + IsRecommend = isRecommend, + UpdateBy = App.User.ID, + UpdateTime = DateTime.Now, + }) + .Where(it => ids.Contains(it.Id)).ExecuteCommandAsync(); + return ServiceResult.OprateSuccess(); + + } + #endregion + + #region 修改状态 + public async Task UpdateStatus(List ids, string status) + { + var result = await Db.Updateable() + .SetColumns(it => new Ghrh_Resume() + { + Status = status, + UpdateBy = App.User.ID, + UpdateTime = DateTime.Now, + }) + .Where(it => ids.Contains(it.Id)).ExecuteCommandAsync(); + return result > 0 ? true : false; + + } + #endregion } \ No newline at end of file diff --git a/Tiobon.Core/Tiobon.Core.xml b/Tiobon.Core/Tiobon.Core.xml index 12990f04..349eab0e 100644 --- a/Tiobon.Core/Tiobon.Core.xml +++ b/Tiobon.Core/Tiobon.Core.xml @@ -1169,6 +1169,36 @@ + + + 推荐简历 + + + + + + 取消推荐简历 + + + + + + 回收简历 + + + + + + 加入黑名单 + + + + + + 加入人才库 + + + 简历信息栏位(Controller)