diff --git a/Model/Tiobon.Web.pdm b/Model/Tiobon.Web.pdm index 40d7c7b5..0a4e874f 100644 --- a/Model/Tiobon.Web.pdm +++ b/Model/Tiobon.Web.pdm @@ -1,5 +1,5 @@ - + @@ -40743,7 +40743,7 @@ Ghra_staff_InsureBase Ghrh_InterviewRecord 1731491242 Administrator -1732085341 +1732151833 Administrator 面试记录 @@ -41054,6 +41054,18 @@ Ghra_staff_InsureBase 2000 +815CD8C8-217D-48A9-8F8F-88FCA0C9A616 +取消原因 +CancelReason +1732151827 +Administrator +1732151853 +Administrator +取消原因 +nvarchar(256) +256 + + C736F621-9E1E-41DC-9115-C60B06CD54DA 状态 Status @@ -41065,7 +41077,7 @@ Ghra_staff_InsureBase nvarchar(32) 32 - + 690F8DB4-C18A-453C-80D3-FEF13C5120AA 备注 RemarkSz @@ -41080,7 +41092,7 @@ Ghra_staff_InsureBase - + C9FF77A8-68C0-422C-AC7D-678D371A44B5 默认标志 IsDefault @@ -41095,7 +41107,7 @@ Ghra_staff_InsureBase - + 5D7585F3-021E-4057-822B-68DD4DFE35C5 删除标志 IsEnable @@ -41110,7 +41122,7 @@ Ghra_staff_InsureBase - + 77808567-C5E3-41C9-ADF2-946B288D6A7D 预留字段1 Reverse1 @@ -41122,7 +41134,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 5CC0BE47-B3B3-42D8-B062-163112BD1540 预留字段2 Reverse2 @@ -41134,7 +41146,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + BE3E005E-4715-4FE2-9448-49F45E15B61A 预留字段3 Reverse3 @@ -41146,7 +41158,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + C5ADDA06-013D-4671-8A9F-2A4BBB035769 预留字段4 Reverse4 @@ -41158,7 +41170,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 47638E15-E31D-4C81-89B3-20D45FC8D5CD 预留字段5 Reverse5 @@ -41170,7 +41182,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 62326CFB-192F-4A10-AAD2-ECFCC74B1489 预留字段6 Reverse6 @@ -41182,7 +41194,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 54454335-7E26-4583-9CED-35F63F68BBE3 预留字段7 Reverse7 @@ -41194,7 +41206,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 0EB510B9-5519-4DBC-A47F-56439571757B 预留字段8 Reverse8 @@ -41206,7 +41218,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + D5473D59-8EE1-4CBB-8753-443D1B99C938 预留字段9 Reverse9 @@ -41218,7 +41230,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 89BA5980-4DA8-4602-8481-C24A4283643E 预留字段10 Reverse10 @@ -41230,7 +41242,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 896BF59A-75D4-4E31-A422-AFD11E0C1BB6 预留字段I1 ReverseI1 @@ -41242,7 +41254,7 @@ Ghra_staff_InsureBase 0 int - + 7039D60D-7075-4523-B0A5-490C7393B79B 预留字段I2 ReverseI2 @@ -41256,7 +41268,7 @@ Ghra_staff_InsureBase - + 75123F88-F634-4127-86CF-8751327D3813 Key_1 Key_1 @@ -41270,10 +41282,10 @@ Ghra_staff_InsureBase - + - + @@ -41297,7 +41309,7 @@ Ghra_staff_InsureBase - + 7F0DCA7C-274D-48A8-B3D8-0FD7B707AFC2 1714101292 Administrator @@ -41331,7 +41343,7 @@ Ghra_staff_InsureBase - + D23C452C-4BB6-4C2A-AB2E-E8434D958A77 1714101335 Administrator @@ -41346,7 +41358,7 @@ Ghra_staff_InsureBase - + 55EBFC84-83AC-4EDF-BADD-29FA719652D1 Reference_13 Reference_13 @@ -41365,7 +41377,7 @@ Ghra_staff_InsureBase - + D4016F9D-5631-4F9E-A70D-D42133A4EBB7 1714107872 Administrator @@ -41399,7 +41411,7 @@ Ghra_staff_InsureBase - + BEBA3346-CCC6-41D9-B95B-12B8F81188BF 1714108449 Administrator @@ -41433,7 +41445,7 @@ Ghra_staff_InsureBase - + FC69BEF9-F863-4A65-903E-CB2850197526 1714109221 Administrator @@ -41467,7 +41479,7 @@ Ghra_staff_InsureBase - + ACE0AB02-0D27-4F1C-BF71-738C20DF96C2 1714120556 Administrator @@ -41501,7 +41513,7 @@ Ghra_staff_InsureBase - + B95672ED-9976-4742-9FFC-52B326620682 1715565535 Administrator @@ -41535,7 +41547,7 @@ Ghra_staff_InsureBase - + B6E89235-A6E0-460D-9228-DCA8C58EE2AD 1715570661 Administrator @@ -41569,7 +41581,7 @@ Ghra_staff_InsureBase - + 5D4938F3-7934-4F74-891C-97DC9DC47B1B 1716798640 Administrator @@ -41603,7 +41615,7 @@ Ghra_staff_InsureBase - + 179079CB-7169-4B19-A07A-A61C331F59CD 1716876897 Administrator @@ -41637,7 +41649,7 @@ Ghra_staff_InsureBase - + DD965546-2361-4301-82D7-446B823BDCFD 1717481682 Administrator @@ -41671,7 +41683,7 @@ Ghra_staff_InsureBase - + E78B14FB-C2C3-4DCA-A3B4-CA471817B9FC 1717726229 Administrator @@ -41705,7 +41717,7 @@ Ghra_staff_InsureBase - + 8C71D6B9-780B-4547-ADFD-986E619F4DCD 1719381914 Administrator @@ -41739,7 +41751,7 @@ Ghra_staff_InsureBase - + EB9D1A5A-99AB-44AD-9B1A-D45E66C0CFDE 1719468257 Administrator @@ -41773,7 +41785,7 @@ Ghra_staff_InsureBase - + ACF1454B-2C3F-40E5-ADC5-4A48787EB937 1720488320 Administrator @@ -41807,7 +41819,7 @@ Ghra_staff_InsureBase - + 55351100-6B8C-411A-838F-ADF17D7249C7 1721372650 Administrator @@ -41822,7 +41834,7 @@ Ghra_staff_InsureBase - + 465DBD55-7683-4A4B-91D3-B7019ED619F0 Reference_114 Reference_114 @@ -41841,7 +41853,7 @@ Ghra_staff_InsureBase - + CE1833FA-A783-4FAC-87BF-AA0FF8008532 1721280283 Administrator @@ -41875,7 +41887,7 @@ Ghra_staff_InsureBase - + 18F2EFF3-BD41-4F96-96C8-D8B15C7E2644 1721372603 Administrator @@ -41909,7 +41921,7 @@ Ghra_staff_InsureBase - + F7ECB7BC-BA8B-4606-B521-999C20FD5C43 1722318917 Administrator @@ -41943,7 +41955,7 @@ Ghra_staff_InsureBase - + 6764C448-6B6B-4DD7-AED9-8E74CDD1261A 1727335554 Administrator @@ -41977,7 +41989,7 @@ Ghra_staff_InsureBase - + C8D69BA0-B62F-4A3E-981C-59D5FC0C2A03 1727336760 Administrator @@ -42011,7 +42023,7 @@ Ghra_staff_InsureBase - + 09B3F4FA-149B-4BB2-8D4C-CB9E05153125 1727336895 Administrator @@ -42045,7 +42057,7 @@ Ghra_staff_InsureBase - + D0D47F43-60D2-4012-A1C6-7EE1F23B2B48 1727337857 Administrator @@ -42060,7 +42072,7 @@ Ghra_staff_InsureBase - + E261580B-7706-444D-9E7B-6A1A5968579B Reference_24 Reference_24 @@ -42079,7 +42091,7 @@ Ghra_staff_InsureBase - + A9F8F17E-368A-42BA-B603-19B2CAF61361 1728532955 Administrator @@ -42113,7 +42125,7 @@ Ghra_staff_InsureBase - + 88DE8617-23F2-4075-A9EB-3AEA05F12872 1728532977 Administrator @@ -42147,7 +42159,7 @@ Ghra_staff_InsureBase - + 36AE3FE2-B4E5-4FF7-ADD1-93D1ABD487CD 1728533087 Administrator @@ -42162,7 +42174,7 @@ Ghra_staff_InsureBase - + AB9D9DC4-987C-4E4B-9BD3-35091CDBA380 Reference_27 Reference_27 @@ -42181,7 +42193,7 @@ Ghra_staff_InsureBase - + E2D02611-09C9-42E2-AA43-22E820AF219C 1728626387 Administrator @@ -42215,7 +42227,7 @@ Ghra_staff_InsureBase - + 62F35C8E-87DA-43C4-AAE9-A47D112F8E0A 1728540045 Administrator @@ -42249,7 +42261,7 @@ Ghra_staff_InsureBase - + 3759DC14-1A7D-4121-AAE1-58CE6813A0AA 1728541044 Administrator @@ -42283,7 +42295,7 @@ Ghra_staff_InsureBase - + 1791558D-852F-437C-97F6-7F9D11EE26DB 1729662916 Administrator @@ -42317,7 +42329,7 @@ Ghra_staff_InsureBase - + 00049FDC-8297-463E-9347-A571E3AB9C9E 1729663415 Administrator @@ -42351,7 +42363,7 @@ Ghra_staff_InsureBase - + B7B6FBF6-DC05-4490-8656-A5DEAF831781 1730250294 Administrator @@ -42385,7 +42397,7 @@ Ghra_staff_InsureBase - + A0C97DD9-1C72-4A18-9FEE-EE6A9AEF21F8 1730336852 Administrator @@ -42419,7 +42431,7 @@ Ghra_staff_InsureBase - + 39FD6B5F-C473-44DF-969E-D851D388EBAE 1730340808 Administrator @@ -42453,7 +42465,7 @@ Ghra_staff_InsureBase - + C4EECAD7-F267-4702-A253-CA499692A254 1730346502 Administrator @@ -42487,7 +42499,7 @@ Ghra_staff_InsureBase - + 3EBD04DF-C924-4032-982C-CA9EF3B72E39 1731478017 Administrator @@ -42521,7 +42533,7 @@ Ghra_staff_InsureBase - + DE13B6DD-B49E-4F3E-8AF7-BEB535EE3CC6 1731478076 Administrator @@ -42555,7 +42567,7 @@ Ghra_staff_InsureBase - + 28C77E11-7423-4D63-9053-A5D40E7940AF 1731491451 Administrator @@ -42577,7 +42589,7 @@ Ghra_staff_InsureBase - + A1DD77B6-E48E-4C9D-947D-D42E3C5240C2 dbo dbo @@ -42590,7 +42602,7 @@ Ghra_staff_InsureBase - + C012A467-0031-4F3C-9D9D-13408491E147 DefaultSchema 1597196432 @@ -42598,12 +42610,12 @@ Ghra_staff_InsureBase 1597196433 ttsoftxch - + - + 41D2B655-5319-49C5-9BA6-133BB8B097CA dbo dbo @@ -42615,7 +42627,7 @@ Ghra_staff_InsureBase - + 2153E033-C4DC-4F90-B2F4-3B0F44BD33D5 文本 TEXT @@ -42625,7 +42637,7 @@ Ghra_staff_InsureBase ttsoftxch text - + AC8799D0-82CA-4B70-ADAC-18D8797720A9 图片 IMAGE @@ -42635,7 +42647,7 @@ Ghra_staff_InsureBase Administrator image - + DEC04470-B84A-413E-9B2A-C265C5506182 加密 ENCRYPT_STRING @@ -42646,7 +42658,7 @@ Ghra_staff_InsureBase nvarchar(256) 256 - + 538C6297-7080-43C1-9455-AD6516B6FBB2 数字 NUMBER @@ -42658,7 +42670,7 @@ Ghra_staff_InsureBase 20 6 - + AF15A9FA-052F-43E5-9102-57F195CBCFDE 类别 TYPE @@ -42669,7 +42681,7 @@ Ghra_staff_InsureBase varchar(32) 32 - + D0936140-81BD-463E-B0ED-FE3F86828A2C 特长字符串 LONG_LONG_STRING @@ -42680,7 +42692,7 @@ Ghra_staff_InsureBase varchar(256) 256 - + 5FBDAFFC-EA04-407B-877F-58752C2E736C 金额 AMOUNT @@ -42692,7 +42704,7 @@ Ghra_staff_InsureBase 20 6 - + F461E3FD-0A64-4712-BC09-C0BA3C248E5B 描述 DESCRIPTION @@ -42703,7 +42715,7 @@ Ghra_staff_InsureBase varchar(4000) 4000 - + 703A2917-B6C4-4BC6-B2CB-6AB8E2B49D30 短字符串 SHORT_STRING @@ -42714,7 +42726,7 @@ Ghra_staff_InsureBase varchar(64) 64 - + 89A476D2-A1C0-428C-9875-26A50B7AFE1A 长字符串 LONG_STRING @@ -42736,7 +42748,7 @@ Ghra_staff_InsureBase varchar(2000) 2000 - + @@ -42750,7 +42762,7 @@ Ghra_staff_InsureBase char(1) 1 - + 82662C91-618F-4022-B9CD-1A431DC84A0A 名称 NAME @@ -42771,7 +42783,7 @@ Ghra_staff_InsureBase Administrator int - + 77F6BD58-5A9D-44F7-988C-76608A3F38B5 代码 CODE @@ -42803,7 +42815,7 @@ Ghra_staff_InsureBase varchar(32) 32 - + DA200725-BFB0-4351-9C3E-DC30C036538E STATUS STATUS @@ -42814,7 +42826,7 @@ Ghra_staff_InsureBase varchar(32) 32 - + CB2F08D6-BE17-4046-B94A-4FD00EDA9015 文件 FILE @@ -42824,7 +42836,7 @@ Ghra_staff_InsureBase feipeng image - + 7CC45A5C-15C8-4CA8-BBEB-66FE3DAB482F 字符串512 STRING_512 @@ -42837,7 +42849,7 @@ Ghra_staff_InsureBase - + B41C21E8-76E9-4031-8EF0-34743E5525C5 PUBLIC PUBLIC @@ -42846,13 +42858,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 d05d7dff..6b4cb63a 100644 --- a/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ResumeController.cs +++ b/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ResumeController.cs @@ -410,4 +410,19 @@ public class Ghrh_ResumeController : BaseController + /// 取消面试 + /// + /// 简历ID + /// body + /// + [HttpPost, Route("CancelInterview/{id}")] + public async Task CancelInterview(long id, [FromBody] ResumeCancelInterviewForm body) + { + return await _service.CancelInterview(id, body); + } + #endregion } \ No newline at end of file diff --git a/Tiobon.Core.Api/Tiobon.Core.Model.xml b/Tiobon.Core.Api/Tiobon.Core.Model.xml index a1256a42..1d3f0dc9 100644 --- a/Tiobon.Core.Api/Tiobon.Core.Model.xml +++ b/Tiobon.Core.Api/Tiobon.Core.Model.xml @@ -6455,6 +6455,16 @@ 面试地点 + + + 是否取消 + + + + + 取消原因 + + 备注 @@ -17086,6 +17096,16 @@ 面试地点 + + + 是否取消 + + + + + 取消原因 + + 备注 @@ -23127,6 +23147,11 @@ 评估内容 + + + 取消原因 + + 留言信息展示类 diff --git a/Tiobon.Core.Api/Tiobon.Core.xml b/Tiobon.Core.Api/Tiobon.Core.xml index 5c953887..ca6abb4e 100644 --- a/Tiobon.Core.Api/Tiobon.Core.xml +++ b/Tiobon.Core.Api/Tiobon.Core.xml @@ -1464,6 +1464,14 @@ 简历ID + + + 取消面试 + + 简历ID + body + + 教育背景(Controller) diff --git a/Tiobon.Core.IServices/Ghrh/IGhrh_ResumeServices.cs b/Tiobon.Core.IServices/Ghrh/IGhrh_ResumeServices.cs index 02926fa3..1f0cf9d4 100644 --- a/Tiobon.Core.IServices/Ghrh/IGhrh_ResumeServices.cs +++ b/Tiobon.Core.IServices/Ghrh/IGhrh_ResumeServices.cs @@ -61,4 +61,6 @@ public interface IGhrh_ResumeServices : IBaseServices Fail(long id); Task> QueryScheduleInterviewForm(long id); + + Task CancelInterview(long id, ResumeCancelInterviewForm input); } \ No newline at end of file diff --git a/Tiobon.Core.Model/Base/Ghrh/Ghrh_InterviewRecord.Dto.Base.cs b/Tiobon.Core.Model/Base/Ghrh/Ghrh_InterviewRecord.Dto.Base.cs index b1d5aa1e..3a14f597 100644 --- a/Tiobon.Core.Model/Base/Ghrh/Ghrh_InterviewRecord.Dto.Base.cs +++ b/Tiobon.Core.Model/Base/Ghrh/Ghrh_InterviewRecord.Dto.Base.cs @@ -94,6 +94,17 @@ public class Ghrh_InterviewRecordBase [Display(Name = "InterviewAddress"), Description("面试地点"), MaxLength(256, ErrorMessage = "面试地点 不能超过 256 个字符")] public string InterviewAddress { get; set; } + /// + /// 是否取消 + /// + public bool? IsCancel { get; set; } + + /// + /// 取消原因 + /// + [Display(Name = "CancelReason"), Description("取消原因"), MaxLength(256, ErrorMessage = "取消原因 不能超过 256 个字符")] + public string CancelReason { get; set; } + /// /// 备注 /// diff --git a/Tiobon.Core.Model/Models/Ghrh/Ghrh_InterviewRecord.cs b/Tiobon.Core.Model/Models/Ghrh/Ghrh_InterviewRecord.cs index 619dbc75..8207f5f1 100644 --- a/Tiobon.Core.Model/Models/Ghrh/Ghrh_InterviewRecord.cs +++ b/Tiobon.Core.Model/Models/Ghrh/Ghrh_InterviewRecord.cs @@ -95,6 +95,17 @@ public class Ghrh_InterviewRecord : BasePoco [Display(Name = "InterviewAddress"), Description("面试地点"), MaxLength(256, ErrorMessage = "面试地点 不能超过 256 个字符")] public string InterviewAddress { get; set; } + /// + /// 是否取消 + /// + public bool? IsCancel { get; set; } + + /// + /// 取消原因 + /// + [Display(Name = "CancelReason"), Description("取消原因"), MaxLength(256, ErrorMessage = "取消原因 不能超过 256 个字符")] + public string CancelReason { get; set; } + /// /// 备注 /// diff --git a/Tiobon.Core.Model/ViewModels/Extend/ResumeViewTab.cs b/Tiobon.Core.Model/ViewModels/Extend/ResumeViewTab.cs index 10acde43..4940cadb 100644 --- a/Tiobon.Core.Model/ViewModels/Extend/ResumeViewTab.cs +++ b/Tiobon.Core.Model/ViewModels/Extend/ResumeViewTab.cs @@ -209,6 +209,16 @@ public class ResumeAssessInterviewForm } +public class ResumeCancelInterviewForm +{ + + /// + /// 取消原因 + /// + public string CancelReason { get; set; } + +} + public class ResumeAttachment { public long? AttachmentID { get; set; } diff --git a/Tiobon.Core.Services/CommonServices.cs b/Tiobon.Core.Services/CommonServices.cs index 43220171..1d0f45a5 100644 --- a/Tiobon.Core.Services/CommonServices.cs +++ b/Tiobon.Core.Services/CommonServices.cs @@ -1663,6 +1663,55 @@ public partial class CommonServices : BaseServices>, ICommon }); } break; + case "F_ESS_Candidate":// + result.JM_PageControlT1.Toolbar.Add(new Toolbar() + { + display = true, + fnKey = "TBD20YN", + fnTitle = "约面", + fnType = "row", + icon = "ess-icon-reject", + position = "left" + }); + result.JM_PageControlT1.Toolbar.Add(new Toolbar() + { + display = true, + fnKey = "TBD21YN", + fnTitle = "不合适", + fnType = "row", + icon = "ess-icon-reject", + position = "left" + }); + break; + case "F_ESS_Interview":// + result.JM_PageControlT1.Toolbar.Add(new Toolbar() + { + display = true, + fnKey = "TBD22YN", + fnTitle = "评估", + fnType = "row", + icon = "ess-icon-reject", + position = "left" + }); + result.JM_PageControlT1.Toolbar.Add(new Toolbar() + { + display = true, + fnKey = "TBD23YN", + fnTitle = "改期", + fnType = "row", + icon = "ess-icon-reject", + position = "left" + }); + result.JM_PageControlT1.Toolbar.Add(new Toolbar() + { + display = true, + fnKey = "TBD24YN", + fnTitle = "取消", + fnType = "row", + icon = "ess-icon-reject", + position = "left" + }); + break; } #endregion diff --git a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs index b7d4c6ce..43dd12a3 100644 --- a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs +++ b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs @@ -1,4 +1,5 @@ -using static Tiobon.Core.Model.Consts; +using Tiobon.Core.Model.Models; +using static Tiobon.Core.Model.Consts; namespace Tiobon.Core.Services; @@ -1820,6 +1821,31 @@ END"; } #endregion + #region 取消面试 + public async Task CancelInterview(long id, ResumeCancelInterviewForm input) + { + var entity = await base.QueryById(id); + if (entity == null) + return ServiceResult.OprateFailed("无效的简历ID!"); + + + var order = await _ghrh_InterviewOrderServices.QuerySingle(x => x.ResumeId == id); + + + var record = await _ghrh_InterviewRecordServices.QuerySingle(x => x.Round == order.Round && x.OrderId == order.Id && x.StaffId == GetStaffId()); + record.IsCancel = true; + record.CancelReason = input.CancelReason; + + var usser = await GetUser(); + await _ghrh_InterviewLogServices.Add(new InsertGhrh_InterviewLogInput() + { + OrderId = order.Id, + RemarkSz = $"用户【{usser?.UserName ?? App.User.ID.ToString()}】取消面试!" + }); + return ServiceResult.OprateSuccess(); + } + #endregion + #region ESS端查询简历记录 public async Task> QueryESS(QueryBody filter, string condition) { @@ -1916,7 +1942,9 @@ END"; B.IsPass, B.InterviewResult, C.Status OrderStatus, - C.StaffId + C.StaffId, + C.CancelReason, + C.IsCancel FROM Ghrh_Resume A JOIN Ghrh_InterviewOrder B ON A.ID = B.ResumeId JOIN Ghrh_InterviewRecord C @@ -1946,35 +1974,35 @@ WHERE A.IsEnable = 1 AND C.IsEnable = 1"; { case "WaitRecommend": if (jsonParam.columnValue.ObjToInt() == 1) - sql += $"C.Status = '{DIC_INTERVIEW_ORDER_STATUS.WaitRecommended}'"; + sql += $" AND C.Status = '{DIC_INTERVIEW_ORDER_STATUS.WaitRecommended}'"; break; case "HasRecommended": if (jsonParam.columnValue.ObjToInt() == 1) - sql += $"C.Status = '{DIC_INTERVIEW_ORDER_STATUS.HasRecommended}'"; + sql += $" AND C.Status = '{DIC_INTERVIEW_ORDER_STATUS.HasRecommended}'"; break; case "WaitAppointment": if (jsonParam.columnValue.ObjToInt() == 1) - sql += $"C.Status = '{DIC_INTERVIEW_ORDER_STATUS.WaitAppointment}'"; + sql += $" AND C.Status = '{DIC_INTERVIEW_ORDER_STATUS.WaitAppointment}'"; break; case "WaitInterview": if (jsonParam.columnValue.ObjToInt() == 1) - sql += $"C.Status = '{DIC_INTERVIEW_ORDER_STATUS.WaitInterview}'"; + sql += $" AND C.Status = '{DIC_INTERVIEW_ORDER_STATUS.WaitInterview}'"; break; case "HasInterview": if (jsonParam.columnValue.ObjToInt() == 1) - sql += $"C.Status = '{DIC_INTERVIEW_ORDER_STATUS.HasInterview}'"; + sql += $" AND C.Status = '{DIC_INTERVIEW_ORDER_STATUS.HasInterview}'"; break; case "WaitSendOffer": if (jsonParam.columnValue.ObjToInt() == 1) - sql += $"C.Status = '{DIC_INTERVIEW_ORDER_STATUS.WaitSendOffer}'"; + sql += $" AND C.Status = '{DIC_INTERVIEW_ORDER_STATUS.WaitSendOffer}'"; break; case "HasSendOffer": if (jsonParam.columnValue.ObjToInt() == 1) - sql += $"C.Status = '{DIC_INTERVIEW_ORDER_STATUS.HasSendOffer}'"; + sql += $" AND C.Status = '{DIC_INTERVIEW_ORDER_STATUS.HasSendOffer}'"; break; case "HasOffer": if (jsonParam.columnValue.ObjToInt() == 1) - sql += $"C.Status = '{DIC_INTERVIEW_ORDER_STATUS.HasOffer}'"; + sql += $" AND C.Status = '{DIC_INTERVIEW_ORDER_STATUS.HasOffer}'"; break; case "SalaryPeriod": diff --git a/Tiobon.Core/Tiobon.Core.Model.xml b/Tiobon.Core/Tiobon.Core.Model.xml index a1256a42..2e80f2e0 100644 --- a/Tiobon.Core/Tiobon.Core.Model.xml +++ b/Tiobon.Core/Tiobon.Core.Model.xml @@ -6455,6 +6455,16 @@ 面试地点 + + + 是否取消 + + + + + 取消原因 + + 备注 @@ -17086,6 +17096,16 @@ 面试地点 + + + 是否取消 + + + + + 取消原因 + + 备注