username@email.com
2024-05-17 a9d26b7c151f2727c9dc06a8236f2cf45a765cda
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
    }