From 1cb49b04ae6709e6054c328f5ed12bff9ca014c8 Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期二, 12 十一月 2024 09:21:57 +0800 Subject: [PATCH] no message --- 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