diff --git a/Model/Tiobon.Web.pdm b/Model/Tiobon.Web.pdm index b016940b..95688f84 100644 --- a/Model/Tiobon.Web.pdm +++ b/Model/Tiobon.Web.pdm @@ -1,5 +1,5 @@ - + @@ -44202,7 +44202,7 @@ Ghra_staff_InsureBase Ghrh_OfferApplyOrder 1733368122 Administrator -1733802631 +1735023649 Administrator 录用审批单 @@ -44455,6 +44455,18 @@ Ghra_staff_InsureBase 32 +307C32C1-29DA-4FDD-AFAB-1734F2AE164B +员工类别1 +StaffType1 +1735023088 +Administrator +1735023674 +Administrator +员工类别 +nvarchar(32) +32 + + 9B6D3E7C-DFF6-4D92-A6D4-7008C130C355 职等 GradeId @@ -44465,7 +44477,7 @@ Ghra_staff_InsureBase 职等 int - + E6E47C0D-1A8A-4D0A-B32C-C49798B90A3F 职称 JobId @@ -44476,7 +44488,7 @@ Ghra_staff_InsureBase 职称 int - + 7B00143D-1BC7-42A1-ACD5-FEE2D2C88B03 试用期月数 ProbationMonths @@ -44487,7 +44499,7 @@ Ghra_staff_InsureBase 试用期月数 int - + F10DB1B1-2AA1-417D-A83F-AC57448B4263 汇报对象ID ReportId @@ -44498,7 +44510,7 @@ Ghra_staff_InsureBase 汇报对象 int - + 2DE522F5-4CB9-4F71-90E7-BAB6A4EE9AE0 岗位职责 JobResponsibility @@ -44510,7 +44522,7 @@ Ghra_staff_InsureBase nvarchar(256) 256 - + 8B948AE4-1DAC-4115-B6B9-88011D793B3D 工作地点 WorkAddress @@ -44522,7 +44534,18 @@ Ghra_staff_InsureBase nvarchar(128) 128 - + +E2565A9A-0105-40A5-BEF8-0B1820016D96 +厂区ID +ZoneId +1735023026 +Administrator +1735023088 +Administrator +厂区ID +int + + A855F4D8-3D40-496B-A200-583E5D00AA41 试用期薪资 ProbationSalary @@ -44535,7 +44558,7 @@ Ghra_staff_InsureBase 20 2 - + 9E02B749-321C-40C5-A130-ADD0C55ACE0F 试用期满薪资 ProbationAfterSalary @@ -44548,7 +44571,7 @@ Ghra_staff_InsureBase 20 2 - + 34083EB0-E7B7-4B08-96F9-AB212495EEF4 计薪类别ID PeriodMasterId @@ -44559,7 +44582,7 @@ Ghra_staff_InsureBase 计薪类别ID int - + E25E5A6E-E61D-4A98-8F0E-9062F88DE86B 发起时间 ApplyTime @@ -44570,7 +44593,7 @@ Ghra_staff_InsureBase 发起时间 datetime - + BC33542C-E75A-4DF8-9AB6-D913EF07E2E8 发起人ID ApplicantId @@ -44581,7 +44604,7 @@ Ghra_staff_InsureBase 发起人ID int - + 1B1388A4-13C4-444F-8B1F-5A42B528F302 WorkID WorkID @@ -44592,7 +44615,7 @@ Ghra_staff_InsureBase WorkID int - + C04DA1FD-CD09-4D6E-B518-70D99E9B4F84 WorkNo WorkNo @@ -44604,7 +44627,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + C1B21FF7-11F4-44B2-89BF-00248A933B78 ToDoType ToDoType @@ -44616,7 +44639,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + AEC95CDA-B2DD-42A4-AC87-0CAF8D01809F BatchSID BatchSID @@ -44628,7 +44651,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 7DF6E7D3-4DF1-46E0-8374-DE6871205050 WorkState WorkState @@ -44639,7 +44662,7 @@ Ghra_staff_InsureBase WorkState int - + 7782C060-DCC7-4ED6-8173-68482362CE35 ShiftID ShiftID @@ -44650,7 +44673,7 @@ Ghra_staff_InsureBase ShiftID int - + BD30CC11-4B09-44AF-BF2C-1A0A2CA7B52B ConfirmUserID ConfirmUserID @@ -44661,7 +44684,7 @@ Ghra_staff_InsureBase ConfirmUserID int - + 61E36943-7E79-4337-986D-CAD3D60FA221 ConfirmTime ConfirmTime @@ -44672,7 +44695,7 @@ Ghra_staff_InsureBase ConfirmTime datetime - + 93A33AEB-D808-4B40-A7FC-C37DC525AC47 ConfirmComment ConfirmComment @@ -44684,7 +44707,7 @@ Ghra_staff_InsureBase nvarchar(2000) 2000 - + 03CE0806-4DB3-4AE1-AC93-0FCDD3727C1E 同意人 AgreeUserId @@ -44695,7 +44718,7 @@ Ghra_staff_InsureBase 同意人 bigint - + E9DEB1B1-2C78-4F45-81E9-F4A38CF4F768 同意时间 AgreeTime @@ -44706,7 +44729,7 @@ Ghra_staff_InsureBase 同意时间 datetime - + B4636FAD-307A-46F1-A875-D21C9FD43CF7 同意理由 AgreeReason @@ -44718,7 +44741,7 @@ Ghra_staff_InsureBase nvarchar(2000) 2000 - + 69197627-D79B-4EBD-A898-FEE55CA28E09 拒绝人 RefuseUserId @@ -44729,7 +44752,7 @@ Ghra_staff_InsureBase 拒绝人 bigint - + D6BB3F2C-0C51-407D-A713-B624803FDEBE 拒绝时间 RefuseTime @@ -44740,7 +44763,7 @@ Ghra_staff_InsureBase 拒绝时间 datetime - + CC4A6FFC-1C6B-421D-8B2E-4FBFA646FF66 拒绝理由 RefuseReason @@ -44752,7 +44775,7 @@ Ghra_staff_InsureBase nvarchar(2000) 2000 - + A798958A-544A-4D70-A706-E168A903912C 备注 RemarkSz @@ -44767,7 +44790,7 @@ Ghra_staff_InsureBase - + D5ECA7E2-F64D-4ABB-8BF7-C2017108A06F 默认标志 IsDefault @@ -44782,7 +44805,7 @@ Ghra_staff_InsureBase - + BC9646F7-8C4B-4218-A971-F142E010C560 删除标志 IsEnable @@ -44797,7 +44820,7 @@ Ghra_staff_InsureBase - + 92C0ADA9-C1CD-4A7D-8B8A-94BECF54CEBE 预留字段1 Reverse1 @@ -44809,7 +44832,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 9D5372F1-7099-474D-A7CF-41C79E63E2B7 预留字段2 Reverse2 @@ -44821,7 +44844,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 38FBAD5B-07BC-407F-A825-F2120FE4FDE9 预留字段3 Reverse3 @@ -44833,7 +44856,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + C82E1066-A81A-4995-8471-A0A365CF95F1 预留字段4 Reverse4 @@ -44845,7 +44868,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + BE9592E4-0998-4530-9469-144337ECB621 预留字段5 Reverse5 @@ -44857,7 +44880,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 1D3326A6-F974-4F27-9825-A7CFA6F4BDFA 预留字段6 Reverse6 @@ -44869,7 +44892,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 98289D41-61FF-4ACF-8D18-F271232C6C7A 预留字段7 Reverse7 @@ -44881,7 +44904,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 9EACD3E4-E191-48C5-8A8A-F23C7CD54242 预留字段8 Reverse8 @@ -44893,7 +44916,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 0A2CF35D-DBC3-44EC-802A-9EB42D16FC2B 预留字段9 Reverse9 @@ -44905,7 +44928,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 10C68F99-12F8-48B5-9680-6ABA363D0F10 预留字段10 Reverse10 @@ -44917,7 +44940,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + D39F306D-6715-414C-8B34-42E7716DBC6A 预留字段I1 ReverseI1 @@ -44929,7 +44952,7 @@ Ghra_staff_InsureBase 0 int - + 0A003268-5D1E-4CF8-AC19-225EF12AE93C 预留字段I2 ReverseI2 @@ -44943,7 +44966,7 @@ Ghra_staff_InsureBase - + C3D0963C-D2ED-437A-91A0-12CD84C53E99 Key_1 Key_1 @@ -44957,10 +44980,10 @@ Ghra_staff_InsureBase - + - + @@ -44973,7 +44996,7 @@ Ghra_staff_InsureBase Administrator 录用审批单薪资 - + 7B31109F-0C6F-4298-B1EB-5232F190866B Id Id @@ -44988,7 +45011,7 @@ Ghra_staff_InsureBase - + 0D0C8C92-901C-4EA6-87C9-5B416CCC13FA 创建人 CreateBy @@ -45002,7 +45025,7 @@ Ghra_staff_InsureBase - + 8DA5250A-AC53-4602-8D18-B1B2FE6A425F 创建时间 CreateTime @@ -45016,7 +45039,7 @@ Ghra_staff_InsureBase - + A1F13E37-4F07-483E-9703-FB7B4C624F5B 创建程序 CreateProg @@ -45028,7 +45051,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 7D13B491-BEE0-44D9-804A-B8A78113BCD3 创建人IP CreateIP @@ -45040,7 +45063,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + BF283B3A-93D3-4258-833D-264C94DF7C1E 修改人 UpdateBy @@ -45054,7 +45077,7 @@ Ghra_staff_InsureBase - + 410549EA-AD10-493D-BEFA-B06A213746AA 修改时间 UpdateTime @@ -45068,7 +45091,7 @@ Ghra_staff_InsureBase - + A1B984B4-15FD-4818-9EF6-0B8879A80A0C 修改程序 UpdateProg @@ -45080,7 +45103,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 3DFB9C96-1EC4-4954-8DBE-83893AF1398F 修改人IP UpdateIP @@ -45092,7 +45115,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 5350B026-AEB2-4362-B6AB-F9FF79427D1E 操作日志ID OperateLogID @@ -45107,7 +45130,7 @@ Ghra_staff_InsureBase - + CB0F8AC1-F91B-4903-A8A9-7E42A76EB36B 订单ID OrderId @@ -45118,7 +45141,7 @@ Ghra_staff_InsureBase 面试评估ID bigint - + 40E44D7A-9B29-464C-B450-533095777240 项目ID SalaryItemId @@ -45129,7 +45152,7 @@ Ghra_staff_InsureBase 项目 int - + 1AAEE4F9-B051-46BB-AC23-5051DDA898E6 金额 Amount @@ -45142,7 +45165,7 @@ Ghra_staff_InsureBase 20 2 - + D10D6A96-0081-4598-A686-955346442DF7 币别ID CurrencyId @@ -45153,7 +45176,7 @@ Ghra_staff_InsureBase 币别 int - + 6FE55493-43FB-451D-9045-8BCB6598A66F 备注 RemarkSz @@ -45168,7 +45191,7 @@ Ghra_staff_InsureBase - + 927D05D9-A025-4113-81E8-900B4027A834 默认标志 IsDefault @@ -45183,7 +45206,7 @@ Ghra_staff_InsureBase - + FAD1F770-ED1F-42DF-B697-DF7A8C90C219 删除标志 IsEnable @@ -45198,7 +45221,7 @@ Ghra_staff_InsureBase - + 8A343D29-ACF4-46AC-91F4-E2B44B4356E5 预留字段1 Reverse1 @@ -45210,7 +45233,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 74C009B4-E9D6-4664-80D2-B36981A262E7 预留字段2 Reverse2 @@ -45222,7 +45245,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 40673B7A-B358-4B6A-B25C-11FF408D99DB 预留字段3 Reverse3 @@ -45234,7 +45257,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 4D9EDF48-B0B5-467C-8F9A-43E9DCE5F9BA 预留字段4 Reverse4 @@ -45246,7 +45269,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 452AB635-25E6-4881-A1EB-BA2AFEEEF948 预留字段5 Reverse5 @@ -45258,7 +45281,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + ECA1A5A1-F5EA-4EF4-A61D-0EAD1D3400A3 预留字段6 Reverse6 @@ -45270,7 +45293,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 4EEB3B47-DDFE-42B7-AC15-9454188DF0EF 预留字段7 Reverse7 @@ -45282,7 +45305,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + C16A1CFB-73B7-4394-BED8-1EAFC8AE6029 预留字段8 Reverse8 @@ -45294,7 +45317,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + F269C583-72CE-4678-93F5-5769125B8382 预留字段9 Reverse9 @@ -45306,7 +45329,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 69815666-FB8B-4D01-90BD-6B69156A672A 预留字段10 Reverse10 @@ -45318,7 +45341,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + AF5046CF-D40A-4A02-9A2A-FABF5AC5AFA3 预留字段I1 ReverseI1 @@ -45330,7 +45353,7 @@ Ghra_staff_InsureBase 0 int - + EBF9CFD5-4907-473C-B039-D7798A35DDE3 预留字段I2 ReverseI2 @@ -45344,7 +45367,7 @@ Ghra_staff_InsureBase - + 4E369AB2-E8D2-4C6A-B54D-A4D6C1E79022 Key_1 Key_1 @@ -45353,15 +45376,15 @@ Ghra_staff_InsureBase 1733369817 Administrator - + - + - + @@ -45374,7 +45397,7 @@ Ghra_staff_InsureBase Administrator 年度人力配置 - + A244881F-1AF1-4885-90FB-D3F0E8D395E3 Id Id @@ -45389,7 +45412,7 @@ Ghra_staff_InsureBase - + 324A9595-C422-41EC-9B38-C3A5A7F89D50 创建人 CreateBy @@ -45403,7 +45426,7 @@ Ghra_staff_InsureBase - + 1DE30191-6CFB-4DAB-8882-C818D40D9F34 创建时间 CreateTime @@ -45417,7 +45440,7 @@ Ghra_staff_InsureBase - + 5948FD15-D6C1-4B78-A395-FB974253450B 创建程序 CreateProg @@ -45429,7 +45452,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + BB723FA6-C5EB-4404-8D53-A4E4DD0B7A78 创建人IP CreateIP @@ -45441,7 +45464,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 824CD0F9-72D0-4694-B06B-FBB0E20D883C 修改人 UpdateBy @@ -45455,7 +45478,7 @@ Ghra_staff_InsureBase - + 3FD81D67-F2CC-498A-82A6-15F228FA7D58 修改时间 UpdateTime @@ -45469,7 +45492,7 @@ Ghra_staff_InsureBase - + 8CDE2419-5F2E-4C05-B59D-19B07B4A40C9 修改程序 UpdateProg @@ -45481,7 +45504,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 4A3F150E-11EF-4D7C-9F6F-D9924D4506AD 修改人IP UpdateIP @@ -45493,7 +45516,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 6DC317A6-23CD-4749-8B55-C494118C6B8A 操作日志ID OperateLogID @@ -45508,7 +45531,7 @@ Ghra_staff_InsureBase - + F0A1D5BC-0BAB-4625-9F7B-31D2919526F8 年度 Year @@ -45519,7 +45542,7 @@ Ghra_staff_InsureBase 年度 int - + 920F13C1-7C12-405F-97F8-B7E40F05EE28 发起时间 ApplicantTime @@ -45530,7 +45553,7 @@ Ghra_staff_InsureBase 发起时间 datetime - + 58F1761C-CD68-4BAC-A60F-84619918E0D4 发起人ID ApplicantId @@ -45541,7 +45564,7 @@ Ghra_staff_InsureBase 发起人ID int - + E3325347-96FD-4DEA-A06D-003F1E59BB62 WorkID WorkID @@ -45552,7 +45575,7 @@ Ghra_staff_InsureBase WorkID int - + 0BA1A962-A20A-42D4-B3B6-46AC9FF1A153 WorkNo WorkNo @@ -45564,7 +45587,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 8DB4298B-35D5-4C28-94B1-AC06AA888591 ToDoType ToDoType @@ -45576,7 +45599,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + A3C74F51-D4D1-4C79-83EF-5A06E0D4CD4E BatchSID BatchSID @@ -45588,7 +45611,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + EB7FEE1A-603B-4CFF-B2A2-474E1D680955 WorkState WorkState @@ -45599,7 +45622,7 @@ Ghra_staff_InsureBase WorkState int - + 614EF087-E1A9-4DE8-893D-DC891C78AAB4 ShiftID ShiftID @@ -45610,7 +45633,7 @@ Ghra_staff_InsureBase ShiftID int - + 8E7BCC81-17A2-4A68-A9E7-706445603F57 ConfirmUserID ConfirmUserID @@ -45621,7 +45644,7 @@ Ghra_staff_InsureBase ConfirmUserID int - + C8A90441-3044-4BAF-83B8-ADDC608BD480 ConfirmTime ConfirmTime @@ -45632,7 +45655,7 @@ Ghra_staff_InsureBase ConfirmTime datetime - + 8496F35B-C20A-4420-8B7B-73C70A7C2417 ConfirmComment ConfirmComment @@ -45644,7 +45667,7 @@ Ghra_staff_InsureBase nvarchar(2000) 2000 - + 0789F408-0235-4AF4-8046-AF58A468372A 同意人 AgreeUserId @@ -45655,7 +45678,7 @@ Ghra_staff_InsureBase 同意人 bigint - + A22644E2-B001-4021-9565-486D57D669CC 同意时间 AgreeTime @@ -45666,7 +45689,7 @@ Ghra_staff_InsureBase 同意时间 datetime - + 95BFFF76-D2EA-49C9-A89D-1E2699A4A83D 同意理由 AgreeReason @@ -45678,7 +45701,7 @@ Ghra_staff_InsureBase nvarchar(2000) 2000 - + 8510B308-B76E-4404-A86B-5EF0959023C5 拒绝人 RefuseUserId @@ -45689,7 +45712,7 @@ Ghra_staff_InsureBase 拒绝人 bigint - + 7CFB49FD-120F-464C-B739-5E3A1100C152 拒绝时间 RefuseTime @@ -45700,7 +45723,7 @@ Ghra_staff_InsureBase 拒绝时间 datetime - + F7528809-CE8B-4011-8A53-4A3A1E1727D1 拒绝理由 RefuseReason @@ -45712,7 +45735,7 @@ Ghra_staff_InsureBase nvarchar(2000) 2000 - + 714CDD0A-9175-4AD0-8073-8E339F785393 备注 RemarkSz @@ -45727,7 +45750,7 @@ Ghra_staff_InsureBase - + 182D1902-4B79-41C8-AA51-53DA64202785 默认标志 IsDefault @@ -45742,7 +45765,7 @@ Ghra_staff_InsureBase - + F8BDCED5-A5F8-4378-9FAE-4C01B6CE6558 删除标志 IsEnable @@ -45757,7 +45780,7 @@ Ghra_staff_InsureBase - + 25A3D194-10FF-41AB-8758-869C57EF647D 预留字段1 Reverse1 @@ -45769,7 +45792,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 0E6E25EE-FE23-4EFA-8A41-77FCD6D5235E 预留字段2 Reverse2 @@ -45781,7 +45804,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 98263A6D-22C5-47DF-9F22-2866280765FB 预留字段3 Reverse3 @@ -45793,7 +45816,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + DFD64558-76B1-4412-AE32-CEF11166B3D2 预留字段4 Reverse4 @@ -45805,7 +45828,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + CA6B77FE-306A-45BE-98C2-D395D2F8E168 预留字段5 Reverse5 @@ -45817,7 +45840,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 2093792B-6A23-4659-A528-75DFBF4404AA 预留字段6 Reverse6 @@ -45829,7 +45852,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 4C11E538-4CC1-4C70-B34A-FAA1F5D0C890 预留字段7 Reverse7 @@ -45841,7 +45864,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + BA8DD553-5846-45AF-AEFD-66DB00AAF41A 预留字段8 Reverse8 @@ -45853,7 +45876,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + A595E19F-4184-4764-AA8E-CF27B5121ECA 预留字段9 Reverse9 @@ -45865,7 +45888,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + DAECA6DB-236C-4573-A76D-7D9EBB5A23BA 预留字段10 Reverse10 @@ -45877,7 +45900,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 2F81DD61-7274-40E6-B9D2-FA6359040A72 预留字段I1 ReverseI1 @@ -45889,7 +45912,7 @@ Ghra_staff_InsureBase 0 int - + CCF1C926-D057-41D5-B8CC-60D8E5FF497E 预留字段I2 ReverseI2 @@ -45903,7 +45926,7 @@ Ghra_staff_InsureBase - + B5AF6E79-00E2-4A24-A400-05D20C1C3C61 Key_1 Key_1 @@ -45912,15 +45935,15 @@ Ghra_staff_InsureBase 1733909430 Administrator - + - + - + @@ -45933,7 +45956,7 @@ Ghra_staff_InsureBase Administrator 人力需求维护明细 - + 80FF69BD-9C90-416C-9354-A1E631988264 Id Id @@ -45948,7 +45971,7 @@ Ghra_staff_InsureBase - + 67C0E5EB-71D5-4C72-9551-B82DCBC59ACC 创建人 CreateBy @@ -45962,7 +45985,7 @@ Ghra_staff_InsureBase - + 49F641DD-FD55-4DA0-9064-35A10B094C45 创建时间 CreateTime @@ -45976,7 +45999,7 @@ Ghra_staff_InsureBase - + DF9ECF59-6639-42B2-9716-27C6B20DBC9E 创建程序 CreateProg @@ -45988,7 +46011,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + AFCC78D1-C01C-408E-A574-909F07224686 创建人IP CreateIP @@ -46000,7 +46023,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + E61D8748-58D6-4CE5-BD47-BC48E3EC055E 修改人 UpdateBy @@ -46014,7 +46037,7 @@ Ghra_staff_InsureBase - + 8A728B36-6812-49E3-87D7-E89D0544FBC1 修改时间 UpdateTime @@ -46028,7 +46051,7 @@ Ghra_staff_InsureBase - + 179145A0-E6D3-4ACF-A467-E8591833B917 修改程序 UpdateProg @@ -46040,7 +46063,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + B80584D9-A8B3-49F8-BFF6-9FCF2003EA13 修改人IP UpdateIP @@ -46052,7 +46075,7 @@ Ghra_staff_InsureBase nvarchar(100) 100 - + 7439FA43-8B80-4F89-97DA-0E662C472EB1 操作日志ID OperateLogID @@ -46067,7 +46090,7 @@ Ghra_staff_InsureBase - + 2D8476FF-435F-4AAA-9893-D29501A76754 需求ID RequestId @@ -46078,7 +46101,7 @@ Ghra_staff_InsureBase 需求ID bigint - + 896CFBBA-3B30-410D-884B-8E99A569B5F3 来源 Source @@ -46090,7 +46113,7 @@ Ghra_staff_InsureBase nvarchar(32) 32 - + 93D353FF-13D6-4353-A8B4-8B5A7C09FDB3 明细名 DetailName @@ -46102,7 +46125,7 @@ Ghra_staff_InsureBase nvarchar(32) 32 - + 854B7979-9CA6-4B1B-A82B-A3B0B5C70057 明细值 DetailValue @@ -46114,7 +46137,7 @@ Ghra_staff_InsureBase nvarchar(32) 32 - + 812337B5-CFD3-4437-9110-E4276D432E0C 备注 RemarkSz @@ -46129,7 +46152,7 @@ Ghra_staff_InsureBase - + F68491EE-5AFF-4269-9C5E-6FB55DB69C6C 默认标志 IsDefault @@ -46144,7 +46167,7 @@ Ghra_staff_InsureBase - + DEC9D2AF-6E7D-49F1-8342-C9981A867DA1 删除标志 IsEnable @@ -46159,7 +46182,7 @@ Ghra_staff_InsureBase - + 7595FBC7-F1E6-4822-9FEA-0FEA663492EE 预留字段1 Reverse1 @@ -46171,7 +46194,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + EA024007-2C05-4C7F-A2EE-7AC360139467 预留字段2 Reverse2 @@ -46183,7 +46206,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 2CBB4D82-68FF-4FE0-BB41-D6C3717A237F 预留字段3 Reverse3 @@ -46195,7 +46218,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + DD5A9892-2C9F-4AE4-8EA0-AAF6EEF334DA 预留字段4 Reverse4 @@ -46207,7 +46230,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 2AAD306C-0E91-4E3A-8441-EE5C4799EF37 预留字段5 Reverse5 @@ -46219,7 +46242,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 317CA93F-201E-46C8-AEBC-3AC08A1733CD 预留字段6 Reverse6 @@ -46231,7 +46254,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 913FB83D-9C0D-4EF0-AE9C-B0C76774855E 预留字段7 Reverse7 @@ -46243,7 +46266,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 4F77C15A-6349-4025-9A73-18B2D0E47646 预留字段8 Reverse8 @@ -46255,7 +46278,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 857DD617-3247-4D19-B50D-07F77FC191B8 预留字段9 Reverse9 @@ -46267,7 +46290,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + E910B4BD-4BA8-4E9F-8945-D28316302C2F 预留字段10 Reverse10 @@ -46279,7 +46302,7 @@ Ghra_staff_InsureBase nvarchar(1000) 1000 - + 08CEB870-A854-4BBB-BD3D-DFDEA4D44448 预留字段I1 ReverseI1 @@ -46291,7 +46314,7 @@ Ghra_staff_InsureBase 0 int - + EEB40523-CD9B-438E-9362-58AC6D6A916A 预留字段I2 ReverseI2 @@ -46305,7 +46328,7 @@ Ghra_staff_InsureBase - + CA6554A1-C57B-4359-BAC8-C39CA4FB1C5B Key_1 Key_1 @@ -46314,15 +46337,15 @@ Ghra_staff_InsureBase 1734427811 Administrator - + - + - + @@ -46346,7 +46369,7 @@ Ghra_staff_InsureBase - + 7F0DCA7C-274D-48A8-B3D8-0FD7B707AFC2 1714101292 Administrator @@ -46380,7 +46403,7 @@ Ghra_staff_InsureBase - + D23C452C-4BB6-4C2A-AB2E-E8434D958A77 1714101335 Administrator @@ -46395,7 +46418,7 @@ Ghra_staff_InsureBase - + 55EBFC84-83AC-4EDF-BADD-29FA719652D1 Reference_13 Reference_13 @@ -46414,7 +46437,7 @@ Ghra_staff_InsureBase - + D4016F9D-5631-4F9E-A70D-D42133A4EBB7 1714107872 Administrator @@ -46448,7 +46471,7 @@ Ghra_staff_InsureBase - + BEBA3346-CCC6-41D9-B95B-12B8F81188BF 1714108449 Administrator @@ -46482,7 +46505,7 @@ Ghra_staff_InsureBase - + FC69BEF9-F863-4A65-903E-CB2850197526 1714109221 Administrator @@ -46516,7 +46539,7 @@ Ghra_staff_InsureBase - + ACE0AB02-0D27-4F1C-BF71-738C20DF96C2 1714120556 Administrator @@ -46550,7 +46573,7 @@ Ghra_staff_InsureBase - + B95672ED-9976-4742-9FFC-52B326620682 1715565535 Administrator @@ -46584,7 +46607,7 @@ Ghra_staff_InsureBase - + B6E89235-A6E0-460D-9228-DCA8C58EE2AD 1715570661 Administrator @@ -46618,7 +46641,7 @@ Ghra_staff_InsureBase - + 5D4938F3-7934-4F74-891C-97DC9DC47B1B 1716798640 Administrator @@ -46652,7 +46675,7 @@ Ghra_staff_InsureBase - + 179079CB-7169-4B19-A07A-A61C331F59CD 1716876897 Administrator @@ -46686,7 +46709,7 @@ Ghra_staff_InsureBase - + DD965546-2361-4301-82D7-446B823BDCFD 1717481682 Administrator @@ -46720,7 +46743,7 @@ Ghra_staff_InsureBase - + E78B14FB-C2C3-4DCA-A3B4-CA471817B9FC 1717726229 Administrator @@ -46754,7 +46777,7 @@ Ghra_staff_InsureBase - + 8C71D6B9-780B-4547-ADFD-986E619F4DCD 1719381914 Administrator @@ -46788,7 +46811,7 @@ Ghra_staff_InsureBase - + EB9D1A5A-99AB-44AD-9B1A-D45E66C0CFDE 1719468257 Administrator @@ -46822,7 +46845,7 @@ Ghra_staff_InsureBase - + ACF1454B-2C3F-40E5-ADC5-4A48787EB937 1720488320 Administrator @@ -46856,7 +46879,7 @@ Ghra_staff_InsureBase - + 55351100-6B8C-411A-838F-ADF17D7249C7 1721372650 Administrator @@ -46871,7 +46894,7 @@ Ghra_staff_InsureBase - + 465DBD55-7683-4A4B-91D3-B7019ED619F0 Reference_114 Reference_114 @@ -46890,7 +46913,7 @@ Ghra_staff_InsureBase - + CE1833FA-A783-4FAC-87BF-AA0FF8008532 1721280283 Administrator @@ -46924,7 +46947,7 @@ Ghra_staff_InsureBase - + 18F2EFF3-BD41-4F96-96C8-D8B15C7E2644 1721372603 Administrator @@ -46958,7 +46981,7 @@ Ghra_staff_InsureBase - + F7ECB7BC-BA8B-4606-B521-999C20FD5C43 1722318917 Administrator @@ -46992,7 +47015,7 @@ Ghra_staff_InsureBase - + 6764C448-6B6B-4DD7-AED9-8E74CDD1261A 1727335554 Administrator @@ -47026,7 +47049,7 @@ Ghra_staff_InsureBase - + C8D69BA0-B62F-4A3E-981C-59D5FC0C2A03 1727336760 Administrator @@ -47060,7 +47083,7 @@ Ghra_staff_InsureBase - + 09B3F4FA-149B-4BB2-8D4C-CB9E05153125 1727336895 Administrator @@ -47094,7 +47117,7 @@ Ghra_staff_InsureBase - + D0D47F43-60D2-4012-A1C6-7EE1F23B2B48 1727337857 Administrator @@ -47109,7 +47132,7 @@ Ghra_staff_InsureBase - + E261580B-7706-444D-9E7B-6A1A5968579B Reference_24 Reference_24 @@ -47128,7 +47151,7 @@ Ghra_staff_InsureBase - + A9F8F17E-368A-42BA-B603-19B2CAF61361 1728532955 Administrator @@ -47162,7 +47185,7 @@ Ghra_staff_InsureBase - + 88DE8617-23F2-4075-A9EB-3AEA05F12872 1728532977 Administrator @@ -47196,7 +47219,7 @@ Ghra_staff_InsureBase - + 36AE3FE2-B4E5-4FF7-ADD1-93D1ABD487CD 1728533087 Administrator @@ -47211,7 +47234,7 @@ Ghra_staff_InsureBase - + AB9D9DC4-987C-4E4B-9BD3-35091CDBA380 Reference_27 Reference_27 @@ -47230,7 +47253,7 @@ Ghra_staff_InsureBase - + E2D02611-09C9-42E2-AA43-22E820AF219C 1728626387 Administrator @@ -47264,7 +47287,7 @@ Ghra_staff_InsureBase - + 62F35C8E-87DA-43C4-AAE9-A47D112F8E0A 1728540045 Administrator @@ -47298,7 +47321,7 @@ Ghra_staff_InsureBase - + 3759DC14-1A7D-4121-AAE1-58CE6813A0AA 1728541044 Administrator @@ -47332,7 +47355,7 @@ Ghra_staff_InsureBase - + 1791558D-852F-437C-97F6-7F9D11EE26DB 1729662916 Administrator @@ -47366,7 +47389,7 @@ Ghra_staff_InsureBase - + 00049FDC-8297-463E-9347-A571E3AB9C9E 1729663415 Administrator @@ -47400,7 +47423,7 @@ Ghra_staff_InsureBase - + B7B6FBF6-DC05-4490-8656-A5DEAF831781 1730250294 Administrator @@ -47434,7 +47457,7 @@ Ghra_staff_InsureBase - + A0C97DD9-1C72-4A18-9FEE-EE6A9AEF21F8 1730336852 Administrator @@ -47468,7 +47491,7 @@ Ghra_staff_InsureBase - + 39FD6B5F-C473-44DF-969E-D851D388EBAE 1730340808 Administrator @@ -47502,7 +47525,7 @@ Ghra_staff_InsureBase - + C4EECAD7-F267-4702-A253-CA499692A254 1730346502 Administrator @@ -47536,7 +47559,7 @@ Ghra_staff_InsureBase - + 3EBD04DF-C924-4032-982C-CA9EF3B72E39 1731478017 Administrator @@ -47570,7 +47593,7 @@ Ghra_staff_InsureBase - + DE13B6DD-B49E-4F3E-8AF7-BEB535EE3CC6 1731478076 Administrator @@ -47604,7 +47627,7 @@ Ghra_staff_InsureBase - + 28C77E11-7423-4D63-9053-A5D40E7940AF 1731491451 Administrator @@ -47638,7 +47661,7 @@ Ghra_staff_InsureBase - + 76F5B648-63C3-466C-B313-B38E0519B3BA 1733211832 Administrator @@ -47669,10 +47692,10 @@ Ghra_staff_InsureBase - + - + D2B7DF8F-ACF7-4237-B814-FA662272F871 1733369860 Administrator @@ -47682,7 +47705,7 @@ Ghra_staff_InsureBase - + @@ -47703,17 +47726,17 @@ Ghra_staff_InsureBase - + - + F4431A85-1466-4A29-9D1B-A82B70F2F5D5 1733909650 Administrator 1733909662 Administrator - + @@ -47740,7 +47763,7 @@ Ghra_staff_InsureBase - + 3C15C987-A6E8-4FAA-AFB6-1CCBC250460D 1734490374 Administrator @@ -47750,7 +47773,7 @@ Ghra_staff_InsureBase - + @@ -47762,7 +47785,7 @@ Ghra_staff_InsureBase - + A1DD77B6-E48E-4C9D-947D-D42E3C5240C2 dbo dbo @@ -47775,7 +47798,7 @@ Ghra_staff_InsureBase - + C012A467-0031-4F3C-9D9D-13408491E147 DefaultSchema 1597196432 @@ -47783,12 +47806,12 @@ Ghra_staff_InsureBase 1597196433 ttsoftxch - + - + 41D2B655-5319-49C5-9BA6-133BB8B097CA dbo dbo @@ -47800,7 +47823,7 @@ Ghra_staff_InsureBase - + 2153E033-C4DC-4F90-B2F4-3B0F44BD33D5 文本 TEXT @@ -47810,7 +47833,7 @@ Ghra_staff_InsureBase ttsoftxch text - + AC8799D0-82CA-4B70-ADAC-18D8797720A9 图片 IMAGE @@ -47820,7 +47843,7 @@ Ghra_staff_InsureBase Administrator image - + DEC04470-B84A-413E-9B2A-C265C5506182 加密 ENCRYPT_STRING @@ -47831,7 +47854,7 @@ Ghra_staff_InsureBase nvarchar(256) 256 - + 538C6297-7080-43C1-9455-AD6516B6FBB2 数字 NUMBER @@ -47843,7 +47866,7 @@ Ghra_staff_InsureBase 20 6 - + AF15A9FA-052F-43E5-9102-57F195CBCFDE 类别 TYPE @@ -47854,7 +47877,7 @@ Ghra_staff_InsureBase varchar(32) 32 - + D0936140-81BD-463E-B0ED-FE3F86828A2C 特长字符串 LONG_LONG_STRING @@ -47865,7 +47888,7 @@ Ghra_staff_InsureBase varchar(256) 256 - + 5FBDAFFC-EA04-407B-877F-58752C2E736C 金额 AMOUNT @@ -47877,7 +47900,7 @@ Ghra_staff_InsureBase 20 6 - + F461E3FD-0A64-4712-BC09-C0BA3C248E5B 描述 DESCRIPTION @@ -47888,7 +47911,7 @@ Ghra_staff_InsureBase varchar(4000) 4000 - + 703A2917-B6C4-4BC6-B2CB-6AB8E2B49D30 短字符串 SHORT_STRING @@ -47899,7 +47922,7 @@ Ghra_staff_InsureBase varchar(64) 64 - + 89A476D2-A1C0-428C-9875-26A50B7AFE1A 长字符串 LONG_STRING @@ -47921,7 +47944,7 @@ Ghra_staff_InsureBase varchar(2000) 2000 - + @@ -47935,7 +47958,7 @@ Ghra_staff_InsureBase char(1) 1 - + 82662C91-618F-4022-B9CD-1A431DC84A0A 名称 NAME @@ -47956,7 +47979,7 @@ Ghra_staff_InsureBase Administrator int - + 77F6BD58-5A9D-44F7-988C-76608A3F38B5 代码 CODE @@ -47988,7 +48011,7 @@ Ghra_staff_InsureBase varchar(32) 32 - + DA200725-BFB0-4351-9C3E-DC30C036538E STATUS STATUS @@ -47999,7 +48022,7 @@ Ghra_staff_InsureBase varchar(32) 32 - + CB2F08D6-BE17-4046-B94A-4FD00EDA9015 文件 FILE @@ -48009,7 +48032,7 @@ Ghra_staff_InsureBase feipeng image - + 7CC45A5C-15C8-4CA8-BBEB-66FE3DAB482F 字符串512 STRING_512 @@ -48022,7 +48045,7 @@ Ghra_staff_InsureBase - + B41C21E8-76E9-4031-8EF0-34743E5525C5 PUBLIC PUBLIC @@ -48031,13 +48054,13 @@ Ghra_staff_InsureBase 1597196433 ttsoftxch - + - + 02EF92C9-49BF-45C7-934A-23BA290D5595 Microsoft SQL Server 2008 MSSQLSRV2008 diff --git a/Tiobon.Core.Services/Ghre/Ghre_CourseClassServices.cs b/Tiobon.Core.Services/Ghre/Ghre_CourseClassServices.cs index a18d6c7c..ad41414c 100644 --- a/Tiobon.Core.Services/Ghre/Ghre_CourseClassServices.cs +++ b/Tiobon.Core.Services/Ghre/Ghre_CourseClassServices.cs @@ -13,4 +13,130 @@ public class Ghre_CourseClassServices : BaseServices> DownloadExcel(string menuName) + { + var physicsPath = $"{Environment.CurrentDirectory}{Path.DirectorySeparatorChar}wwwroot"; + var path = $"{$"{Path.DirectorySeparatorChar}files{Path.DirectorySeparatorChar}ExcelTemplate{Path.DirectorySeparatorChar}"}"; + if (!Directory.Exists(physicsPath + path)) + Directory.CreateDirectory(physicsPath + path); + + Type entityType = typeof(Ghre_CourseClass); + var fileName = entityType.GetEntityTableName() + ".xlsx"; + + + var physicsPath1 = physicsPath + path + fileName; + //if (dataSourceLists.Any()) + // physicsPath1 = physicsPath + path + newFileName; + var result = ServiceResult.OprateSuccess("课程分类_" + DateTimeHelper.ConvertToSecondString1(DateTime.Now) + ".xlsx", physicsPath1); + return result; + } + public override async Task> ImportExcel(IFormFile file) + { + var data = new ExcelData(); + long id = SnowFlakeSingle.instance.getID(); + var physicsPath = $"{Environment.CurrentDirectory}{Path.DirectorySeparatorChar}wwwroot"; + var path = $"{$"{Path.DirectorySeparatorChar}files{Path.DirectorySeparatorChar}import{Path.DirectorySeparatorChar}{id}{Path.DirectorySeparatorChar}"}"; + if (!Directory.Exists(physicsPath + path)) + Directory.CreateDirectory(physicsPath + path); + + var filepath = physicsPath + path + file.FileName; + using (var stream = File.Create(filepath)) + { + await file.CopyToAsync(stream); + } + string extension = Path.GetExtension(filepath); + + bool isExistError = false; + var id1 = SnowFlakeSingle.instance.getID(); + string errorFileName = path + SnowFlakeSingle.instance.getID() + extension; + + var dt = NPOIHelper.ImportExcel(filepath, "课程分类"); + if (dt.Columns["Comments"] == null) + dt.Columns.Add("Comments", typeof(string)); + + for (int i = 0; i < dt.Rows.Count; i++) + { + var comments = new List(); + + if (!dt.Columns.Contains("分类编号")) + { + comments.Add("未查询到【分类编号】列!"); + data.ErrorCount++; + dt.Rows[i]["Comments"] = string.Join(";", comments.Select(a => a)); + isExistError = true; + continue; + } + if (!dt.Columns.Contains("分类名称")) + { + comments.Add("未查询到【分类名称】列!"); + data.ErrorCount++; + dt.Rows[i]["Comments"] = string.Join(";", comments.Select(a => a)); + isExistError = true; + continue; + } + if (!dt.Columns.Contains("备注")) + { + comments.Add("未查询到【备注】列!"); + data.ErrorCount++; + dt.Rows[i]["Comments"] = string.Join(";", comments.Select(a => a)); + isExistError = true; + continue; + } + + var ClassNo = dt.Rows[i]["分类编号"].ToString(); + var ClassName = dt.Rows[i]["分类名称"].ToString(); + if (ClassNo.IsNullOrEmpty() && ClassName.IsNullOrEmpty()) + continue; + + var remarkSz = dt.Rows[i]["备注"].ToString(); + + if (await base.AnyAsync(x => x.ClassName == ClassName && x.ClassNo == ClassNo)) + { + comments.Add($"系统已存在相同编号名称课程分类数据!"); + data.ErrorCount++; + dt.Rows[i]["Comments"] = string.Join(";", comments.Select(a => a)); + isExistError = true; + continue; + } + + + var dict = new Dictionary + { + { "Id", SnowFlakeSingle.Instance.NextId() }, + { "CreateBy", App.User.ID }, + { "CreateTime", DateTime.Now }, + { "ClassNo", ClassNo }, + { "ClassName", ClassName }, + { "RemarkSz", remarkSz } + }; + try + { + await Db.Insertable(dict).AS("Ghre_CourseClass").ExecuteCommandAsync(); + data.SuccessCount++; + //data.SuccessCount += list.Count; + } + catch (Exception E) + { + comments.Add(E.Message); + data.ErrorCount++; + dt.Rows[i]["Comments"] = string.Join(";", comments.Select(a => a)); + isExistError = true; + continue; + } + + } + + if (isExistError) + { + NPOIHelper.ExportExcel(dt, null, "课程分类", physicsPath + errorFileName); + data.filePath = errorFileName; + } + return ServiceResult.OprateSuccess("导入成功!", data); + } + #endregion } \ No newline at end of file diff --git a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs index df0d9164..25f833b8 100644 --- a/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs +++ b/Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs @@ -4047,8 +4047,15 @@ WHERE A.IsEnable = 1 AND C.IsEnable = 1 dict.Add("Reverse8", applyOrder.ProbationMonths); dict.Add("ZoneID", applyOrder.ZoneId); dict.Add("StaffType1", applyOrder.StaffType1); + dict.Add("StaffType2", applyOrder.StaffType); //dict.Add("Reverse8", applyOrder.ProbationMonths); } + else + { + dict.Add("PeriodMasterId", null); + } + dict.Add("OvertimeRuleID", null); + dict.Add("TaxID", null); if (dict.Count > 0) staffId = await Db.Insertable(dict).AS("Ghra_Staff").ExecuteReturnIdentityAsync();