|
|
@ -1,6 +1,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
using AgileObjects.AgileMapper; |
|
|
|
using AgileObjects.AgileMapper; |
|
|
|
using DnsClient; |
|
|
|
using DnsClient; |
|
|
|
|
|
|
|
using MathNet.Numerics.Distributions; |
|
|
|
using Microsoft.IdentityModel.Tokens; |
|
|
|
using Microsoft.IdentityModel.Tokens; |
|
|
|
using Newtonsoft.Json.Linq; |
|
|
|
using Newtonsoft.Json.Linq; |
|
|
|
using SqlSugar; |
|
|
|
using SqlSugar; |
|
|
@ -729,7 +730,7 @@ END"; |
|
|
|
Data.Training = Training; |
|
|
|
Data.Training = Training; |
|
|
|
#endregion |
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
|
|
Data.Attachment = await Db.Queryable<Ghre_Attachment>().Where(x => x.TableName == id.ObjToString()).ToListAsync(); |
|
|
|
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);//证件 |
|
|
|
var statements = await _ghrh_ResumeStatementServices.QueryDto(x => x.ResumeId != null && x.ResumeId == id);//证件 |
|
|
|
|
|
|
|
|
|
|
|
Data.Statement = statements.ToDictionary(person => person.StatementCode, person => person.TrueOrFalse); |
|
|
|
Data.Statement = statements.ToDictionary(person => person.StatementCode, person => person.TrueOrFalse); |
|
|
@ -852,11 +853,30 @@ END"; |
|
|
|
|
|
|
|
|
|
|
|
await _ghrh_ResumeStatementServices.Add(inserts); |
|
|
|
await _ghrh_ResumeStatementServices.Add(inserts); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
await Db.Updateable<Ghrs_Attachment>() |
|
|
|
|
|
|
|
.SetColumns(it => new Ghrs_Attachment() { TableName = null }) |
|
|
|
|
|
|
|
.Where(it => it.TableName == id.ToString()) |
|
|
|
|
|
|
|
.ExecuteCommandAsync(); |
|
|
|
|
|
|
|
if (resume.Attachment != null && resume.Attachment.Any()) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
for (int i = 0; i < resume.Attachment.Count; i++) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
await Db.Updateable<Ghrs_Attachment>() |
|
|
|
|
|
|
|
.SetColumns(it => new Ghrs_Attachment() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
TableName = id.ToString(), |
|
|
|
|
|
|
|
RemarkSz = resume.Attachment[i].RemarkSz |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
.Where(it => it.RelativePath == resume.Attachment[i].RelativePath) |
|
|
|
|
|
|
|
.ExecuteCommandAsync(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
return ServiceResult.OprateSuccess(); |
|
|
|
return ServiceResult.OprateSuccess(); |
|
|
|
} |
|
|
|
} |
|
|
|
#endregion |
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
|
|
#region 简历提交接口 |
|
|
|
#region 查询招聘表单信息提交结果接口 |
|
|
|
public async Task<ServiceResult<dynamic>> QueryResult(long id, int langId) |
|
|
|
public async Task<ServiceResult<dynamic>> QueryResult(long id, int langId) |
|
|
|
{ |
|
|
|
{ |
|
|
|
dynamic Data = new ExpandoObject(); |
|
|
|
dynamic Data = new ExpandoObject(); |
|
|
|