|
|
@ -1369,6 +1369,16 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
position = "left" |
|
|
|
position = "left" |
|
|
|
}); |
|
|
|
}); |
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeScheduleInterview").Any()) |
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeScheduleInterview").Any()) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
display = true, |
|
|
|
|
|
|
|
fnKey = "TBD13YN", |
|
|
|
|
|
|
|
fnTitle = "安排面试", |
|
|
|
|
|
|
|
fnType = "row", |
|
|
|
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
|
|
|
position = "left" |
|
|
|
|
|
|
|
}); |
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
{ |
|
|
|
{ |
|
|
|
display = true, |
|
|
|
display = true, |
|
|
@ -1378,6 +1388,7 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
icon = "ess-icon-reject", |
|
|
|
icon = "ess-icon-reject", |
|
|
|
position = "left" |
|
|
|
position = "left" |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeReScheduleInterview").Any()) |
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeReScheduleInterview").Any()) |
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
{ |
|
|
|
{ |
|
|
@ -1398,6 +1409,15 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
icon = "ess-icon-reject", |
|
|
|
icon = "ess-icon-reject", |
|
|
|
position = "left" |
|
|
|
position = "left" |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
display = true, |
|
|
|
|
|
|
|
fnKey = "TBD25YN", |
|
|
|
|
|
|
|
fnTitle = "转入待发offer", |
|
|
|
|
|
|
|
fnType = "row", |
|
|
|
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
|
|
|
position = "left" |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
case "F_ResumeMaintenance_Hire"://录用 |
|
|
|
case "F_ResumeMaintenance_Hire"://录用 |
|
|
@ -3745,6 +3765,33 @@ END"; |
|
|
|
} |
|
|
|
} |
|
|
|
#endregion |
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case "F_ESS_RecruitOfferApply": |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 写入数据,并判断是否有错误 |
|
|
|
|
|
|
|
switch (param.doType) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
case "Apply": |
|
|
|
|
|
|
|
case "BatchApply": |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 写入数据,并判断是否有错误 |
|
|
|
|
|
|
|
string json = param.jsonParam.ToString(); |
|
|
|
|
|
|
|
var dict = JsonHelper.JsonToObj<Ghrh_HumanRequest>(json); |
|
|
|
|
|
|
|
dict.RequestNo = await GenerateContinuousSequence("Ghrh_HumanRequest", "RequestNo", "R"); |
|
|
|
|
|
|
|
id = await Db.Insertable(dict).ExecuteReturnSnowflakeIdAsync(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sql = $"SELECT ISNULL(MAX(id)+1,1) FROM Ghrh_HumanRequest WHERE Id !='{id}'"; |
|
|
|
|
|
|
|
var id1 = await Db.Ado.GetLongAsync(sql); |
|
|
|
|
|
|
|
sql = $"UPDATE Ghrh_HumanRequest SET Id={id1} WHERE Id ='{id}'"; |
|
|
|
|
|
|
|
await Db.Ado.ExecuteCommandAsync(sql); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
id = id1; |
|
|
|
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|