From 851867ee53ea4a7d9f65f2b78111a69e3c4bc669 Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期四, 16 五月 2024 14:33:32 +0800 Subject: [PATCH] 完招聘信息发布,简历填写等API --- CoreCms.Net.Repository/baifenbingfa/Job_ApplicantProfileRepository.cs | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/CoreCms.Net.Repository/baifenbingfa/Job_ApplicantProfileRepository.cs b/CoreCms.Net.Repository/baifenbingfa/Job_ApplicantProfileRepository.cs index 4329891..f893c45 100644 --- a/CoreCms.Net.Repository/baifenbingfa/Job_ApplicantProfileRepository.cs +++ b/CoreCms.Net.Repository/baifenbingfa/Job_ApplicantProfileRepository.cs @@ -21,6 +21,7 @@ using CoreCms.Net.Model.ViewModels.UI; using SqlSugar; using CoreCms.Net.Model.Entities.baifenbingfa.jon; +using Org.BouncyCastle.Crypto; namespace CoreCms.Net.Repository { @@ -263,6 +264,17 @@ return list; } + public async Task<AdminUiCallBack> NvInsertAsync(Job_ApplicantProfile entity) + { + var jm = new AdminUiCallBack(); + + var bl = await DbClient.InsertNav<Job_ApplicantProfile>(entity).Include(x=>x.FamilyMembers).Include(x=>x.employmentRecords).ExecuteCommandAsync(); + jm.code = bl ? 0 : 1; + jm.msg = bl ? GlobalConstVars.InsertSuccess : GlobalConstVars.InsertFailure; + + return jm; + } + #endregion } -- Gitblit v1.9.1