|
|
|
@ -1,4 +1,5 @@ |
|
|
|
|
using Microsoft.AspNetCore.Hosting; |
|
|
|
|
using AgileObjects.AgileMapper.Extensions; |
|
|
|
|
using Microsoft.AspNetCore.Hosting; |
|
|
|
|
using Microsoft.AspNetCore.Mvc; |
|
|
|
|
using Microsoft.Extensions.Hosting; |
|
|
|
|
using System.IO.Compression; |
|
|
|
@ -853,7 +854,9 @@ ORDER BY A.SortNo ASC"; |
|
|
|
|
{ "FileName",await QueryLangValue("Recruit_Resume_From_File_Name",langId,"文件名") }, |
|
|
|
|
{ "FileSize",await QueryLangValue("Recruit_Resume_From_File_Size",langId,"文件大小") }, |
|
|
|
|
{ "Remark",await QueryLangValue("Recruit_Resume_From_Remark",langId,"备注") }, |
|
|
|
|
{ "Option",await QueryLangValue("Recruit_Resume_From_Option",langId,"操作") } |
|
|
|
|
{ "Option",await QueryLangValue("Recruit_Resume_From_Option",langId,"操作") }, |
|
|
|
|
{ "TrueText",await QueryLangValue("Recruit_Resume_From_TrueText",langId,"是") }, |
|
|
|
|
{ "FalseText", await QueryLangValue("Recruit_Resume_From_FalseText",langId,"否") } |
|
|
|
|
}; |
|
|
|
|
return ServiceResult<Dictionary<string, string>>.OprateSuccess("查询成功", dict); |
|
|
|
|
|
|
|
|
@ -1193,8 +1196,14 @@ END"; |
|
|
|
|
|
|
|
|
|
Data.Attachment = await Db.Queryable<Ghrs_Attachment>().Where(x => x.TableName == id.ObjToString()).ToListAsync(); |
|
|
|
|
var statements = await _ghrh_ResumeStatementServices.QueryDto(x => x.ResumeId != null && x.ResumeId == id);//证件 |
|
|
|
|
|
|
|
|
|
Data.Statement = statements.ToDictionary(person => person.StatementCode, person => person.TrueOrFalse); |
|
|
|
|
var StatementDic = new Dictionary<string, bool?>(); |
|
|
|
|
statements.ForEach(statement => |
|
|
|
|
{ |
|
|
|
|
if (!StatementDic.ContainsKey(statement.StatementCode)) |
|
|
|
|
StatementDic.Add(statement.StatementCode, statement.TrueOrFalse); |
|
|
|
|
}); |
|
|
|
|
Data.Statement = StatementDic; |
|
|
|
|
//Data.Statement = statements.ToDictionary(person => person.StatementCode, person => person.TrueOrFalse); |
|
|
|
|
obj.Data = Data; |
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
@ -4807,7 +4816,7 @@ WHERE A.IsEnable = 1 AND C.IsEnable = 1 |
|
|
|
|
staffId = await Db.Insertable(dict).AS("Ghra_Staff").ExecuteReturnIdentityAsync(); |
|
|
|
|
if (staffId > 0) |
|
|
|
|
{ |
|
|
|
|
string sql = $"update Ghra_Staff set Indate={inTime} where StaffID={staffId} and Indate is null"; |
|
|
|
|
string sql = $"update Ghra_Staff set Indate='{inTime}' where StaffID={staffId} and Indate is null"; |
|
|
|
|
if (inTime != null) |
|
|
|
|
await Db.Ado.ExecuteCommandAsync(sql); |
|
|
|
|
if (type != "Fast") |
|
|
|
|