From e931ed99abfc1f5e5053e26f99b9669010917645 Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Wed, 13 Nov 2024 16:59:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=AE=80=E5=8E=86=E5=BA=93?= =?UTF-8?q?=E5=B7=B2=E6=8E=A8=E8=8D=90=E5=8F=91=E9=80=81=E6=8F=90=E9=86=92?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Model/Tiobon.Web.pdm | 333 ++++++++++-------- .../Controllers/Ghrh/Ghrh_ResumeController.cs | 6 +- .../Base/Ghrh/Ghrh_InterviewOrder.Dto.Base.cs | 10 + Tiobon.Core.Model/Consts.cs | 5 + .../Models/Ghrh/Ghrh_InterviewOrder.cs | 10 + .../Ghrh/Ghrh_ResumeServices.cs | 34 +- 6 files changed, 238 insertions(+), 160 deletions(-) diff --git a/Model/Tiobon.Web.pdm b/Model/Tiobon.Web.pdm index c0419e72..02fdbfc3 100644 --- a/Model/Tiobon.Web.pdm +++ b/Model/Tiobon.Web.pdm @@ -1,5 +1,5 @@ - + @@ -39016,22 +39016,21 @@ Ghra_staff_InsureBase 0E439255-9DC9-4C87-B49F-6D160516C458 岗位名称 -JobId +TitleId 1730425965 Administrator -1730427147 +1731485272 Administrator 岗位名称 -nvarchar(200) -200 +bigint E7F329F6-52CF-4613-8A28-96799B1A4C73 岗位编号 -JobNo +TitleNo 1730426110 Administrator -1730427125 +1731485269 Administrator 岗位编号 nvarchar(200) @@ -39455,7 +39454,7 @@ Ghra_staff_InsureBase Ghrh_InterviewOrder 1731475866 Administrator -1731479499 +1731486829 Administrator 面试工单 @@ -39744,6 +39743,28 @@ Ghra_staff_InsureBase 256 +65FB7452-63C3-4928-A78C-D9EB07F16E86 +简历首次查询时间 +FirstViewTime +1731486635 +Administrator +1731486872 +Administrator +简历首次查询时间 +datetime + + +D326DD03-A2BB-4387-A6CF-EFAA3D8281F3 +简历最后查询时间 +LastViewTime +1731486828 +Administrator +1731486880 +Administrator +简历首次查询时间 +datetime + + 1973B184-54A0-49B6-A605-B332F40C2336 状态 Status @@ -39755,7 +39776,7 @@ Ghra_staff_InsureBase nvarchar(32) 32 - + 0B0AC5CD-7584-4B55-9248-9FD0E790E977 备注 RemarkSz @@ -39770,7 +39791,7 @@ Ghra_staff_InsureBase - + 33E27793-3CB0-4835-8451-928000083E3E 默认标志 IsDefault @@ -39785,7 +39806,7 @@ Ghra_staff_InsureBase - + 2739B215-6C23-46B7-BF44-8C043D732F6A 删除标志 IsEnable @@ -39800,7 +39821,7 @@ Ghra_staff_InsureBase - + 0679F76C-AC65-4B8B-943A-C83CC80E68F1 预留字段1 Reverse1 @@ -39812,7 +39833,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 41FD814A-20A2-427D-8034-980F35C6D1F8 预留字段2 Reverse2 @@ -39824,7 +39845,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 6A2C2704-310B-4736-A32A-C8A249A50F39 预留字段3 Reverse3 @@ -39836,7 +39857,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 2122E9A5-2C78-40FF-8271-6EA5A740F546 预留字段4 Reverse4 @@ -39848,7 +39869,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + D4AD8D60-BA31-4359-AE14-E726C80C0BA5 预留字段5 Reverse5 @@ -39860,7 +39881,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 6F036B13-DC9C-4232-A130-195467A2DCFD 预留字段6 Reverse6 @@ -39872,7 +39893,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + BD6BA18C-00A6-444C-8B84-627563A0B456 预留字段7 Reverse7 @@ -39884,7 +39905,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 90CBCC9A-0D8C-4631-B5CA-0107806ED546 预留字段8 Reverse8 @@ -39896,7 +39917,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + C7FB9D85-CE79-4EB8-AD76-18CF5776C2A1 预留字段9 Reverse9 @@ -39908,7 +39929,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 6B9A1829-36BE-4C4C-90EC-8A8B761A26F0 预留字段10 Reverse10 @@ -39920,7 +39941,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 942EADA8-7D04-4459-99CF-744398B72E27 预留字段I1 ReverseI1 @@ -39932,7 +39953,7 @@ Ghra_staff_InsureBase 0 int - + 497433D4-B960-41EE-A0FF-6BD1337B5F7C 预留字段I2 ReverseI2 @@ -39946,7 +39967,7 @@ Ghra_staff_InsureBase - + 9ACF1D11-9CE0-452F-B65D-B05504728B25 Key_1 Key_1 @@ -39960,10 +39981,10 @@ Ghra_staff_InsureBase - + - + @@ -39976,7 +39997,7 @@ Ghra_staff_InsureBase Administrator 面试工单日志 - + 1F5C3D85-B53F-40A5-A73E-9BF94166EDA9 Id Id @@ -39991,7 +40012,7 @@ Ghra_staff_InsureBase - + 10B31387-3F54-4416-88BF-2DEE08216EAF 创建人 CreateBy @@ -40005,7 +40026,7 @@ Ghra_staff_InsureBase - + 37B90340-CE81-4BB5-9FD4-08F6C3C9C990 创建时间 CreateTime @@ -40019,7 +40040,7 @@ Ghra_staff_InsureBase - + 509581EE-71E6-4933-90D4-FAA8C21D7702 创建程序 CreateProg @@ -40031,7 +40052,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 6B9ECC44-D9A7-48A9-BBD2-3A0AC89E4E88 创建人IP CreateIP @@ -40043,7 +40064,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 9B257E7A-FD5F-4729-B7F4-2E1D5BF72C8E 修改人 UpdateBy @@ -40057,7 +40078,7 @@ Ghra_staff_InsureBase - + D29556F2-A34C-4D07-8CFE-3B598C5FE4AA 修改时间 UpdateTime @@ -40071,7 +40092,7 @@ Ghra_staff_InsureBase - + A20ADE28-6408-47A7-B1E2-96D2484D6397 修改程序 UpdateProg @@ -40083,7 +40104,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 534EEE23-4132-4D2B-B43A-CE8ECC35A7C4 修改人IP UpdateIP @@ -40095,7 +40116,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 7E237595-05DE-4AF2-9907-DFF15A68E9E5 操作日志ID OperateLogID @@ -40110,7 +40131,7 @@ Ghra_staff_InsureBase - + FEA87282-86DF-4025-BCBE-B336BA2ECDEE 订单ID OrderId @@ -40121,7 +40142,7 @@ Ghra_staff_InsureBase 订单ID bigint - + E6E509F3-240D-4242-9D55-1CE064A03326 备注 RemarkSz @@ -40136,7 +40157,7 @@ Ghra_staff_InsureBase - + 795AF6FE-7361-4A70-BA15-2FD25A3CBEEE 默认标志 IsDefault @@ -40151,7 +40172,7 @@ Ghra_staff_InsureBase - + 94C90B60-B5F3-4C55-88C6-46C0F9EF4ED6 删除标志 IsEnable @@ -40166,7 +40187,7 @@ Ghra_staff_InsureBase - + B3E260A6-3CBF-409D-8BAD-29186A795418 预留字段1 Reverse1 @@ -40178,7 +40199,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + FB140CF0-8C95-49E0-A557-98EA383D3CF0 预留字段2 Reverse2 @@ -40190,7 +40211,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 870F7A93-25D3-4C4C-8F65-2A7C65A5E395 预留字段3 Reverse3 @@ -40202,7 +40223,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + B3CFBC23-2481-4EF0-802C-72EE3C5FE0AD 预留字段4 Reverse4 @@ -40214,7 +40235,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 2B6D04C6-620E-4CE4-A653-58F76A47D1A2 预留字段5 Reverse5 @@ -40226,7 +40247,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 3A38D100-EA99-4B3A-8EB2-58D68EB85908 预留字段6 Reverse6 @@ -40238,7 +40259,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 686E64C4-09CD-4930-AE76-677CAC0A121E 预留字段7 Reverse7 @@ -40250,7 +40271,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + B83746EF-6BC1-41D5-9249-9EBA73E0F7D1 预留字段8 Reverse8 @@ -40262,7 +40283,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 4EA39375-C3B2-4B19-BD3F-4E6B834E5DBB 预留字段9 Reverse9 @@ -40274,7 +40295,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + E5AE5EDC-577D-4D24-AAF5-3FD83F531FB3 预留字段10 Reverse10 @@ -40286,7 +40307,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 15D7A2F5-AF92-4D58-B693-085370F8C230 预留字段I1 ReverseI1 @@ -40298,7 +40319,7 @@ Ghra_staff_InsureBase 0 int - + 917E7D6B-E02B-416B-95A3-4294EA4BA638 预留字段I2 ReverseI2 @@ -40312,7 +40333,7 @@ Ghra_staff_InsureBase - + 81B9B853-FD0C-4079-A41D-CDD9028B6A2F Key_1 Key_1 @@ -40321,15 +40342,15 @@ Ghra_staff_InsureBase 1731475926 Administrator - + - + - + @@ -40342,7 +40363,7 @@ Ghra_staff_InsureBase Administrator 面试单评估 - + 44C1FD2B-44A5-4011-B8A8-E5FBFC9AE1C0 Id Id @@ -40357,7 +40378,7 @@ Ghra_staff_InsureBase - + E9579138-7E56-46BA-8744-21369737A042 创建人 CreateBy @@ -40371,7 +40392,7 @@ Ghra_staff_InsureBase - + 676011F9-876C-422F-B5D1-C3CF2CA78524 创建时间 CreateTime @@ -40385,7 +40406,7 @@ Ghra_staff_InsureBase - + FC812E73-6496-4F8A-B561-270FBB283585 创建程序 CreateProg @@ -40397,7 +40418,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 721057A3-BBE8-40B5-8360-6FAF40B66D94 创建人IP CreateIP @@ -40409,7 +40430,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 7673DBF8-18C3-485D-B748-541B804527CE 修改人 UpdateBy @@ -40423,7 +40444,7 @@ Ghra_staff_InsureBase - + AE977FDA-C5C0-4623-B5DA-725CACDDE352 修改时间 UpdateTime @@ -40437,7 +40458,7 @@ Ghra_staff_InsureBase - + 9B602134-4EB6-4EBA-8CA1-72EF5A279C61 修改程序 UpdateProg @@ -40449,7 +40470,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 2412CE82-7EB6-4950-B14A-9F27576867E3 修改人IP UpdateIP @@ -40461,7 +40482,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 9E7A3496-5758-40EB-AF11-7E8EAD709C75 操作日志ID OperateLogID @@ -40476,7 +40497,7 @@ Ghra_staff_InsureBase - + B44C0B6C-4D1A-4659-86CE-832DAD72164A 订单ID OrderId @@ -40487,7 +40508,7 @@ Ghra_staff_InsureBase 订单ID bigint - + 6F7737CB-59FB-4E9B-B2F7-2CA75512BC0C 评估时间 AssessTime @@ -40498,7 +40519,7 @@ Ghra_staff_InsureBase 评估时间 datetime - + DDDF2DFC-B810-4B0B-B102-4B382FB92980 评估内容 AssessContent @@ -40510,7 +40531,7 @@ Ghra_staff_InsureBase nvarchar(2000) 2000 - + 0F6666B0-BBE0-4103-A201-2B6AB77ADE25 备注 RemarkSz @@ -40525,7 +40546,7 @@ Ghra_staff_InsureBase - + 0A1F56C8-A23D-415B-8179-4526D93C40E4 默认标志 IsDefault @@ -40540,7 +40561,7 @@ Ghra_staff_InsureBase - + EB7B6F70-8F89-4AF9-A7F3-1283F0FBAE76 删除标志 IsEnable @@ -40555,7 +40576,7 @@ Ghra_staff_InsureBase - + A8B4632E-84A3-4CA2-8E85-B81067316727 预留字段1 Reverse1 @@ -40567,7 +40588,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + D7C260E6-A11B-46AB-A99F-5841F384C381 预留字段2 Reverse2 @@ -40579,7 +40600,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 2B6B1EB8-DCF1-4198-86A5-EB3AD66CDB9E 预留字段3 Reverse3 @@ -40591,7 +40612,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + C2952BBA-FC38-4778-B123-F7C3F4542F4F 预留字段4 Reverse4 @@ -40603,7 +40624,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 65012BF8-4387-4FD4-9AD5-B6E8310A3433 预留字段5 Reverse5 @@ -40615,7 +40636,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + A84938F4-BB2A-40DB-833E-C5015C656A72 预留字段6 Reverse6 @@ -40627,7 +40648,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + E4613311-78FC-40B7-88D8-E602A3FC8F22 预留字段7 Reverse7 @@ -40639,7 +40660,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 0D7521E1-D62F-48E8-A62B-260CE890DA14 预留字段8 Reverse8 @@ -40651,7 +40672,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + C518C3A5-E7EF-484D-86AA-F9DBDEC16F71 预留字段9 Reverse9 @@ -40663,7 +40684,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 89400612-98F8-402A-A170-58272492DCDE 预留字段10 Reverse10 @@ -40675,7 +40696,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 29F5705C-09B9-4F36-9820-FCA413819248 预留字段I1 ReverseI1 @@ -40687,7 +40708,7 @@ Ghra_staff_InsureBase 0 int - + 339567E4-48C4-4887-934B-2D0805C8DC1B 预留字段I2 ReverseI2 @@ -40701,7 +40722,7 @@ Ghra_staff_InsureBase - + DF12F8E2-E7FE-4342-B385-CE66590E7293 Key_1 Key_1 @@ -40710,15 +40731,15 @@ Ghra_staff_InsureBase 1731476306 Administrator - + - + - + @@ -40742,7 +40763,7 @@ Ghra_staff_InsureBase - + 7F0DCA7C-274D-48A8-B3D8-0FD7B707AFC2 1714101292 Administrator @@ -40776,7 +40797,7 @@ Ghra_staff_InsureBase - + D23C452C-4BB6-4C2A-AB2E-E8434D958A77 1714101335 Administrator @@ -40791,7 +40812,7 @@ Ghra_staff_InsureBase - + 55EBFC84-83AC-4EDF-BADD-29FA719652D1 Reference_13 Reference_13 @@ -40810,7 +40831,7 @@ Ghra_staff_InsureBase - + D4016F9D-5631-4F9E-A70D-D42133A4EBB7 1714107872 Administrator @@ -40844,7 +40865,7 @@ Ghra_staff_InsureBase - + BEBA3346-CCC6-41D9-B95B-12B8F81188BF 1714108449 Administrator @@ -40878,7 +40899,7 @@ Ghra_staff_InsureBase - + FC69BEF9-F863-4A65-903E-CB2850197526 1714109221 Administrator @@ -40912,7 +40933,7 @@ Ghra_staff_InsureBase - + ACE0AB02-0D27-4F1C-BF71-738C20DF96C2 1714120556 Administrator @@ -40946,7 +40967,7 @@ Ghra_staff_InsureBase - + B95672ED-9976-4742-9FFC-52B326620682 1715565535 Administrator @@ -40980,7 +41001,7 @@ Ghra_staff_InsureBase - + B6E89235-A6E0-460D-9228-DCA8C58EE2AD 1715570661 Administrator @@ -41014,7 +41035,7 @@ Ghra_staff_InsureBase - + 5D4938F3-7934-4F74-891C-97DC9DC47B1B 1716798640 Administrator @@ -41048,7 +41069,7 @@ Ghra_staff_InsureBase - + 179079CB-7169-4B19-A07A-A61C331F59CD 1716876897 Administrator @@ -41082,7 +41103,7 @@ Ghra_staff_InsureBase - + DD965546-2361-4301-82D7-446B823BDCFD 1717481682 Administrator @@ -41116,7 +41137,7 @@ Ghra_staff_InsureBase - + E78B14FB-C2C3-4DCA-A3B4-CA471817B9FC 1717726229 Administrator @@ -41150,7 +41171,7 @@ Ghra_staff_InsureBase - + 8C71D6B9-780B-4547-ADFD-986E619F4DCD 1719381914 Administrator @@ -41184,7 +41205,7 @@ Ghra_staff_InsureBase - + EB9D1A5A-99AB-44AD-9B1A-D45E66C0CFDE 1719468257 Administrator @@ -41218,7 +41239,7 @@ Ghra_staff_InsureBase - + ACF1454B-2C3F-40E5-ADC5-4A48787EB937 1720488320 Administrator @@ -41252,7 +41273,7 @@ Ghra_staff_InsureBase - + 55351100-6B8C-411A-838F-ADF17D7249C7 1721372650 Administrator @@ -41267,7 +41288,7 @@ Ghra_staff_InsureBase - + 465DBD55-7683-4A4B-91D3-B7019ED619F0 Reference_114 Reference_114 @@ -41286,7 +41307,7 @@ Ghra_staff_InsureBase - + CE1833FA-A783-4FAC-87BF-AA0FF8008532 1721280283 Administrator @@ -41320,7 +41341,7 @@ Ghra_staff_InsureBase - + 18F2EFF3-BD41-4F96-96C8-D8B15C7E2644 1721372603 Administrator @@ -41354,7 +41375,7 @@ Ghra_staff_InsureBase - + F7ECB7BC-BA8B-4606-B521-999C20FD5C43 1722318917 Administrator @@ -41388,7 +41409,7 @@ Ghra_staff_InsureBase - + 6764C448-6B6B-4DD7-AED9-8E74CDD1261A 1727335554 Administrator @@ -41422,7 +41443,7 @@ Ghra_staff_InsureBase - + C8D69BA0-B62F-4A3E-981C-59D5FC0C2A03 1727336760 Administrator @@ -41456,7 +41477,7 @@ Ghra_staff_InsureBase - + 09B3F4FA-149B-4BB2-8D4C-CB9E05153125 1727336895 Administrator @@ -41490,7 +41511,7 @@ Ghra_staff_InsureBase - + D0D47F43-60D2-4012-A1C6-7EE1F23B2B48 1727337857 Administrator @@ -41505,7 +41526,7 @@ Ghra_staff_InsureBase - + E261580B-7706-444D-9E7B-6A1A5968579B Reference_24 Reference_24 @@ -41524,7 +41545,7 @@ Ghra_staff_InsureBase - + A9F8F17E-368A-42BA-B603-19B2CAF61361 1728532955 Administrator @@ -41558,7 +41579,7 @@ Ghra_staff_InsureBase - + 88DE8617-23F2-4075-A9EB-3AEA05F12872 1728532977 Administrator @@ -41592,7 +41613,7 @@ Ghra_staff_InsureBase - + 36AE3FE2-B4E5-4FF7-ADD1-93D1ABD487CD 1728533087 Administrator @@ -41607,7 +41628,7 @@ Ghra_staff_InsureBase - + AB9D9DC4-987C-4E4B-9BD3-35091CDBA380 Reference_27 Reference_27 @@ -41626,7 +41647,7 @@ Ghra_staff_InsureBase - + E2D02611-09C9-42E2-AA43-22E820AF219C 1728626387 Administrator @@ -41660,7 +41681,7 @@ Ghra_staff_InsureBase - + 62F35C8E-87DA-43C4-AAE9-A47D112F8E0A 1728540045 Administrator @@ -41694,7 +41715,7 @@ Ghra_staff_InsureBase - + 3759DC14-1A7D-4121-AAE1-58CE6813A0AA 1728541044 Administrator @@ -41728,7 +41749,7 @@ Ghra_staff_InsureBase - + 1791558D-852F-437C-97F6-7F9D11EE26DB 1729662916 Administrator @@ -41762,7 +41783,7 @@ Ghra_staff_InsureBase - + 00049FDC-8297-463E-9347-A571E3AB9C9E 1729663415 Administrator @@ -41796,7 +41817,7 @@ Ghra_staff_InsureBase - + B7B6FBF6-DC05-4490-8656-A5DEAF831781 1730250294 Administrator @@ -41830,7 +41851,7 @@ Ghra_staff_InsureBase - + A0C97DD9-1C72-4A18-9FEE-EE6A9AEF21F8 1730336852 Administrator @@ -41864,7 +41885,7 @@ Ghra_staff_InsureBase - + 39FD6B5F-C473-44DF-969E-D851D388EBAE 1730340808 Administrator @@ -41898,7 +41919,7 @@ Ghra_staff_InsureBase - + C4EECAD7-F267-4702-A253-CA499692A254 1730346502 Administrator @@ -41929,10 +41950,10 @@ Ghra_staff_InsureBase - + - + 3EBD04DF-C924-4032-982C-CA9EF3B72E39 1731478017 Administrator @@ -41942,7 +41963,7 @@ Ghra_staff_InsureBase - + @@ -41963,10 +41984,10 @@ Ghra_staff_InsureBase - + - + DE13B6DD-B49E-4F3E-8AF7-BEB535EE3CC6 1731478076 Administrator @@ -41976,7 +41997,7 @@ Ghra_staff_InsureBase - + @@ -41988,7 +42009,7 @@ Ghra_staff_InsureBase - + A1DD77B6-E48E-4C9D-947D-D42E3C5240C2 dbo dbo @@ -42001,7 +42022,7 @@ Ghra_staff_InsureBase - + C012A467-0031-4F3C-9D9D-13408491E147 DefaultSchema 1597196432 @@ -42009,12 +42030,12 @@ Ghra_staff_InsureBase 1597196433 ttsoftxch - + - + 41D2B655-5319-49C5-9BA6-133BB8B097CA dbo dbo @@ -42026,7 +42047,7 @@ Ghra_staff_InsureBase - + 2153E033-C4DC-4F90-B2F4-3B0F44BD33D5 文本 TEXT @@ -42036,7 +42057,7 @@ Ghra_staff_InsureBase ttsoftxch text - + AC8799D0-82CA-4B70-ADAC-18D8797720A9 图片 IMAGE @@ -42046,7 +42067,7 @@ Ghra_staff_InsureBase Administrator image - + DEC04470-B84A-413E-9B2A-C265C5506182 加密 ENCRYPT_STRING @@ -42057,7 +42078,7 @@ Ghra_staff_InsureBase nvarchar(256) 256 - + 538C6297-7080-43C1-9455-AD6516B6FBB2 数字 NUMBER @@ -42069,7 +42090,7 @@ Ghra_staff_InsureBase 20 6 - + AF15A9FA-052F-43E5-9102-57F195CBCFDE 类别 TYPE @@ -42080,7 +42101,7 @@ Ghra_staff_InsureBase varchar(32) 32 - + D0936140-81BD-463E-B0ED-FE3F86828A2C 特长字符串 LONG_LONG_STRING @@ -42091,7 +42112,7 @@ Ghra_staff_InsureBase varchar(256) 256 - + 5FBDAFFC-EA04-407B-877F-58752C2E736C 金额 AMOUNT @@ -42103,7 +42124,7 @@ Ghra_staff_InsureBase 20 6 - + F461E3FD-0A64-4712-BC09-C0BA3C248E5B 描述 DESCRIPTION @@ -42114,7 +42135,7 @@ Ghra_staff_InsureBase varchar(4000) 4000 - + 703A2917-B6C4-4BC6-B2CB-6AB8E2B49D30 短字符串 SHORT_STRING @@ -42125,7 +42146,7 @@ Ghra_staff_InsureBase varchar(64) 64 - + 89A476D2-A1C0-428C-9875-26A50B7AFE1A 长字符串 LONG_STRING @@ -42147,7 +42168,7 @@ Ghra_staff_InsureBase varchar(2000) 2000 - + @@ -42161,7 +42182,7 @@ Ghra_staff_InsureBase char(1) 1 - + 82662C91-618F-4022-B9CD-1A431DC84A0A 名称 NAME @@ -42182,7 +42203,7 @@ Ghra_staff_InsureBase Administrator int - + 77F6BD58-5A9D-44F7-988C-76608A3F38B5 代码 CODE @@ -42214,7 +42235,7 @@ Ghra_staff_InsureBase varchar(32) 32 - + DA200725-BFB0-4351-9C3E-DC30C036538E STATUS STATUS @@ -42225,7 +42246,7 @@ Ghra_staff_InsureBase varchar(32) 32 - + CB2F08D6-BE17-4046-B94A-4FD00EDA9015 文件 FILE @@ -42235,7 +42256,7 @@ Ghra_staff_InsureBase feipeng image - + 7CC45A5C-15C8-4CA8-BBEB-66FE3DAB482F 字符串512 STRING_512 @@ -42248,7 +42269,7 @@ Ghra_staff_InsureBase - + B41C21E8-76E9-4031-8EF0-34743E5525C5 PUBLIC PUBLIC @@ -42257,13 +42278,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 26387a88..32086d03 100644 --- a/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ResumeController.cs +++ b/Tiobon.Core.Api/Controllers/Ghrh/Ghrh_ResumeController.cs @@ -1,4 +1,5 @@ using Tiobon.Core.Model.ViewModels.Extend; +using static Tiobon.Core.Model.Consts; namespace Tiobon.Core.Api.Controllers; @@ -34,7 +35,10 @@ public class Ghrh_ResumeController : BaseController> QueryByStatus([FromBody] QueryBody body, string status) { - return await _service.QueryFilterPage(body, $"Status ='{status}'"); + if (status == "All") + return await _service.QueryFilterPage(body, $"(Status ='{status}' OR Status ='{DIC_INTERVIEW_ORDER_STATUS.WaitRecommended}' OR Status ='{DIC_INTERVIEW_ORDER_STATUS.HasRecommended}')"); + else + return await _service.QueryFilterPage(body, $"Status ='{status}'"); } #endregion diff --git a/Tiobon.Core.Model/Base/Ghrh/Ghrh_InterviewOrder.Dto.Base.cs b/Tiobon.Core.Model/Base/Ghrh/Ghrh_InterviewOrder.Dto.Base.cs index 6351d355..5b3d82ac 100644 --- a/Tiobon.Core.Model/Base/Ghrh/Ghrh_InterviewOrder.Dto.Base.cs +++ b/Tiobon.Core.Model/Base/Ghrh/Ghrh_InterviewOrder.Dto.Base.cs @@ -95,6 +95,16 @@ public class Ghrh_InterviewOrderBase [Display(Name = "FailInterviewReason"), Description("不合适原因"), MaxLength(256, ErrorMessage = "不合适原因 不能超过 256 个字符")] public string FailInterviewReason { get; set; } + /// + /// 简历首次查询时间 + /// + public DateTime? FirstViewTime { get; set; } + + /// + /// 简历首次查询时间 + /// + public DateTime? LastViewTime { get; set; } + /// /// 状态 /// diff --git a/Tiobon.Core.Model/Consts.cs b/Tiobon.Core.Model/Consts.cs index cf65e116..8280ee32 100644 --- a/Tiobon.Core.Model/Consts.cs +++ b/Tiobon.Core.Model/Consts.cs @@ -289,6 +289,11 @@ public class Consts /// public static class DIC_INTERVIEW_ORDER_STATUS { + + /// + /// 待推荐 + /// + public const string WaitRecommended = "WaitRecommended"; /// /// 已推荐 /// diff --git a/Tiobon.Core.Model/Models/Ghrh/Ghrh_InterviewOrder.cs b/Tiobon.Core.Model/Models/Ghrh/Ghrh_InterviewOrder.cs index eb54b7a8..f9c0bb60 100644 --- a/Tiobon.Core.Model/Models/Ghrh/Ghrh_InterviewOrder.cs +++ b/Tiobon.Core.Model/Models/Ghrh/Ghrh_InterviewOrder.cs @@ -96,6 +96,16 @@ public class Ghrh_InterviewOrder : BasePoco [Display(Name = "FailInterviewReason"), Description("不合适原因"), MaxLength(256, ErrorMessage = "不合适原因 不能超过 256 个字符")] public string FailInterviewReason { get; set; } + /// + /// 简历首次查询时间 + /// + public DateTime? FirstViewTime { get; set; } + + /// + /// 简历首次查询时间 + /// + public DateTime? LastViewTime { get; set; } + /// /// 状态 /// diff --git a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs index f52a8387..0cf28ce7 100644 --- a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs +++ b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs @@ -66,11 +66,11 @@ public class Ghrh_ResumeServices : BaseServices x.IsRecommend == false || x.IsRecommend == null); + whereExpression.And(x => x.Status == DIC_INTERVIEW_ORDER_STATUS.WaitRecommended); break; case "HasRecommend": if (jsonParam.columnValue.ObjToInt() == 1) - whereExpression.And(x => x.IsRecommend == true); + whereExpression.And(x => x.Status == DIC_INTERVIEW_ORDER_STATUS.HasRecommended); break; case "SalaryPeriod": case "Education": @@ -891,7 +891,7 @@ END"; resume.Base.ApplicationStatus = status; resume.Base.ApplicationTime = DateTime.Now; if (status == "Submit") - resume.Base.Status = "All"; + 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; @@ -1193,6 +1193,11 @@ END"; #region 简历推荐 public async Task Recommend(long id, ResumeRecommendForm recommend) { + await Db.Updateable() + .SetColumns(it => it.IsEnable == 0) + .Where(it => it.ResumeId == id) + .ExecuteCommandAsync(); + await _ghrh_InterviewOrderServices.Add(new InsertGhrh_InterviewOrderInput() { ResumeId = id, @@ -1206,4 +1211,27 @@ END"; return ServiceResult.OprateSuccess(); } #endregion + + #region 简历库已推荐提醒 + public async Task HasRecommendRemind(long id) + { + var entity = await base.QueryById(id); + if (entity == null) + return ServiceResult.OprateFailed("无效的简历ID!"); + + if (entity.Status != DIC_INTERVIEW_ORDER_STATUS.HasRecommended) + return ServiceResult.OprateFailed("只有在已推荐状态下简历才能发送提醒!"); + + var order = await Db.Queryable().FirstAsync(x => x.ResumeId == id); + if (order != null) + { + if (order.FirstViewTime.IsNotEmptyOrNull()) + return ServiceResult.OprateFailed("面试官已查看简历,暂不可发送提醒!"); + + + } + + return ServiceResult.OprateSuccess(); + } + #endregion } \ No newline at end of file