From bbf4267ba12b779dbe387127767c975206046e2d Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Fri, 22 Nov 2024 11:24:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Model/Tiobon.Web.pdm | 435 +++++++++--------- .../Controllers/Ghrh/Ghrh_ResumeController.cs | 2 +- Tiobon.Core.Api/Tiobon.Core.Model.xml | 7 +- Tiobon.Core.Model/Consts.cs | 6 +- .../Models/Ghrh/Ghrh_InterviewOrder.cs | 2 +- .../View/Ghrh/Ghrh_Resume.Dto.View.cs | 5 + .../ViewModels/Extend/ResumeViewTab.cs | 6 +- .../Ghrh/Ghrh_ResumeServices.cs | 85 +++- Tiobon.Core/Tiobon.Core.Model.xml | 7 +- 9 files changed, 318 insertions(+), 237 deletions(-) diff --git a/Model/Tiobon.Web.pdm b/Model/Tiobon.Web.pdm index 0a4e874f..83a3b5c1 100644 --- a/Model/Tiobon.Web.pdm +++ b/Model/Tiobon.Web.pdm @@ -1,5 +1,5 @@ - + @@ -39496,7 +39496,7 @@ Ghra_staff_InsureBase Ghrh_InterviewOrder 1731475866 Administrator -1732066495 +1732177868 Administrator 面试工单 @@ -39737,17 +39737,29 @@ Ghra_staff_InsureBase datetime -328D8828-B75F-40AA-BA7F-4D79999D6D25 +2E80583A-629F-4DA3-B74E-CE8D1F01D301 +是否通过 +IsPass +1732177862 +Administrator +1732177868 +Administrator +是否通过 +bit + + +41126F3D-E91D-4673-9972-1133674261F7 面试结果 InterviewResult -1731476109 +1732177862 Administrator -1731477536 +1732177868 Administrator 面试结果 -bit +nvarchar(2000) +2000 - + 80A5CC1E-B97E-4DB0-8450-6F5D4C76D46B 评估结果 InterviewContent @@ -39759,7 +39771,7 @@ Ghra_staff_InsureBase nvarchar(256) 256 - + 1973B184-54A0-49B6-A605-B332F40C2336 状态 Status @@ -39771,7 +39783,7 @@ Ghra_staff_InsureBase nvarchar(32) 32 - + 0B0AC5CD-7584-4B55-9248-9FD0E790E977 备注 RemarkSz @@ -39786,7 +39798,7 @@ Ghra_staff_InsureBase - + 33E27793-3CB0-4835-8451-928000083E3E 默认标志 IsDefault @@ -39801,7 +39813,7 @@ Ghra_staff_InsureBase - + 2739B215-6C23-46B7-BF44-8C043D732F6A 删除标志 IsEnable @@ -39816,7 +39828,7 @@ Ghra_staff_InsureBase - + 0679F76C-AC65-4B8B-943A-C83CC80E68F1 预留字段1 Reverse1 @@ -39828,7 +39840,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 41FD814A-20A2-427D-8034-980F35C6D1F8 预留字段2 Reverse2 @@ -39840,7 +39852,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 6A2C2704-310B-4736-A32A-C8A249A50F39 预留字段3 Reverse3 @@ -39852,7 +39864,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 2122E9A5-2C78-40FF-8271-6EA5A740F546 预留字段4 Reverse4 @@ -39864,7 +39876,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + D4AD8D60-BA31-4359-AE14-E726C80C0BA5 预留字段5 Reverse5 @@ -39876,7 +39888,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 6F036B13-DC9C-4232-A130-195467A2DCFD 预留字段6 Reverse6 @@ -39888,7 +39900,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + BD6BA18C-00A6-444C-8B84-627563A0B456 预留字段7 Reverse7 @@ -39900,7 +39912,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 90CBCC9A-0D8C-4631-B5CA-0107806ED546 预留字段8 Reverse8 @@ -39912,7 +39924,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + C7FB9D85-CE79-4EB8-AD76-18CF5776C2A1 预留字段9 Reverse9 @@ -39924,7 +39936,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 6B9A1829-36BE-4C4C-90EC-8A8B761A26F0 预留字段10 Reverse10 @@ -39936,7 +39948,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 942EADA8-7D04-4459-99CF-744398B72E27 预留字段I1 ReverseI1 @@ -39948,7 +39960,7 @@ Ghra_staff_InsureBase 0 int - + 497433D4-B960-41EE-A0FF-6BD1337B5F7C 预留字段I2 ReverseI2 @@ -39962,7 +39974,7 @@ Ghra_staff_InsureBase - + 9ACF1D11-9CE0-452F-B65D-B05504728B25 Key_1 Key_1 @@ -39976,10 +39988,10 @@ Ghra_staff_InsureBase - + - + @@ -39992,7 +40004,7 @@ Ghra_staff_InsureBase Administrator 面试工单日志 - + 1F5C3D85-B53F-40A5-A73E-9BF94166EDA9 Id Id @@ -40007,7 +40019,7 @@ Ghra_staff_InsureBase - + 10B31387-3F54-4416-88BF-2DEE08216EAF 创建人 CreateBy @@ -40021,7 +40033,7 @@ Ghra_staff_InsureBase - + 37B90340-CE81-4BB5-9FD4-08F6C3C9C990 创建时间 CreateTime @@ -40035,7 +40047,7 @@ Ghra_staff_InsureBase - + 509581EE-71E6-4933-90D4-FAA8C21D7702 创建程序 CreateProg @@ -40047,7 +40059,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 6B9ECC44-D9A7-48A9-BBD2-3A0AC89E4E88 创建人IP CreateIP @@ -40059,7 +40071,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 9B257E7A-FD5F-4729-B7F4-2E1D5BF72C8E 修改人 UpdateBy @@ -40073,7 +40085,7 @@ Ghra_staff_InsureBase - + D29556F2-A34C-4D07-8CFE-3B598C5FE4AA 修改时间 UpdateTime @@ -40087,7 +40099,7 @@ Ghra_staff_InsureBase - + A20ADE28-6408-47A7-B1E2-96D2484D6397 修改程序 UpdateProg @@ -40099,7 +40111,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 534EEE23-4132-4D2B-B43A-CE8ECC35A7C4 修改人IP UpdateIP @@ -40111,7 +40123,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 7E237595-05DE-4AF2-9907-DFF15A68E9E5 操作日志ID OperateLogID @@ -40126,7 +40138,7 @@ Ghra_staff_InsureBase - + FEA87282-86DF-4025-BCBE-B336BA2ECDEE 订单ID OrderId @@ -40137,7 +40149,7 @@ Ghra_staff_InsureBase 订单ID bigint - + E6E509F3-240D-4242-9D55-1CE064A03326 备注 RemarkSz @@ -40152,7 +40164,7 @@ Ghra_staff_InsureBase - + 795AF6FE-7361-4A70-BA15-2FD25A3CBEEE 默认标志 IsDefault @@ -40167,7 +40179,7 @@ Ghra_staff_InsureBase - + 94C90B60-B5F3-4C55-88C6-46C0F9EF4ED6 删除标志 IsEnable @@ -40182,7 +40194,7 @@ Ghra_staff_InsureBase - + B3E260A6-3CBF-409D-8BAD-29186A795418 预留字段1 Reverse1 @@ -40194,7 +40206,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + FB140CF0-8C95-49E0-A557-98EA383D3CF0 预留字段2 Reverse2 @@ -40206,7 +40218,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 870F7A93-25D3-4C4C-8F65-2A7C65A5E395 预留字段3 Reverse3 @@ -40218,7 +40230,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + B3CFBC23-2481-4EF0-802C-72EE3C5FE0AD 预留字段4 Reverse4 @@ -40230,7 +40242,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 2B6D04C6-620E-4CE4-A653-58F76A47D1A2 预留字段5 Reverse5 @@ -40242,7 +40254,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 3A38D100-EA99-4B3A-8EB2-58D68EB85908 预留字段6 Reverse6 @@ -40254,7 +40266,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 686E64C4-09CD-4930-AE76-677CAC0A121E 预留字段7 Reverse7 @@ -40266,7 +40278,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + B83746EF-6BC1-41D5-9249-9EBA73E0F7D1 预留字段8 Reverse8 @@ -40278,7 +40290,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 4EA39375-C3B2-4B19-BD3F-4E6B834E5DBB 预留字段9 Reverse9 @@ -40290,7 +40302,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + E5AE5EDC-577D-4D24-AAF5-3FD83F531FB3 预留字段10 Reverse10 @@ -40302,7 +40314,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 15D7A2F5-AF92-4D58-B693-085370F8C230 预留字段I1 ReverseI1 @@ -40314,7 +40326,7 @@ Ghra_staff_InsureBase 0 int - + 917E7D6B-E02B-416B-95A3-4294EA4BA638 预留字段I2 ReverseI2 @@ -40328,7 +40340,7 @@ Ghra_staff_InsureBase - + 81B9B853-FD0C-4079-A41D-CDD9028B6A2F Key_1 Key_1 @@ -40337,15 +40349,15 @@ Ghra_staff_InsureBase 1731475926 Administrator - + - + - + @@ -40358,7 +40370,7 @@ Ghra_staff_InsureBase Administrator 面试单评估 - + 44C1FD2B-44A5-4011-B8A8-E5FBFC9AE1C0 Id Id @@ -40373,7 +40385,7 @@ Ghra_staff_InsureBase - + E9579138-7E56-46BA-8744-21369737A042 创建人 CreateBy @@ -40387,7 +40399,7 @@ Ghra_staff_InsureBase - + 676011F9-876C-422F-B5D1-C3CF2CA78524 创建时间 CreateTime @@ -40401,7 +40413,7 @@ Ghra_staff_InsureBase - + FC812E73-6496-4F8A-B561-270FBB283585 创建程序 CreateProg @@ -40413,7 +40425,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 721057A3-BBE8-40B5-8360-6FAF40B66D94 创建人IP CreateIP @@ -40425,7 +40437,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 7673DBF8-18C3-485D-B748-541B804527CE 修改人 UpdateBy @@ -40439,7 +40451,7 @@ Ghra_staff_InsureBase - + AE977FDA-C5C0-4623-B5DA-725CACDDE352 修改时间 UpdateTime @@ -40453,7 +40465,7 @@ Ghra_staff_InsureBase - + 9B602134-4EB6-4EBA-8CA1-72EF5A279C61 修改程序 UpdateProg @@ -40465,7 +40477,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 2412CE82-7EB6-4950-B14A-9F27576867E3 修改人IP UpdateIP @@ -40477,7 +40489,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 9E7A3496-5758-40EB-AF11-7E8EAD709C75 操作日志ID OperateLogID @@ -40492,7 +40504,7 @@ Ghra_staff_InsureBase - + B44C0B6C-4D1A-4659-86CE-832DAD72164A 订单ID OrderId @@ -40503,7 +40515,7 @@ Ghra_staff_InsureBase 订单ID bigint - + 6F7737CB-59FB-4E9B-B2F7-2CA75512BC0C 评估时间 AssessTime @@ -40514,7 +40526,7 @@ Ghra_staff_InsureBase 评估时间 datetime - + DDDF2DFC-B810-4B0B-B102-4B382FB92980 评估内容 AssessContent @@ -40526,7 +40538,7 @@ Ghra_staff_InsureBase nvarchar(2000) 2000 - + 0F6666B0-BBE0-4103-A201-2B6AB77ADE25 备注 RemarkSz @@ -40541,7 +40553,7 @@ Ghra_staff_InsureBase - + 0A1F56C8-A23D-415B-8179-4526D93C40E4 默认标志 IsDefault @@ -40556,7 +40568,7 @@ Ghra_staff_InsureBase - + EB7B6F70-8F89-4AF9-A7F3-1283F0FBAE76 删除标志 IsEnable @@ -40571,7 +40583,7 @@ Ghra_staff_InsureBase - + A8B4632E-84A3-4CA2-8E85-B81067316727 预留字段1 Reverse1 @@ -40583,7 +40595,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + D7C260E6-A11B-46AB-A99F-5841F384C381 预留字段2 Reverse2 @@ -40595,7 +40607,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 2B6B1EB8-DCF1-4198-86A5-EB3AD66CDB9E 预留字段3 Reverse3 @@ -40607,7 +40619,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + C2952BBA-FC38-4778-B123-F7C3F4542F4F 预留字段4 Reverse4 @@ -40619,7 +40631,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 65012BF8-4387-4FD4-9AD5-B6E8310A3433 预留字段5 Reverse5 @@ -40631,7 +40643,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + A84938F4-BB2A-40DB-833E-C5015C656A72 预留字段6 Reverse6 @@ -40643,7 +40655,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + E4613311-78FC-40B7-88D8-E602A3FC8F22 预留字段7 Reverse7 @@ -40655,7 +40667,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 0D7521E1-D62F-48E8-A62B-260CE890DA14 预留字段8 Reverse8 @@ -40667,7 +40679,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + C518C3A5-E7EF-484D-86AA-F9DBDEC16F71 预留字段9 Reverse9 @@ -40679,7 +40691,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 89400612-98F8-402A-A170-58272492DCDE 预留字段10 Reverse10 @@ -40691,7 +40703,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 29F5705C-09B9-4F36-9820-FCA413819248 预留字段I1 ReverseI1 @@ -40703,7 +40715,7 @@ Ghra_staff_InsureBase 0 int - + 339567E4-48C4-4887-934B-2D0805C8DC1B 预留字段I2 ReverseI2 @@ -40717,7 +40729,7 @@ Ghra_staff_InsureBase - + DF12F8E2-E7FE-4342-B385-CE66590E7293 Key_1 Key_1 @@ -40726,15 +40738,15 @@ Ghra_staff_InsureBase 1731476306 Administrator - + - + - + @@ -40743,11 +40755,11 @@ Ghra_staff_InsureBase Ghrh_InterviewRecord 1731491242 Administrator -1732151833 +1732152416 Administrator 面试记录 - + A7FCE2C6-5D63-47D4-BBC6-1EFDED017B68 Id Id @@ -40762,7 +40774,7 @@ Ghra_staff_InsureBase - + 7876C9D8-9165-4AE7-8E45-35F2D6749851 创建人 CreateBy @@ -40776,7 +40788,7 @@ Ghra_staff_InsureBase - + F2B68FC0-05BC-47FF-8C37-E57006567F33 创建时间 CreateTime @@ -40790,7 +40802,7 @@ Ghra_staff_InsureBase - + B40A7D1B-9596-42B9-8CE6-86B85EC36960 创建程序 CreateProg @@ -40802,7 +40814,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + DB4285E6-2979-4799-B6C5-F443830523E3 创建人IP CreateIP @@ -40814,7 +40826,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + D882B757-DFE2-4EE8-A8A3-CFC78B6E10D6 修改人 UpdateBy @@ -40828,7 +40840,7 @@ Ghra_staff_InsureBase - + AC1D5D9E-815E-4067-971C-F168B84BB22A 修改时间 UpdateTime @@ -40842,7 +40854,7 @@ Ghra_staff_InsureBase - + 59E04D87-4B2D-44F3-AE03-584132950DCE 修改程序 UpdateProg @@ -40854,7 +40866,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 5F191020-1AD4-4CDB-8EA6-501719D0DCF1 修改人IP UpdateIP @@ -40866,7 +40878,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 3D4A38C3-9633-438B-9054-146A3EF0C768 操作日志ID OperateLogID @@ -40881,7 +40893,7 @@ Ghra_staff_InsureBase - + 7CB1FA93-735B-4BBE-86AA-5D66B075F328 订单ID OrderId @@ -40892,7 +40904,7 @@ Ghra_staff_InsureBase 订单ID bigint - + EF6078FF-B51B-4A48-8594-C595FD8BAF6D 轮数 Round @@ -40904,7 +40916,7 @@ Ghra_staff_InsureBase 1 int - + 6F397F95-C7C8-431C-89B4-CF3453A56C12 面试官ID StaffId @@ -40915,7 +40927,7 @@ Ghra_staff_InsureBase 面试官ID int - + E5951B5E-C7A5-4168-BDD2-A836AD3B5F9A 预面试时间1 PlanInterviewTime1 @@ -40927,7 +40939,7 @@ Ghra_staff_InsureBase nvarchar(256) 256 - + 644313CE-A731-49A2-9F60-2BFCFC243DAE 预面试时间2 PlanInterviewTime2 @@ -40939,7 +40951,7 @@ Ghra_staff_InsureBase nvarchar(256) 256 - + 99277110-12EA-4927-8AAE-D1C27F27B574 预面试时间3 PlanInterviewTime3 @@ -40951,7 +40963,7 @@ Ghra_staff_InsureBase nvarchar(256) 256 - + 42F32289-0A42-401A-A678-43D2B3C032AB 面试时间 InterviewTime @@ -40963,7 +40975,7 @@ Ghra_staff_InsureBase nvarchar(256) 256 - + CBEA8077-4777-4E6C-B1CE-4B226ED97F76 面试开始时间 InterviewBeginTime @@ -40974,7 +40986,7 @@ Ghra_staff_InsureBase 面试开始时间 datetime - + 7CCC4390-AFBA-481C-B04A-42662A12E505 面试结束时间 InterviewEndTime @@ -40985,7 +40997,7 @@ Ghra_staff_InsureBase 面试结束时间 datetime - + F751F4F8-ABA5-446B-A37A-E4430E4B594B 简历首次查询时间 FirstViewTime @@ -40996,7 +41008,7 @@ Ghra_staff_InsureBase 简历首次查询时间 datetime - + AF3E5E82-BE2C-4656-BF99-52F4C25496E4 简历最后查询时间 LastViewTime @@ -41007,7 +41019,7 @@ Ghra_staff_InsureBase 简历首次查询时间 datetime - + 3764B07A-CD4A-429F-9D36-C2F2AD4D002C 评估时间 AssessTime @@ -41018,7 +41030,7 @@ Ghra_staff_InsureBase 评估时间 datetime - + 2A28B30A-C467-4A88-A7F1-52CC2CFB73A8 面试地点 InterviewAddress @@ -41030,7 +41042,7 @@ Ghra_staff_InsureBase nvarchar(256) 256 - + 282BFCF5-171C-4B55-935A-AAD8298501A5 是否通过 IsPass @@ -41041,7 +41053,7 @@ Ghra_staff_InsureBase 是否通过 bit - + 1BAE8964-59AC-4496-88B3-0501625C475B 面试结果 InterviewResult @@ -41053,7 +41065,18 @@ Ghra_staff_InsureBase nvarchar(2000) 2000 - + +FAE88439-8BCD-4959-A662-C70911300DA5 +是否取消 +IsCancel +1732151856 +Administrator +1732177728 +Administrator +是否取消 +bit + + 815CD8C8-217D-48A9-8F8F-88FCA0C9A616 取消原因 CancelReason @@ -41065,7 +41088,7 @@ Ghra_staff_InsureBase nvarchar(256) 256 - + C736F621-9E1E-41DC-9115-C60B06CD54DA 状态 Status @@ -41077,7 +41100,7 @@ Ghra_staff_InsureBase nvarchar(32) 32 - + 690F8DB4-C18A-453C-80D3-FEF13C5120AA 备注 RemarkSz @@ -41092,7 +41115,7 @@ Ghra_staff_InsureBase - + C9FF77A8-68C0-422C-AC7D-678D371A44B5 默认标志 IsDefault @@ -41107,7 +41130,7 @@ Ghra_staff_InsureBase - + 5D7585F3-021E-4057-822B-68DD4DFE35C5 删除标志 IsEnable @@ -41122,7 +41145,7 @@ Ghra_staff_InsureBase - + 77808567-C5E3-41C9-ADF2-946B288D6A7D 预留字段1 Reverse1 @@ -41134,7 +41157,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 5CC0BE47-B3B3-42D8-B062-163112BD1540 预留字段2 Reverse2 @@ -41146,7 +41169,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + BE3E005E-4715-4FE2-9448-49F45E15B61A 预留字段3 Reverse3 @@ -41158,7 +41181,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + C5ADDA06-013D-4671-8A9F-2A4BBB035769 预留字段4 Reverse4 @@ -41170,7 +41193,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 47638E15-E31D-4C81-89B3-20D45FC8D5CD 预留字段5 Reverse5 @@ -41182,7 +41205,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 62326CFB-192F-4A10-AAD2-ECFCC74B1489 预留字段6 Reverse6 @@ -41194,7 +41217,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 54454335-7E26-4583-9CED-35F63F68BBE3 预留字段7 Reverse7 @@ -41206,7 +41229,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 0EB510B9-5519-4DBC-A47F-56439571757B 预留字段8 Reverse8 @@ -41218,7 +41241,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + D5473D59-8EE1-4CBB-8753-443D1B99C938 预留字段9 Reverse9 @@ -41230,7 +41253,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 89BA5980-4DA8-4602-8481-C24A4283643E 预留字段10 Reverse10 @@ -41242,7 +41265,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 896BF59A-75D4-4E31-A422-AFD11E0C1BB6 预留字段I1 ReverseI1 @@ -41254,7 +41277,7 @@ Ghra_staff_InsureBase 0 int - + 7039D60D-7075-4523-B0A5-490C7393B79B 预留字段I2 ReverseI2 @@ -41268,7 +41291,7 @@ Ghra_staff_InsureBase - + 75123F88-F634-4127-86CF-8751327D3813 Key_1 Key_1 @@ -41277,15 +41300,15 @@ Ghra_staff_InsureBase 1731491242 Administrator - + - + - + @@ -41309,7 +41332,7 @@ Ghra_staff_InsureBase - + 7F0DCA7C-274D-48A8-B3D8-0FD7B707AFC2 1714101292 Administrator @@ -41343,7 +41366,7 @@ Ghra_staff_InsureBase - + D23C452C-4BB6-4C2A-AB2E-E8434D958A77 1714101335 Administrator @@ -41358,7 +41381,7 @@ Ghra_staff_InsureBase - + 55EBFC84-83AC-4EDF-BADD-29FA719652D1 Reference_13 Reference_13 @@ -41377,7 +41400,7 @@ Ghra_staff_InsureBase - + D4016F9D-5631-4F9E-A70D-D42133A4EBB7 1714107872 Administrator @@ -41411,7 +41434,7 @@ Ghra_staff_InsureBase - + BEBA3346-CCC6-41D9-B95B-12B8F81188BF 1714108449 Administrator @@ -41445,7 +41468,7 @@ Ghra_staff_InsureBase - + FC69BEF9-F863-4A65-903E-CB2850197526 1714109221 Administrator @@ -41479,7 +41502,7 @@ Ghra_staff_InsureBase - + ACE0AB02-0D27-4F1C-BF71-738C20DF96C2 1714120556 Administrator @@ -41513,7 +41536,7 @@ Ghra_staff_InsureBase - + B95672ED-9976-4742-9FFC-52B326620682 1715565535 Administrator @@ -41547,7 +41570,7 @@ Ghra_staff_InsureBase - + B6E89235-A6E0-460D-9228-DCA8C58EE2AD 1715570661 Administrator @@ -41581,7 +41604,7 @@ Ghra_staff_InsureBase - + 5D4938F3-7934-4F74-891C-97DC9DC47B1B 1716798640 Administrator @@ -41615,7 +41638,7 @@ Ghra_staff_InsureBase - + 179079CB-7169-4B19-A07A-A61C331F59CD 1716876897 Administrator @@ -41649,7 +41672,7 @@ Ghra_staff_InsureBase - + DD965546-2361-4301-82D7-446B823BDCFD 1717481682 Administrator @@ -41683,7 +41706,7 @@ Ghra_staff_InsureBase - + E78B14FB-C2C3-4DCA-A3B4-CA471817B9FC 1717726229 Administrator @@ -41717,7 +41740,7 @@ Ghra_staff_InsureBase - + 8C71D6B9-780B-4547-ADFD-986E619F4DCD 1719381914 Administrator @@ -41751,7 +41774,7 @@ Ghra_staff_InsureBase - + EB9D1A5A-99AB-44AD-9B1A-D45E66C0CFDE 1719468257 Administrator @@ -41785,7 +41808,7 @@ Ghra_staff_InsureBase - + ACF1454B-2C3F-40E5-ADC5-4A48787EB937 1720488320 Administrator @@ -41819,7 +41842,7 @@ Ghra_staff_InsureBase - + 55351100-6B8C-411A-838F-ADF17D7249C7 1721372650 Administrator @@ -41834,7 +41857,7 @@ Ghra_staff_InsureBase - + 465DBD55-7683-4A4B-91D3-B7019ED619F0 Reference_114 Reference_114 @@ -41853,7 +41876,7 @@ Ghra_staff_InsureBase - + CE1833FA-A783-4FAC-87BF-AA0FF8008532 1721280283 Administrator @@ -41887,7 +41910,7 @@ Ghra_staff_InsureBase - + 18F2EFF3-BD41-4F96-96C8-D8B15C7E2644 1721372603 Administrator @@ -41921,7 +41944,7 @@ Ghra_staff_InsureBase - + F7ECB7BC-BA8B-4606-B521-999C20FD5C43 1722318917 Administrator @@ -41955,7 +41978,7 @@ Ghra_staff_InsureBase - + 6764C448-6B6B-4DD7-AED9-8E74CDD1261A 1727335554 Administrator @@ -41989,7 +42012,7 @@ Ghra_staff_InsureBase - + C8D69BA0-B62F-4A3E-981C-59D5FC0C2A03 1727336760 Administrator @@ -42023,7 +42046,7 @@ Ghra_staff_InsureBase - + 09B3F4FA-149B-4BB2-8D4C-CB9E05153125 1727336895 Administrator @@ -42057,7 +42080,7 @@ Ghra_staff_InsureBase - + D0D47F43-60D2-4012-A1C6-7EE1F23B2B48 1727337857 Administrator @@ -42072,7 +42095,7 @@ Ghra_staff_InsureBase - + E261580B-7706-444D-9E7B-6A1A5968579B Reference_24 Reference_24 @@ -42091,7 +42114,7 @@ Ghra_staff_InsureBase - + A9F8F17E-368A-42BA-B603-19B2CAF61361 1728532955 Administrator @@ -42125,7 +42148,7 @@ Ghra_staff_InsureBase - + 88DE8617-23F2-4075-A9EB-3AEA05F12872 1728532977 Administrator @@ -42159,7 +42182,7 @@ Ghra_staff_InsureBase - + 36AE3FE2-B4E5-4FF7-ADD1-93D1ABD487CD 1728533087 Administrator @@ -42174,7 +42197,7 @@ Ghra_staff_InsureBase - + AB9D9DC4-987C-4E4B-9BD3-35091CDBA380 Reference_27 Reference_27 @@ -42193,7 +42216,7 @@ Ghra_staff_InsureBase - + E2D02611-09C9-42E2-AA43-22E820AF219C 1728626387 Administrator @@ -42227,7 +42250,7 @@ Ghra_staff_InsureBase - + 62F35C8E-87DA-43C4-AAE9-A47D112F8E0A 1728540045 Administrator @@ -42261,7 +42284,7 @@ Ghra_staff_InsureBase - + 3759DC14-1A7D-4121-AAE1-58CE6813A0AA 1728541044 Administrator @@ -42295,7 +42318,7 @@ Ghra_staff_InsureBase - + 1791558D-852F-437C-97F6-7F9D11EE26DB 1729662916 Administrator @@ -42329,7 +42352,7 @@ Ghra_staff_InsureBase - + 00049FDC-8297-463E-9347-A571E3AB9C9E 1729663415 Administrator @@ -42363,7 +42386,7 @@ Ghra_staff_InsureBase - + B7B6FBF6-DC05-4490-8656-A5DEAF831781 1730250294 Administrator @@ -42397,7 +42420,7 @@ Ghra_staff_InsureBase - + A0C97DD9-1C72-4A18-9FEE-EE6A9AEF21F8 1730336852 Administrator @@ -42431,7 +42454,7 @@ Ghra_staff_InsureBase - + 39FD6B5F-C473-44DF-969E-D851D388EBAE 1730340808 Administrator @@ -42465,7 +42488,7 @@ Ghra_staff_InsureBase - + C4EECAD7-F267-4702-A253-CA499692A254 1730346502 Administrator @@ -42496,10 +42519,10 @@ Ghra_staff_InsureBase - + - + 3EBD04DF-C924-4032-982C-CA9EF3B72E39 1731478017 Administrator @@ -42509,7 +42532,7 @@ Ghra_staff_InsureBase - + @@ -42530,10 +42553,10 @@ Ghra_staff_InsureBase - + - + DE13B6DD-B49E-4F3E-8AF7-BEB535EE3CC6 1731478076 Administrator @@ -42543,7 +42566,7 @@ Ghra_staff_InsureBase - + @@ -42564,10 +42587,10 @@ Ghra_staff_InsureBase - + - + 28C77E11-7423-4D63-9053-A5D40E7940AF 1731491451 Administrator @@ -42577,7 +42600,7 @@ Ghra_staff_InsureBase - + @@ -42589,7 +42612,7 @@ Ghra_staff_InsureBase - + A1DD77B6-E48E-4C9D-947D-D42E3C5240C2 dbo dbo @@ -42602,7 +42625,7 @@ Ghra_staff_InsureBase - + C012A467-0031-4F3C-9D9D-13408491E147 DefaultSchema 1597196432 @@ -42610,12 +42633,12 @@ Ghra_staff_InsureBase 1597196433 ttsoftxch - + - + 41D2B655-5319-49C5-9BA6-133BB8B097CA dbo dbo @@ -42627,7 +42650,7 @@ Ghra_staff_InsureBase - + 2153E033-C4DC-4F90-B2F4-3B0F44BD33D5 文本 TEXT @@ -42637,7 +42660,7 @@ Ghra_staff_InsureBase ttsoftxch text - + AC8799D0-82CA-4B70-ADAC-18D8797720A9 图片 IMAGE @@ -42647,7 +42670,7 @@ Ghra_staff_InsureBase Administrator image - + DEC04470-B84A-413E-9B2A-C265C5506182 加密 ENCRYPT_STRING @@ -42658,7 +42681,7 @@ Ghra_staff_InsureBase nvarchar(256) 256 - + 538C6297-7080-43C1-9455-AD6516B6FBB2 数字 NUMBER @@ -42670,7 +42693,7 @@ Ghra_staff_InsureBase 20 6 - + AF15A9FA-052F-43E5-9102-57F195CBCFDE 类别 TYPE @@ -42681,7 +42704,7 @@ Ghra_staff_InsureBase varchar(32) 32 - + D0936140-81BD-463E-B0ED-FE3F86828A2C 特长字符串 LONG_LONG_STRING @@ -42692,7 +42715,7 @@ Ghra_staff_InsureBase varchar(256) 256 - + 5FBDAFFC-EA04-407B-877F-58752C2E736C 金额 AMOUNT @@ -42704,7 +42727,7 @@ Ghra_staff_InsureBase 20 6 - + F461E3FD-0A64-4712-BC09-C0BA3C248E5B 描述 DESCRIPTION @@ -42715,7 +42738,7 @@ Ghra_staff_InsureBase varchar(4000) 4000 - + 703A2917-B6C4-4BC6-B2CB-6AB8E2B49D30 短字符串 SHORT_STRING @@ -42726,7 +42749,7 @@ Ghra_staff_InsureBase varchar(64) 64 - + 89A476D2-A1C0-428C-9875-26A50B7AFE1A 长字符串 LONG_STRING @@ -42748,7 +42771,7 @@ Ghra_staff_InsureBase varchar(2000) 2000 - + @@ -42762,7 +42785,7 @@ Ghra_staff_InsureBase char(1) 1 - + 82662C91-618F-4022-B9CD-1A431DC84A0A 名称 NAME @@ -42783,7 +42806,7 @@ Ghra_staff_InsureBase Administrator int - + 77F6BD58-5A9D-44F7-988C-76608A3F38B5 代码 CODE @@ -42815,7 +42838,7 @@ Ghra_staff_InsureBase varchar(32) 32 - + DA200725-BFB0-4351-9C3E-DC30C036538E STATUS STATUS @@ -42826,7 +42849,7 @@ Ghra_staff_InsureBase varchar(32) 32 - + CB2F08D6-BE17-4046-B94A-4FD00EDA9015 文件 FILE @@ -42836,7 +42859,7 @@ Ghra_staff_InsureBase feipeng image - + 7CC45A5C-15C8-4CA8-BBEB-66FE3DAB482F 字符串512 STRING_512 @@ -42849,7 +42872,7 @@ Ghra_staff_InsureBase - + B41C21E8-76E9-4031-8EF0-34743E5525C5 PUBLIC PUBLIC @@ -42858,13 +42881,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 802eb059..c5f9bb75 100644 --- a/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ResumeController.cs +++ b/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ResumeController.cs @@ -42,7 +42,7 @@ public class Ghrh_ResumeController : BaseController - 不合格 + 不合适 + + + + + 面试不合适 diff --git a/Tiobon.Core.Model/Consts.cs b/Tiobon.Core.Model/Consts.cs index c3c5d501..7ba38252 100644 --- a/Tiobon.Core.Model/Consts.cs +++ b/Tiobon.Core.Model/Consts.cs @@ -327,9 +327,13 @@ public class Consts /// public const string End = "End"; /// - /// 不合格 + /// 不合适 /// public const string Fail = "Fail"; + /// + /// 面试不合适 + /// + public const string InterviewFail = "InterviewFail"; } #endregion } \ No newline at end of file diff --git a/Tiobon.Core.Model/Models/Ghrh/Ghrh_InterviewOrder.cs b/Tiobon.Core.Model/Models/Ghrh/Ghrh_InterviewOrder.cs index b5f48b9a..69014e3d 100644 --- a/Tiobon.Core.Model/Models/Ghrh/Ghrh_InterviewOrder.cs +++ b/Tiobon.Core.Model/Models/Ghrh/Ghrh_InterviewOrder.cs @@ -79,7 +79,7 @@ public class Ghrh_InterviewOrder : BasePoco /// /// 面试结果 /// - [Display(Name = "InterviewResult"), Description("面试结果"), MaxLength(256, ErrorMessage = "面试结果 不能超过 2000 个字符")] + [Display(Name = "InterviewResult"), Description("面试结果"), MaxLength(2000, ErrorMessage = "面试结果 不能超过 2000 个字符")] public string InterviewResult { get; set; } /// diff --git a/Tiobon.Core.Model/View/Ghrh/Ghrh_Resume.Dto.View.cs b/Tiobon.Core.Model/View/Ghrh/Ghrh_Resume.Dto.View.cs index 72dca4d0..a40c11bd 100644 --- a/Tiobon.Core.Model/View/Ghrh/Ghrh_Resume.Dto.View.cs +++ b/Tiobon.Core.Model/View/Ghrh/Ghrh_Resume.Dto.View.cs @@ -46,6 +46,7 @@ public class Ghrh_ResumeDto : Ghrh_Resume public string UrgentRelationLabel { get; set; } public List TagList { get; set; } + public List TagIds { get; set; } public List EduBG { get; set; } public List WorkExp { get; set; } @@ -56,7 +57,11 @@ public class Ghrh_ResumeDto : Ghrh_Resume public int? Round { get; set; } public bool? IsPass { get; set; } + public string InterviewResult { get; set; } + + public string IsPassLabel { get; set; } + public string OrderStatus { get; set; } public int? StaffId { get; set; } diff --git a/Tiobon.Core.Model/ViewModels/Extend/ResumeViewTab.cs b/Tiobon.Core.Model/ViewModels/Extend/ResumeViewTab.cs index ff8d6a9a..2bf308a8 100644 --- a/Tiobon.Core.Model/ViewModels/Extend/ResumeViewTab.cs +++ b/Tiobon.Core.Model/ViewModels/Extend/ResumeViewTab.cs @@ -69,7 +69,7 @@ public class ResumeRecommendForm /// /// 人力需求维护ID /// - public long RequestId { get; set; } + public long? RequestId { get; set; } /// /// 简历ID列表 @@ -163,6 +163,8 @@ public class ResumeScheduleInterviewResult /// public List Attachments { get; set; } = new(); + public List Staffs { get; set; } + } public class ResumeRecommendFormStaff @@ -170,7 +172,7 @@ public class ResumeRecommendFormStaff /// /// 员工ID /// - public int StaffId { get; set; } + public int? StaffId { get; set; } /// /// 邮箱 diff --git a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs index 9849369b..d51ccd46 100644 --- a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs +++ b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs @@ -1,6 +1,4 @@ -using Microsoft.EntityFrameworkCore.ChangeTracking; -using Tiobon.Core.Model.Models; -using static Tiobon.Core.Model.Consts; +using static Tiobon.Core.Model.Consts; namespace Tiobon.Core.Services; @@ -91,7 +89,7 @@ public class Ghrh_ResumeServices : BaseServices x.Status == DIC_INTERVIEW_ORDER_STATUS.HasRecommended); + whereExpression.And(x => (x.Status == DIC_INTERVIEW_ORDER_STATUS.HasRecommended || x.Status == DIC_INTERVIEW_ORDER_STATUS.Fail)); break; case "WaitAppointment": if (jsonParam.columnValue.ObjToInt() == 1) @@ -103,7 +101,7 @@ public class Ghrh_ResumeServices : BaseServices x.Status == DIC_INTERVIEW_ORDER_STATUS.HasInterview); + whereExpression.And(x => (x.Status == DIC_INTERVIEW_ORDER_STATUS.HasInterview || x.Status == DIC_INTERVIEW_ORDER_STATUS.InterviewFail)); break; case "WaitSendOffer": if (jsonParam.columnValue.ObjToInt() == 1) @@ -228,6 +226,7 @@ public class Ghrh_ResumeServices : BaseServices>(x.Tags)); }); + var orders = await _ghrh_InterviewOrderServices.Query(x => x.ResumeId != null && ids.Contains(x.ResumeId.Value)); tagIds = tagIds.Distinct().ToList(); var tags = await _ghrh_ResumeTagServices.QueryDto(x => tagIds.Contains(x.Id)); list.ForEach(async x => @@ -249,6 +248,7 @@ public class Ghrh_ResumeServices : BaseServices>(x.Tags); + x.TagIds = tagIds1; x.TagList = tags.Where(o => tagIds1.Contains(o.Id)).Select(o => o.TagName).ToList(); } @@ -263,6 +263,14 @@ public class Ghrh_ResumeServices : BaseServices o.ResumeId == x.ResumeId).FirstOrDefault(); + if (order != null) + { + x.IsPass = order.IsPass; + x.IsPassLabel = order.IsPass == true ? "通过" : "不通过"; + x.InterviewResult = order.InterviewResult; + } }); return result; @@ -959,6 +967,8 @@ END"; if (entity != null && entity.Status != DIC_INTERVIEW_ORDER_STATUS.WaitRecommended) resume.Base.Status = entity.Status; + if (resume.Base.Status.IsNullOrEmpty()) + resume.Base.Status = DIC_INTERVIEW_ORDER_STATUS.WaitRecommended; if (resume.Base.PhotoUrls != null && resume.Base.PhotoUrls.Any()) resume.Base.PhotoUrl = resume.Base.PhotoUrls[0].RelativePath; await base.Update(id, resume.Base); @@ -1260,6 +1270,16 @@ END"; public async Task Recommend(ResumeRecommendForm recommend) { + if (recommend.RequestId.IsNullOrEmpty()) + throw new Exception("请先选择用人申请单!"); + + if (recommend.InterviewStaffs.IsNullOrEmpty()) + throw new Exception("请先选择面试者!"); + recommend.InterviewStaffs = recommend.InterviewStaffs.Where(x => x.StaffId != null).ToList(); + + if (!recommend.InterviewStaffs.Any()) + throw new Exception("请先选择面试者!"); + for (int m = 0; m < recommend.ids.Count; m++) { var id = recommend.ids[m]; @@ -1273,10 +1293,10 @@ END"; x.Status == DIC_INTERVIEW_ORDER_STATUS.HasInterview))) continue; - //await Db.Updateable() - // .SetColumns(it => it.IsEnable == 0) - // .Where(it => it.ResumeId == id) - // .ExecuteCommandAsync(); + await Db.Updateable() + .SetColumns(it => it.IsEnable == 0) + .Where(it => it.ResumeId == id) + .ExecuteCommandAsync(); var orderId = await _ghrh_InterviewOrderServices.Add(new InsertGhrh_InterviewOrderInput() { @@ -1584,7 +1604,7 @@ END"; await Update(entity, ["Status"]); if (input.InterviewStaffs.IsNotEmptyOrNull()) - await SendMessage(input.InterviewStaffs.Select(x => x.StaffId).ToList(), "简历提醒", "您有个新的邀约面试,请及时查看!"); + await SendMessage(input.InterviewStaffs.Select(x => x.StaffId.Value).ToList(), "简历提醒", "您有个新的邀约面试,请及时查看!"); } @@ -1611,7 +1631,7 @@ END"; }); if (input.InterviewStaffs.IsNotEmptyOrNull()) - await SendMessage(input.InterviewStaffs.Select(x => x.StaffId).ToList(), "简历提醒", "您有个新的推荐简历,请及时查看!"); + await SendMessage(input.InterviewStaffs.Select(x => x.StaffId.Value).ToList(), "简历提醒", "您有个新的推荐简历,请及时查看!"); } } return ServiceResult.OprateSuccess(); @@ -1626,7 +1646,7 @@ END"; return ServiceResult.OprateFailed("无效的简历ID!"); var order = await _ghrh_InterviewOrderServices.QuerySingle(x => x.ResumeId == id); - order.Status = DIC_INTERVIEW_ORDER_STATUS.HasInterview; + order.Status = DIC_INTERVIEW_ORDER_STATUS.InterviewFail; order.IsPass = input.IsPass; order.InterviewResult = input.Content; await _ghrh_InterviewOrderServices.Update(order, ["Status", "IsPass", "InterviewResult"]); @@ -1635,10 +1655,10 @@ END"; record.InterviewResult = input.Content; record.IsPass = input.IsPass; record.AssessTime = DateTime.Now; - record.Status = DIC_INTERVIEW_ORDER_STATUS.HasInterview; + record.Status = DIC_INTERVIEW_ORDER_STATUS.InterviewFail; await _ghrh_InterviewRecordServices.Update(record, ["AssessTime", "Status", "IsPass", "InterviewResult"]); - await UpdateResumeStatus(entity, DIC_INTERVIEW_ORDER_STATUS.HasInterview); + await UpdateResumeStatus(entity, DIC_INTERVIEW_ORDER_STATUS.InterviewFail); await LogRecord(order.Id, $"填写了面试评估,轮数:{order.Round},是否通过:{(input.IsPass == true ? "通过" : "不通过")},内容:{input.Content}!"); return ServiceResult.OprateSuccess(); @@ -1811,6 +1831,9 @@ END"; if (entity == null) return ServiceResult.OprateFailed("无效的简历ID!"); + if (entity.Status != DIC_INTERVIEW_ORDER_STATUS.HasInterview) + return ServiceResult.OprateFailed("暂不可发起录用审批!"); + await UpdateResumeStatus(entity, DIC_INTERVIEW_ORDER_STATUS.WaitSendOffer); var order = await _ghrh_InterviewOrderServices.QuerySingle(x => x.ResumeId == id); @@ -1969,7 +1992,7 @@ WHERE A.IsEnable = 1 AND C.IsEnable = 1"; break; case "HasInterview": if (jsonParam.columnValue.ObjToInt() == 1) - sql += $" AND C.Status = '{DIC_INTERVIEW_ORDER_STATUS.HasInterview}'"; + sql += $" AND (C.Status = '{DIC_INTERVIEW_ORDER_STATUS.HasInterview}' OR C.Status = '{DIC_INTERVIEW_ORDER_STATUS.InterviewFail}')"; break; case "WaitSendOffer": if (jsonParam.columnValue.ObjToInt() == 1) @@ -1983,6 +2006,10 @@ WHERE A.IsEnable = 1 AND C.IsEnable = 1"; if (jsonParam.columnValue.ObjToInt() == 1) sql += $" AND C.Status = '{DIC_INTERVIEW_ORDER_STATUS.HasOffer}'"; break; + case "Fail": + if (jsonParam.columnValue.ObjToInt() == 1) + sql += $" AND C.Status = '{DIC_INTERVIEW_ORDER_STATUS.Fail}'"; + break; case "SalaryPeriod": case "Education": @@ -2132,6 +2159,8 @@ WHERE A.IsEnable = 1 AND C.IsEnable = 1"; x.Age = age; } #endregion + if (x.IsPass != null) + x.IsPassLabel = x.IsPass == true ? "通过" : "不通过"; }); return new ServicePageResult(filter.pageNum, totalCount, filter.pageSize, list); @@ -2145,7 +2174,7 @@ WHERE A.IsEnable = 1 AND C.IsEnable = 1"; var result = new ResumeScheduleInterviewResult(); var entity = base.QueryById(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); + var records = await _ghrh_InterviewRecordServices.Query(x => x.Round == order.Round && x.OrderId == order.Id); var request = await _ghrh_HumanRequestServices.QueryById(order.RequestId); result.RequestId = order.RequestId; @@ -2156,16 +2185,24 @@ WHERE A.IsEnable = 1 AND C.IsEnable = 1"; result.InterviewCount = request.InterviewCount; result.OfferCount = request.OfferCount; result.Times = new List(); - if (record.PlanInterviewTime1.IsNotEmptyOrNull()) - result.Times.Add(record.PlanInterviewTime1); - - if (record.PlanInterviewTime2.IsNotEmptyOrNull()) - result.Times.Add(record.PlanInterviewTime2); - - if (record.PlanInterviewTime3.IsNotEmptyOrNull()) - result.Times.Add(record.PlanInterviewTime3); + result.Staffs = new(); + if (records != null && records.Any()) + { + var record = records.Where(x => x.PlanInterviewTime1 != null).FirstOrDefault(); + if (record != null) + { + if (record.PlanInterviewTime1.IsNotEmptyOrNull()) + result.Times.Add(record.PlanInterviewTime1); + if (record.PlanInterviewTime2.IsNotEmptyOrNull()) + result.Times.Add(record.PlanInterviewTime2); + if (record.PlanInterviewTime3.IsNotEmptyOrNull()) + result.Times.Add(record.PlanInterviewTime3); + } + var staffIds = records.Where(x => x.StaffId != null).Select(x => x.StaffId.Value).ToList(); + result.Staffs = await Db.Queryable().Where(x => staffIds.Contains(x.StaffID)).ToListAsync(); + } return ServiceResult.OprateSuccess("查询成功", result); } diff --git a/Tiobon.Core/Tiobon.Core.Model.xml b/Tiobon.Core/Tiobon.Core.Model.xml index 9b550d94..14aca075 100644 --- a/Tiobon.Core/Tiobon.Core.Model.xml +++ b/Tiobon.Core/Tiobon.Core.Model.xml @@ -22464,7 +22464,12 @@ - 不合格 + 不合适 + + + + + 面试不合适