From 626943b5ba84ce44bc19f4c3b8e8e94638bec733 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 09 九月 2024 14:15:59 +0800
Subject: [PATCH] 查单

---
 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