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.Services/baifenbingfa/Job_ApplicantProfileServices.cs           |    2 
 CoreCms.Net.IRepository/baifenbinfa/IJob_ApplicantProfileRepository.cs      |    7 
 CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/details.html |   68 ++------
 CoreCms.Net.Web.WebApi/Controllers/baifenbingfa/JobController.cs            |   82 ++++++++++
 CoreCms.Net.IRepository/IBaseRepository.cs                                  |    2 
 CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/index.html   |   94 ++---------
 CoreCms.Net.Web.Admin/Controllers/baifenbingfa/Job_jobSetingController.cs   |   11 +
 CoreCms.Net.IRepository/baifenbinfa/IJob_jobSetingRepository.cs             |    6 
 CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs             |   46 +++--
 CoreCms.Net.Web.WebApi/CoreCms.Net.Web.WebApi.csproj                        |    5 
 CoreCms.Net.Repository/baifenbingfa/Job_jobSetingRepository.cs              |    6 
 CoreCms.Net.Repository/baifenbingfa/Job_ApplicantProfileRepository.cs       |   12 +
 CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/edit.html    |   58 +------
 CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/create.html  |   54 +-----
 CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfilePartial.cs      |   22 ++
 15 files changed, 225 insertions(+), 250 deletions(-)

diff --git a/CoreCms.Net.IRepository/IBaseRepository.cs b/CoreCms.Net.IRepository/IBaseRepository.cs
index 899bc8d..c928e80 100644
--- a/CoreCms.Net.IRepository/IBaseRepository.cs
+++ b/CoreCms.Net.IRepository/IBaseRepository.cs
@@ -103,7 +103,7 @@
         /// <param name="cacheTimes">缂撳瓨鏃堕暱锛堝垎閽燂級</param>
         /// <returns></returns>
         Task<List<T>> QueryAsync(bool blUseNoLock = false, bool isDataCache = false, int cacheTimes = int.MaxValue);
-
+       
         /// <summary>
         ///     鏍规嵁鏉′欢鏌ヨ鏁版嵁
         /// </summary>
diff --git a/CoreCms.Net.IRepository/baifenbinfa/IJob_ApplicantProfileRepository.cs b/CoreCms.Net.IRepository/baifenbinfa/IJob_ApplicantProfileRepository.cs
index 22a4cfc..172dd33 100644
--- a/CoreCms.Net.IRepository/baifenbinfa/IJob_ApplicantProfileRepository.cs
+++ b/CoreCms.Net.IRepository/baifenbinfa/IJob_ApplicantProfileRepository.cs
@@ -35,7 +35,12 @@
         /// <returns></returns>
         Task<AdminUiCallBack> InsertAsync(Job_ApplicantProfile entity);
 
-
+        /// <summary>
+        /// 瀵艰埅鍑哄叆
+        /// </summary>
+        /// <param name="entity"></param>
+        /// <returns></returns>
+        Task<AdminUiCallBack> NvInsertAsync(Job_ApplicantProfile entity);
         /// <summary>
         /// 閲嶅啓寮傛鏇存柊鏂规硶
         /// </summary>
diff --git a/CoreCms.Net.IRepository/baifenbinfa/IJob_jobSetingRepository.cs b/CoreCms.Net.IRepository/baifenbinfa/IJob_jobSetingRepository.cs
index 91fdbf8..b8b175c 100644
--- a/CoreCms.Net.IRepository/baifenbinfa/IJob_jobSetingRepository.cs
+++ b/CoreCms.Net.IRepository/baifenbinfa/IJob_jobSetingRepository.cs
@@ -95,5 +95,11 @@
             Expression<Func<Job_jobSeting, object>> orderByExpression, OrderByType orderByType, int pageIndex = 1,
             int pageSize = 20, bool blUseNoLock = false);
 
+        /// <summary>
+        /// 
+        /// </summary>
+        /// <returns></returns>
+        Task<List<Job_jobSeting>> QueryAsyncALL();
+
     }
 }
diff --git a/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs b/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs
index 5312962..3b52616 100644
--- a/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs
+++ b/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfile.cs
@@ -3,6 +3,8 @@
 using SqlSugar;
 using System;
 using System.Collections.Generic;
+using System.ComponentModel;
+using System.ComponentModel.DataAnnotations;
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
@@ -34,12 +36,12 @@
         /// <summary>
         /// 搴旇仒鑰呯殑鍏ㄥ悕銆�
         /// </summary>
-        public string name { get; set; }
+        public string? name { get; set; }
 
         /// <summary>
         /// 搴旇仒鑰呯殑鎬у埆銆�
         /// </summary>
-        public string gender { get; set; }
+        public string? gender { get; set; }
 
         /// <summary>
         /// 搴旇仒鑰呯殑韬珮锛堝崟浣嶏細鍘樼背锛夈��
@@ -54,18 +56,18 @@
         /// <summary>
         /// 搴旇仒鑰呯殑鍑虹敓鏃ユ湡銆�
         /// </summary>
-        public DateTime dateOfBirth { get; set; }
+        public DateTime? dateOfBirth { get; set; }
 
         /// <summary>
         /// 搴旇仒鑰呯殑姣曚笟瀛︽牎鍚嶇О銆�
         /// </summary>
         [SugarColumn(IsNullable =true)]
-        public string graduatingSchool { get; set; }
+        public string? graduatingSchool { get; set; }
 
         /// <summary>
         /// 搴旇仒鑰呯殑鏈�楂樺鍘嗐��
         /// </summary>
-        public string educationLevel { get; set; }
+        public string? educationLevel { get; set; }
 
         /// <summary>
         /// 搴旇仒鑰呯殑涓撲笟鍚嶇О銆�
@@ -76,7 +78,7 @@
         /// <summary>
         /// 鏄惁鍚哥儫銆�
         /// </summary>
-        public string smokes { get; set; }
+        public string? smokes { get; set; }
 
         /// <summary>
         /// 椹鹃┒鎶�鏈瓑绾э紙濡傛柊鎵嬨�佺啛缁冦�佷笓涓氾級銆�
@@ -145,6 +147,7 @@
         /// <summary>
         /// 鐢宠姝e湪瀹℃牳涓��
         /// </summary>
+     
         UnderReview,
 
         /// <summary>
@@ -176,7 +179,7 @@
     /// 宸ヤ綔缁忓巻
     /// </summary>
     [SqlCodeFirst]
-    public class Job_EmploymentRecord
+    public partial  class  Job_EmploymentRecord
     {
         /// <summary>
         /// 涓婚敭ID锛岃嚜澧為暱
@@ -186,7 +189,7 @@
         /// <summary>
         /// 宸ヤ綔寮�濮嬫棩鏈熴��
         /// </summary>
-        public DateTime startDate { get; set; }
+        public DateTime? startDate { get; set; }
 
         /// <summary>
         /// 宸ヤ綔缁撴潫鏃ユ湡锛屽鏋滄槸褰撳墠宸ヤ綔锛屽垯涓虹┖鎴栬〃绀鸿嚦浠婄殑鏃ユ湡銆�
@@ -196,24 +199,27 @@
         /// <summary>
         /// 宸ヤ綔鍗曚綅鐨勫悕绉般��
         /// </summary>
-        public string workplace { get; set; }
+        [SugarColumn(IsNullable = true)]
+        public string? workplace { get; set; }
 
         /// <summary>
         /// 鍦ㄨ鍗曚綅鎷呬换鐨勮亴鍔℃垨鑱屼綅銆�
         /// </summary>
-        [SugarColumn(Length =512)]
-        public string position { get; set; }
+        [SugarColumn(Length =512, IsNullable = true)]
+        public string? position { get; set; }
 
         /// <summary>
         /// 姣忔湀鐨勫伐璧勬垨钖按銆�
         /// </summary>
-        public decimal monthlySalary { get; set; }
+        [SugarColumn(IsNullable = true)]
+        public decimal? monthlySalary { get; set; }
 
         /// <summary>
         /// 绂昏亴鐨勫師鍥犮��
         /// </summary>
-        [SugarColumn(Length = 512)]
-        public string reasonForLeaving { get; set; }
+        [SugarColumn(Length = 512, IsNullable = true)]
+        
+        public string? reasonForLeaving { get; set; }
 
 
         /// <summary>
@@ -239,22 +245,26 @@
         /// <summary>
         /// 濮撳悕
         /// </summary>
-        public string name { get; set; }
+        [SugarColumn(IsNullable =true)]
+        public string? name { get; set; }
 
         /// <summary>
         /// 绉拌皳
         /// </summary>
-        public string title { get; set; }
+        [SugarColumn(IsNullable = true)]
+        public string? title { get; set; }
 
         /// <summary>
         /// 骞撮緞
         /// </summary>
-        public int age { get; set; }
+        [SugarColumn(IsNullable =true)]
+        public int? age { get; set; }
 
         /// <summary>
         /// 宸ヤ綔鍗曚綅鍙婅亴鍔�
         /// </summary>
-        public string workUnitAndPosition { get; set; }
+        [SugarColumn(IsNullable = true)]
+        public string? workUnitAndPosition { get; set; }
     }
 
 }
diff --git a/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfilePartial.cs b/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfilePartial.cs
index 0aae6c5..8bbd35a 100644
--- a/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfilePartial.cs
+++ b/CoreCms.Net.Model/Entities/baifenbingfa/job/ApplicantProfilePartial.cs
@@ -25,13 +25,27 @@
         /// 宸ヤ綔绠�鍘�
         /// </summary>
         [Navigate(NavigateType.OneToMany, nameof(Job_EmploymentRecord.ApplicantProfileId))]
-        public List<Job_EmploymentRecord> employmentRecords{ get; set; }
+        public List<Job_EmploymentRecord>? employmentRecords{ get; set; }
 
         /// <summary>
-        /// 宸ヤ綔绠�鍘�
+        /// 瀹跺涵鎴愬憳
         /// </summary>
-        [Display(Name = "娲借皥鏃堕棿")]
+        [Display(Name = "瀹跺涵鎴愬憳")]
         [Navigate(NavigateType.OneToMany, nameof(Job_FamilyMember.ApplicantProfileId))]
-        public List<Job_FamilyMember> FamilyMembers { get; set; }
+        public List<Job_FamilyMember>? FamilyMembers { get; set; }
+
+
+     
+
+    }
+
+    public partial class Job_EmploymentRecord
+    {
+        /// <summary>
+        /// 璧峰缁撴潫鏃堕棿
+        /// </summary>
+        [SugarColumn(IsIgnore =true)]
+        [Required]
+        public List<DateTime> StartEndDateTimes { get; set; }
     }
 }
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
 
     }
diff --git a/CoreCms.Net.Repository/baifenbingfa/Job_jobSetingRepository.cs b/CoreCms.Net.Repository/baifenbingfa/Job_jobSetingRepository.cs
index ff9191f..39c3d28 100644
--- a/CoreCms.Net.Repository/baifenbingfa/Job_jobSetingRepository.cs
+++ b/CoreCms.Net.Repository/baifenbingfa/Job_jobSetingRepository.cs
@@ -218,6 +218,12 @@
             return list;
         }
 
+        public async Task<List<Job_jobSeting>> QueryAsyncALL()
+        {
+            var page = await DbClient.Queryable<Job_jobSeting>().Where(x => x.isEN == true).ToListAsync();
+            return page;
+        }
+
         #endregion
 
     }
diff --git a/CoreCms.Net.Services/baifenbingfa/Job_ApplicantProfileServices.cs b/CoreCms.Net.Services/baifenbingfa/Job_ApplicantProfileServices.cs
index 6928aff..a5a5d50 100644
--- a/CoreCms.Net.Services/baifenbingfa/Job_ApplicantProfileServices.cs
+++ b/CoreCms.Net.Services/baifenbingfa/Job_ApplicantProfileServices.cs
@@ -49,7 +49,7 @@
         /// <returns></returns>
         public async Task<AdminUiCallBack> InsertAsync(Job_ApplicantProfile entity)
         {
-            return await _dal.InsertAsync(entity);
+            return await _dal.NvInsertAsync(entity);
         }
 
         /// <summary>
diff --git a/CoreCms.Net.Web.Admin/Controllers/baifenbingfa/Job_jobSetingController.cs b/CoreCms.Net.Web.Admin/Controllers/baifenbingfa/Job_jobSetingController.cs
index 73084b9..dd35c2b 100644
--- a/CoreCms.Net.Web.Admin/Controllers/baifenbingfa/Job_jobSetingController.cs
+++ b/CoreCms.Net.Web.Admin/Controllers/baifenbingfa/Job_jobSetingController.cs
@@ -32,6 +32,8 @@
 using SqlSugar;
 using CoreCms.Net.Model.Entities.baifenbingfa.jon;
 using CoreCms.Net.Web.Admin.Infrastructure;
+using CoreCms.Net.Services;
+using CoreCms.Net.Auth.HttpContextUser;
 
 namespace CoreCms.Net.Web.Admin.Controllers
 {
@@ -47,16 +49,21 @@
     {
         private readonly IWebHostEnvironment _webHostEnvironment;
         private readonly IJob_jobSetingServices _Job_jobSetingServices;
+        private readonly IHttpContextUser _user;
 
         /// <summary>
         /// 鏋勯�犲嚱鏁�
         ///</summary>
         public Job_jobSetingController(IWebHostEnvironment webHostEnvironment
             ,IJob_jobSetingServices Job_jobSetingServices
+            ,ICoreCmsUserLogServices CoreCmsUserLogServices
+            ,IHttpContextUser User
             )
         {
             _webHostEnvironment = webHostEnvironment;
             _Job_jobSetingServices = Job_jobSetingServices;
+            _user = User;
+         
         }
 
         #region 鑾峰彇鍒楄〃============================================================
@@ -250,6 +257,8 @@
         [Description("鍒涘缓鎻愪氦")]
         public async Task<AdminUiCallBack> DoCreate([FromBody]Job_jobSeting entity)
         {
+            entity.createBy = _user?.Name??"绯荤粺鎴栬�呭叾浠�";
+            entity.createTime = DateTime.Now;
             var jm = await _Job_jobSetingServices.InsertAsync(entity);
             return jm;
         }
@@ -292,6 +301,8 @@
         [Description("缂栬緫鎻愪氦")]
         public async Task<AdminUiCallBack> DoEdit([FromBody]Job_jobSeting entity)
         {
+            entity.upDataBy = _user?.Name ?? "绯荤粺鎴栬�呭叾浠�";
+                entity.upDataTime = DateTime.Now;
             var jm = await _Job_jobSetingServices.UpdateAsync(entity);
             return jm;
         }
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/create.html b/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/create.html
index ed97aba..da9f4d6 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/create.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/create.html
@@ -1,89 +1,51 @@
 <script type="text/html" template lay-done="layui.data.done(d);">
 <div class="layui-form coreshop-form layui-form-pane" lay-filter="LAY-app-Job_jobSeting-createForm" id="LAY-app-Job_jobSeting-createForm">
 	
-	<div class="layui-form-item">
-        <label for="id" class="layui-form-label  layui-form-required">涓婚敭ID</label>
-        <div class="layui-input-block">
-            <input  type="number" min="0" max="999999" name="id"   lay-verType="tips" lay-verify="required|number" class="layui-input" value="1" placeholder="璇疯緭鍏ヤ富閿甀D" lay-reqText="璇疯緭鍏ヤ富閿甀D骞朵负鏁板瓧"  />
-        </div>
-    </div>
+	
 	
 	<div class="layui-form-item">
-        <label for="position" class="layui-form-label  layui-form-required">鑱屼綅鍚嶇О锛岀敤浜庢弿杩板伐浣滃矖浣嶇殑鑱岃矗鍜岃鑹层��</label>
+        <label for="position" class="layui-form-label  layui-form-required">鑱屼綅鍚嶇О</label>
         <div class="layui-input-block">
             <input name="position"   lay-verType="tips" lay-verify="required" class="layui-input"  placeholder="璇疯緭鍏ヨ亴浣嶅悕绉帮紝鐢ㄤ簬鎻忚堪宸ヤ綔宀椾綅鐨勮亴璐e拰瑙掕壊銆�" lay-reqText="璇疯緭鍏ヨ亴浣嶅悕绉帮紝鐢ㄤ簬鎻忚堪宸ヤ綔宀椾綅鐨勮亴璐e拰瑙掕壊銆�"  />
         </div>
     </div>
 	
 	<div class="layui-form-item">
-        <label for="quantity" class="layui-form-label  layui-form-required">闇�姹備汉鏁帮紝琛ㄧず鍏徃鎷涜仒璇ヨ亴浣嶇殑璁″垝鎷涜仒鏁伴噺銆�</label>
+        <label for="quantity" class="layui-form-label  layui-form-required">闇�姹備汉鏁般��</label>
         <div class="layui-input-block">
             <input  type="number" min="0" max="999999" name="quantity"   lay-verType="tips" lay-verify="required|number" class="layui-input" value="1" placeholder="璇疯緭鍏ラ渶姹備汉鏁帮紝琛ㄧず鍏徃鎷涜仒璇ヨ亴浣嶇殑璁″垝鎷涜仒鏁伴噺銆�" lay-reqText="璇疯緭鍏ラ渶姹備汉鏁帮紝琛ㄧず鍏徃鎷涜仒璇ヨ亴浣嶇殑璁″垝鎷涜仒鏁伴噺銆傚苟涓烘暟瀛�"  />
         </div>
     </div>
 	
 	<div class="layui-form-item">
-        <label for="location" class="layui-form-label  layui-form-required">宸ヤ綔鍦扮偣锛屽寘鎷煄甯傚拰鍙兘鐨勫叿浣撳姙鍏湴鍧�銆�</label>
+        <label for="location" class="layui-form-label  layui-form-required">宸ヤ綔鍦扮偣</label>
         <div class="layui-input-block">
             <input name="location"   lay-verType="tips" lay-verify="required" class="layui-input"  placeholder="璇疯緭鍏ュ伐浣滃湴鐐癸紝鍖呮嫭鍩庡競鍜屽彲鑳界殑鍏蜂綋鍔炲叕鍦板潃銆�" lay-reqText="璇疯緭鍏ュ伐浣滃湴鐐癸紝鍖呮嫭鍩庡競鍜屽彲鑳界殑鍏蜂綋鍔炲叕鍦板潃銆�"  />
         </div>
     </div>
 	
 	<div class="layui-form-item">
-        <label for="jobDescription" class="layui-form-label  layui-form-required">宸ヤ綔鎻忚堪锛屽寘鍚亴浣嶇殑涓昏鑱岃矗銆佷换鍔′互鍙婃湡鏈涚殑宸ヤ綔鎴愭灉銆�</label>
+        <label for="jobDescription" class="layui-form-label  layui-form-required">宸ヤ綔鎻忚堪</label>
         <div class="layui-input-block">
             <input name="jobDescription"   lay-verType="tips" lay-verify="required" class="layui-input"  placeholder="璇疯緭鍏ュ伐浣滄弿杩帮紝鍖呭惈鑱屼綅鐨勪富瑕佽亴璐c�佷换鍔′互鍙婃湡鏈涚殑宸ヤ綔鎴愭灉銆�" lay-reqText="璇疯緭鍏ュ伐浣滄弿杩帮紝鍖呭惈鑱屼綅鐨勪富瑕佽亴璐c�佷换鍔′互鍙婃湡鏈涚殑宸ヤ綔鎴愭灉銆�"  />
         </div>
     </div>
 	
 	<div class="layui-form-item">
-        <label for="requirements" class="layui-form-label  layui-form-required">宀椾綅瑕佹眰锛屽垪鍑虹敵璇疯�呴渶瑕佹弧瓒崇殑鏁欒偛鑳屾櫙銆佹妧鑳姐�佺粡楠屽拰璧勬牸銆�</label>
+        <label for="requirements" class="layui-form-label  layui-form-required">宀椾綅瑕佹眰</label>
         <div class="layui-input-block">
             <input name="requirements"   lay-verType="tips" lay-verify="required" class="layui-input"  placeholder="璇疯緭鍏ュ矖浣嶈姹傦紝鍒楀嚭鐢宠鑰呴渶瑕佹弧瓒崇殑鏁欒偛鑳屾櫙銆佹妧鑳姐�佺粡楠屽拰璧勬牸銆�" lay-reqText="璇疯緭鍏ュ矖浣嶈姹傦紝鍒楀嚭鐢宠鑰呴渶瑕佹弧瓒崇殑鏁欒偛鑳屾櫙銆佹妧鑳姐�佺粡楠屽拰璧勬牸銆�"  />
         </div>
     </div>
 	
 	<div class="layui-form-item" pane>
-        <label for="isEN" class="layui-form-label  layui-form-required">鏄惁鏈夋晥</label>
+        <label for="isEN" class="layui-form-label  layui-form-required">鏄惁涓婃灦</label>
         <div class="layui-input-block">
-            <input type="checkbox" lay-filter="switch" name="isEN"   lay-skin="switch" lay-text="寮�鍚瘄鍏抽棴">
+            <input type="checkbox" lay-filter="switch" name="isEN"   lay-skin="switch" lay-text="涓婃灦|涓嬫灦">
         </div>
     </div>
 	
-	<div class="layui-form-item">
-        <label for="createTime" class="layui-form-label  layui-form-required">寤虹珛鏃堕棿</label>
-        <div class="layui-input-block">
-            <input name="createTime"  id="createTime-Job_jobSeting-createTime" type="text" lay-verType="tips" lay-verify="required|datetime" class="layui-input" placeholder="璇疯緭鍏ュ缓绔嬫椂闂�" lay-reqText="璇疯緭鍏ュ缓绔嬫椂闂�"  />
-        </div>
-    </div>
 	
-	<div class="layui-form-item">
-        <label for="upDataTime" class="layui-form-label  layui-form-required">淇敼鏃堕棿</label>
-        <div class="layui-input-block">
-            <input name="upDataTime"  id="createTime-Job_jobSeting-upDataTime" type="text" lay-verType="tips" lay-verify="required|datetime" class="layui-input" placeholder="璇疯緭鍏ヤ慨鏀规椂闂�" lay-reqText="璇疯緭鍏ヤ慨鏀规椂闂�"  />
-        </div>
-    </div>
-	
-	<div class="layui-form-item">
-        <label for="createBy" class="layui-form-label  layui-form-required">鍒涘缓浜�</label>
-        <div class="layui-input-block">
-            <input name="createBy"   lay-verType="tips" lay-verify="required" class="layui-input"  placeholder="璇疯緭鍏ュ垱寤轰汉" lay-reqText="璇疯緭鍏ュ垱寤轰汉"  />
-        </div>
-    </div>
-	
-	<div class="layui-form-item">
-        <label for="upDataBy" class="layui-form-label  layui-form-required">淇敼浜�</label>
-        <div class="layui-input-block">
-            <input name="upDataBy"   lay-verType="tips" lay-verify="required" class="layui-input"  placeholder="璇疯緭鍏ヤ慨鏀逛汉" lay-reqText="璇疯緭鍏ヤ慨鏀逛汉"  />
-        </div>
-    </div>
-	
-	<div class="layui-form-item" pane>
-        <label for="isdelete" class="layui-form-label  layui-form-required">鍒犻櫎鏍囧織</label>
-        <div class="layui-input-block">
-            <input type="checkbox" lay-filter="switch" name="isdelete"   lay-skin="switch" lay-text="寮�鍚瘄鍏抽棴">
-        </div>
-    </div>
 	
       <div class="layui-form-item text-right core-hidden">
         <input type="button" class="layui-btn" lay-submit lay-filter="LAY-app-Job_jobSeting-createForm-submit" id="LAY-app-Job_jobSeting-createForm-submit" value="纭娣诲姞">
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/details.html b/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/details.html
index 4920f90..6e9289f 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/details.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/details.html
@@ -1,3 +1,12 @@
+<!--
+ * @FilePath: details.html
+ * @Author: 灏忛渚�
+ * @Date: 2024-05-15 14:27:56
+ * @LastEditors: 
+ * @LastEditTime: 2024-05-15 17:01:59
+ * Copyright: 2024  MinTinge CO.,LTD. All Rights Reserved.
+ * @Descripttion: 鍐欏叆浣犵殑鎻忚堪
+-->
 <script type="text/html" template  lay-done="layui.data.done(d);">
     <table class="layui-table layui-form" lay-filter="LAY-app-Job_jobSeting-detailsForm" id="LAY-app-Job_jobSeting-detailsForm">
         <colgroup>
@@ -6,18 +15,11 @@
         </colgroup>
         <tbody>
 		    
-		    <tr>
-                <td>
-                    <label for="id">涓婚敭ID</label>
-                </td>
-                <td>
-                    {{ d.params.data.id || '' }}
-                </td>
-            </tr>
+		 
 		    
 		    <tr>
                 <td>
-                    <label for="position">鑱屼綅鍚嶇О锛岀敤浜庢弿杩板伐浣滃矖浣嶇殑鑱岃矗鍜岃鑹层��</label>
+                    <label for="position">鑱屼綅鍚嶇О</label>
                 </td>
                 <td>
                     {{ d.params.data.position || '' }}
@@ -26,7 +28,7 @@
 		    
 		    <tr>
                 <td>
-                    <label for="quantity">闇�姹備汉鏁帮紝琛ㄧず鍏徃鎷涜仒璇ヨ亴浣嶇殑璁″垝鎷涜仒鏁伴噺銆�</label>
+                    <label for="quantity">闇�姹備汉鏁�</label>
                 </td>
                 <td>
                     {{ d.params.data.quantity || '' }}
@@ -35,7 +37,7 @@
 		    
 		    <tr>
                 <td>
-                    <label for="location">宸ヤ綔鍦扮偣锛屽寘鎷煄甯傚拰鍙兘鐨勫叿浣撳姙鍏湴鍧�銆�</label>
+                    <label for="location">宸ヤ綔鍦扮偣</label>
                 </td>
                 <td>
                     {{ d.params.data.location || '' }}
@@ -44,7 +46,7 @@
 		    
 		    <tr>
                 <td>
-                    <label for="jobDescription">宸ヤ綔鎻忚堪锛屽寘鍚亴浣嶇殑涓昏鑱岃矗銆佷换鍔′互鍙婃湡鏈涚殑宸ヤ綔鎴愭灉銆�</label>
+                    <label for="jobDescription">宸ヤ綔鎻忚堪</label>
                 </td>
                 <td>
                     {{ d.params.data.jobDescription || '' }}
@@ -53,7 +55,7 @@
 		    
 		    <tr>
                 <td>
-                    <label for="requirements">宀椾綅瑕佹眰锛屽垪鍑虹敵璇疯�呴渶瑕佹弧瓒崇殑鏁欒偛鑳屾櫙銆佹妧鑳姐�佺粡楠屽拰璧勬牸銆�</label>
+                    <label for="requirements">宀椾綅瑕佹眰</label>
                 </td>
                 <td>
                     {{ d.params.data.requirements || '' }}
@@ -62,10 +64,10 @@
 		    
 		    <tr>
                 <td>
-                    <label for="isEN">鏄惁鏈夋晥</label>
+                    <label for="isEN">鏄惁涓婃灦</label>
                 </td>
                 <td>
-                    <input type="checkbox" disabled name="isEN" value="{{d.params.data.isEN}}" lay-skin="switch" lay-text="寮�鍚瘄鍏抽棴" lay-filter="isEN" {{ d.params.data.isEN ? 'checked' : '' }}>
+                    <input type="checkbox" disabled name="isEN" value="{{d.params.data.isEN}}" lay-skin="switch" lay-text="涓婃灦|涓嬫灦" lay-filter="isEN" {{ d.params.data.isEN ? 'checked' : '' }}>
                 </td>
             </tr>
 		    
@@ -78,41 +80,7 @@
                 </td>
             </tr>
 		    
-		    <tr>
-                <td>
-                    <label for="upDataTime">淇敼鏃堕棿</label>
-                </td>
-                <td>
-                    {{ d.params.data.upDataTime || '' }}
-                </td>
-            </tr>
-		    
-		    <tr>
-                <td>
-                    <label for="createBy">鍒涘缓浜�</label>
-                </td>
-                <td>
-                    {{ d.params.data.createBy || '' }}
-                </td>
-            </tr>
-		    
-		    <tr>
-                <td>
-                    <label for="upDataBy">淇敼浜�</label>
-                </td>
-                <td>
-                    {{ d.params.data.upDataBy || '' }}
-                </td>
-            </tr>
-		    
-		    <tr>
-                <td>
-                    <label for="isdelete">鍒犻櫎鏍囧織</label>
-                </td>
-                <td>
-                    <input type="checkbox" disabled name="isdelete" value="{{d.params.data.isdelete}}" lay-skin="switch" lay-text="寮�鍚瘄鍏抽棴" lay-filter="isdelete" {{ d.params.data.isdelete ? 'checked' : '' }}>
-                </td>
-            </tr>
+		  
 		    
         </tbody>
     </table>
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/edit.html b/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/edit.html
index 783feaf..f3e4bfd 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/edit.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/edit.html
@@ -1,89 +1,49 @@
 <script type="text/html" template lay-done="layui.data.sendParams(d);">
     <div class="layui-form coreshop-form layui-form-pane" lay-filter="LAY-app-Job_jobSeting-editForm" id="LAY-app-Job_jobSeting-editForm">
 	    <input type="hidden" name="id"  value="{{d.params.data.id || '' }}" />
-	    <div class="layui-form-item">
-            <label for="id" class="layui-form-label  layui-form-required">涓婚敭ID</label>
-            <div class="layui-input-block">
-                <input  type="number" min="0" max="999999" name="id"   lay-verType="tips" lay-verify="required|number" class="layui-input" value="{{d.params.data.id || '' }}" placeholder="璇疯緭鍏ヤ富閿甀D" lay-reqText="璇疯緭鍏ヤ富閿甀D骞朵负鏁板瓧"  />
-            </div>
-        </div>
+	 
 	    
 	    <div class="layui-form-item">
-            <label for="position" class="layui-form-label  layui-form-required">鑱屼綅鍚嶇О锛岀敤浜庢弿杩板伐浣滃矖浣嶇殑鑱岃矗鍜岃鑹层��</label>
+            <label for="position" class="layui-form-label  layui-form-required">鑱屼綅鍚嶇О</label>
             <div class="layui-input-block">
                 <input name="position"   lay-verType="tips" lay-verify="required" class="layui-input" placeholder="璇疯緭鍏ヨ亴浣嶅悕绉帮紝鐢ㄤ簬鎻忚堪宸ヤ綔宀椾綅鐨勮亴璐e拰瑙掕壊銆�" lay-reqText="璇疯緭鍏ヨ亴浣嶅悕绉帮紝鐢ㄤ簬鎻忚堪宸ヤ綔宀椾綅鐨勮亴璐e拰瑙掕壊銆�"  value="{{d.params.data.position || '' }}" />
             </div>
         </div>
 	    
 	    <div class="layui-form-item">
-            <label for="quantity" class="layui-form-label  layui-form-required">闇�姹備汉鏁帮紝琛ㄧず鍏徃鎷涜仒璇ヨ亴浣嶇殑璁″垝鎷涜仒鏁伴噺銆�</label>
+            <label for="quantity" class="layui-form-label  layui-form-required">闇�姹備汉鏁�</label>
             <div class="layui-input-block">
                 <input  type="number" min="0" max="999999" name="quantity"   lay-verType="tips" lay-verify="required|number" class="layui-input" value="{{d.params.data.quantity || '' }}" placeholder="璇疯緭鍏ラ渶姹備汉鏁帮紝琛ㄧず鍏徃鎷涜仒璇ヨ亴浣嶇殑璁″垝鎷涜仒鏁伴噺銆�" lay-reqText="璇疯緭鍏ラ渶姹備汉鏁帮紝琛ㄧず鍏徃鎷涜仒璇ヨ亴浣嶇殑璁″垝鎷涜仒鏁伴噺銆傚苟涓烘暟瀛�"  />
             </div>
         </div>
 	    
 	    <div class="layui-form-item">
-            <label for="location" class="layui-form-label  layui-form-required">宸ヤ綔鍦扮偣锛屽寘鎷煄甯傚拰鍙兘鐨勫叿浣撳姙鍏湴鍧�銆�</label>
+            <label for="location" class="layui-form-label  layui-form-required">宸ヤ綔鍦扮偣</label>
             <div class="layui-input-block">
                 <input name="location"   lay-verType="tips" lay-verify="required" class="layui-input" placeholder="璇疯緭鍏ュ伐浣滃湴鐐癸紝鍖呮嫭鍩庡競鍜屽彲鑳界殑鍏蜂綋鍔炲叕鍦板潃銆�" lay-reqText="璇疯緭鍏ュ伐浣滃湴鐐癸紝鍖呮嫭鍩庡競鍜屽彲鑳界殑鍏蜂綋鍔炲叕鍦板潃銆�"  value="{{d.params.data.location || '' }}" />
             </div>
         </div>
 	    
 	    <div class="layui-form-item">
-            <label for="jobDescription" class="layui-form-label  layui-form-required">宸ヤ綔鎻忚堪锛屽寘鍚亴浣嶇殑涓昏鑱岃矗銆佷换鍔′互鍙婃湡鏈涚殑宸ヤ綔鎴愭灉銆�</label>
+            <label for="jobDescription" class="layui-form-label  layui-form-required">宸ヤ綔鎻忚堪</label>
             <div class="layui-input-block">
                 <input name="jobDescription"   lay-verType="tips" lay-verify="required" class="layui-input" placeholder="璇疯緭鍏ュ伐浣滄弿杩帮紝鍖呭惈鑱屼綅鐨勪富瑕佽亴璐c�佷换鍔′互鍙婃湡鏈涚殑宸ヤ綔鎴愭灉銆�" lay-reqText="璇疯緭鍏ュ伐浣滄弿杩帮紝鍖呭惈鑱屼綅鐨勪富瑕佽亴璐c�佷换鍔′互鍙婃湡鏈涚殑宸ヤ綔鎴愭灉銆�"  value="{{d.params.data.jobDescription || '' }}" />
             </div>
         </div>
 	    
 	    <div class="layui-form-item">
-            <label for="requirements" class="layui-form-label  layui-form-required">宀椾綅瑕佹眰锛屽垪鍑虹敵璇疯�呴渶瑕佹弧瓒崇殑鏁欒偛鑳屾櫙銆佹妧鑳姐�佺粡楠屽拰璧勬牸銆�</label>
+            <label for="requirements" class="layui-form-label  layui-form-required">宀椾綅瑕佹眰</label>
             <div class="layui-input-block">
                 <input name="requirements"   lay-verType="tips" lay-verify="required" class="layui-input" placeholder="璇疯緭鍏ュ矖浣嶈姹傦紝鍒楀嚭鐢宠鑰呴渶瑕佹弧瓒崇殑鏁欒偛鑳屾櫙銆佹妧鑳姐�佺粡楠屽拰璧勬牸銆�" lay-reqText="璇疯緭鍏ュ矖浣嶈姹傦紝鍒楀嚭鐢宠鑰呴渶瑕佹弧瓒崇殑鏁欒偛鑳屾櫙銆佹妧鑳姐�佺粡楠屽拰璧勬牸銆�"  value="{{d.params.data.requirements || '' }}" />
             </div>
         </div>
 	    
 	    <div class="layui-form-item" pane>
-            <label for="isEN" class="layui-form-label  layui-form-required">鏄惁鏈夋晥</label>
+            <label for="isEN" class="layui-form-label  layui-form-required">鏄惁涓婃灦</label>
             <div class="layui-input-block">
-                <input type="checkbox" lay-filter="switch" name="isEN"   {{ d.params.data.isEN ? 'checked' : '' }} lay-skin="switch" lay-text="寮�鍚瘄鍏抽棴">
+                <input type="checkbox" lay-filter="switch" name="isEN"   {{ d.params.data.isEN ? 'checked' : '' }} lay-skin="switch" lay-text="涓婃灦|涓嬫灦">
             </div>
-        </div>
-	    
-	    <div class="layui-form-item">
-            <label for="createTime" class="layui-form-label  layui-form-required">寤虹珛鏃堕棿</label>
-            <div class="layui-input-block">
-                <input name="createTime"  id="editTime-Job_jobSeting-createTime" type="text" lay-verType="tips" lay-verify="required|datetime" class="layui-input" placeholder="璇疯緭鍏ュ缓绔嬫椂闂�" lay-reqText="璇疯緭鍏ュ缓绔嬫椂闂�"   value="{{d.params.data.createTime || '' }}"/>
-            </div>
-        </div>
-	    
-	    <div class="layui-form-item">
-            <label for="upDataTime" class="layui-form-label  layui-form-required">淇敼鏃堕棿</label>
-            <div class="layui-input-block">
-                <input name="upDataTime"  id="editTime-Job_jobSeting-upDataTime" type="text" lay-verType="tips" lay-verify="required|datetime" class="layui-input" placeholder="璇疯緭鍏ヤ慨鏀规椂闂�" lay-reqText="璇疯緭鍏ヤ慨鏀规椂闂�"   value="{{d.params.data.upDataTime || '' }}"/>
-            </div>
-        </div>
-	    
-	    <div class="layui-form-item">
-            <label for="createBy" class="layui-form-label  layui-form-required">鍒涘缓浜�</label>
-            <div class="layui-input-block">
-                <input name="createBy"   lay-verType="tips" lay-verify="required" class="layui-input" placeholder="璇疯緭鍏ュ垱寤轰汉" lay-reqText="璇疯緭鍏ュ垱寤轰汉"  value="{{d.params.data.createBy || '' }}" />
-            </div>
-        </div>
-	    
-	    <div class="layui-form-item">
-            <label for="upDataBy" class="layui-form-label  layui-form-required">淇敼浜�</label>
-            <div class="layui-input-block">
-                <input name="upDataBy"   lay-verType="tips" lay-verify="required" class="layui-input" placeholder="璇疯緭鍏ヤ慨鏀逛汉" lay-reqText="璇疯緭鍏ヤ慨鏀逛汉"  value="{{d.params.data.upDataBy || '' }}" />
-            </div>
-        </div>
-	    
-	    <div class="layui-form-item" pane>
-            <label for="isdelete" class="layui-form-label  layui-form-required">鍒犻櫎鏍囧織</label>
-            <div class="layui-input-block">
-                <input type="checkbox" lay-filter="switch" name="isdelete"   {{ d.params.data.isdelete ? 'checked' : '' }} lay-skin="switch" lay-text="寮�鍚瘄鍏抽棴">
-            </div>
-        </div>
+        </div>	  
 	    
         <div class="layui-form-item text-right core-hidden">
             <input type="button" class="layui-btn" lay-submit lay-filter="LAY-app-Job_jobSeting-editForm-submit" id="LAY-app-Job_jobSeting-editForm-submit" value="纭缂栬緫">
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/index.html b/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/index.html
index c9d8598..4ab058e 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/index.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/job_jobseting/index.html
@@ -21,44 +21,16 @@
     <div class="layui-form coreshop-toolbar-search-form">
         <div class="layui-form-item">
 		    
+      
             <div class="layui-inline">
-                <label class="layui-form-label" for="id">涓婚敭ID</label>
+                <label class="layui-form-label" for="position">鑱屼綅鍚嶇О</label>
                 <div class="layui-input-inline">
-                    <input type="text" name="id"  placeholder="璇疯緭鍏ヤ富閿甀D" class="layui-input">
+                    <input type="text" name="position"  placeholder="璇疯緭鍏ヨ亴浣嶅悕绉�" class="layui-input">
                 </div>
             </div>
-            <div class="layui-inline">
-                <label class="layui-form-label" for="position">鑱屼綅鍚嶇О锛岀敤浜庢弿杩板伐浣滃矖浣嶇殑鑱岃矗鍜岃鑹层��</label>
-                <div class="layui-input-inline">
-                    <input type="text" name="position"  placeholder="璇疯緭鍏ヨ亴浣嶅悕绉帮紝鐢ㄤ簬鎻忚堪宸ヤ綔宀椾綅鐨勮亴璐e拰瑙掕壊銆�" class="layui-input">
-                </div>
-            </div>
-            <div class="layui-inline">
-                <label class="layui-form-label" for="quantity">闇�姹備汉鏁帮紝琛ㄧず鍏徃鎷涜仒璇ヨ亴浣嶇殑璁″垝鎷涜仒鏁伴噺銆�</label>
-                <div class="layui-input-inline">
-                    <input type="text" name="quantity"  placeholder="璇疯緭鍏ラ渶姹備汉鏁帮紝琛ㄧず鍏徃鎷涜仒璇ヨ亴浣嶇殑璁″垝鎷涜仒鏁伴噺銆�" class="layui-input">
-                </div>
-            </div>
-            <div class="layui-inline">
-                <label class="layui-form-label" for="location">宸ヤ綔鍦扮偣锛屽寘鎷煄甯傚拰鍙兘鐨勫叿浣撳姙鍏湴鍧�銆�</label>
-                <div class="layui-input-inline">
-                    <input type="text" name="location"  placeholder="璇疯緭鍏ュ伐浣滃湴鐐癸紝鍖呮嫭鍩庡競鍜屽彲鑳界殑鍏蜂綋鍔炲叕鍦板潃銆�" class="layui-input">
-                </div>
-            </div>
-            <div class="layui-inline">
-                <label class="layui-form-label" for="jobDescription">宸ヤ綔鎻忚堪锛屽寘鍚亴浣嶇殑涓昏鑱岃矗銆佷换鍔′互鍙婃湡鏈涚殑宸ヤ綔鎴愭灉銆�</label>
-                <div class="layui-input-inline">
-                    <input type="text" name="jobDescription"  placeholder="璇疯緭鍏ュ伐浣滄弿杩帮紝鍖呭惈鑱屼綅鐨勪富瑕佽亴璐c�佷换鍔′互鍙婃湡鏈涚殑宸ヤ綔鎴愭灉銆�" class="layui-input">
-                </div>
-            </div>
-            <div class="layui-inline">
-                <label class="layui-form-label" for="requirements">宀椾綅瑕佹眰锛屽垪鍑虹敵璇疯�呴渶瑕佹弧瓒崇殑鏁欒偛鑳屾櫙銆佹妧鑳姐�佺粡楠屽拰璧勬牸銆�</label>
-                <div class="layui-input-inline">
-                    <input type="text" name="requirements"  placeholder="璇疯緭鍏ュ矖浣嶈姹傦紝鍒楀嚭鐢宠鑰呴渶瑕佹弧瓒崇殑鏁欒偛鑳屾櫙銆佹妧鑳姐�佺粡楠屽拰璧勬牸銆�" class="layui-input">
-                </div>
-            </div>
+         
 		    <div class="layui-inline">
-			    <label class="layui-form-label" for="isEN">鏄惁鏈夋晥</label>
+			    <label class="layui-form-label" for="isEN">鏄惁涓婃灦</label>
                 <div class="layui-input-inline">
                     <select name="isEN">
                         <option value="">璇烽�夋嫨</option>
@@ -73,34 +45,7 @@
                     <input type="text" name="createTime" id="searchTime-Job_jobSeting-createTime" placeholder="璇疯緭鍏ュ缓绔嬫椂闂�" class="layui-input">
                 </div>
             </div>
-            <div class="layui-inline">
-                <label class="layui-form-label" for="upDataTime">淇敼鏃堕棿</label>
-                <div class="layui-input-inline" style="width: 260px;">
-                    <input type="text" name="upDataTime" id="searchTime-Job_jobSeting-upDataTime" placeholder="璇疯緭鍏ヤ慨鏀规椂闂�" class="layui-input">
-                </div>
-            </div>
-            <div class="layui-inline">
-                <label class="layui-form-label" for="createBy">鍒涘缓浜�</label>
-                <div class="layui-input-inline">
-                    <input type="text" name="createBy"  placeholder="璇疯緭鍏ュ垱寤轰汉" class="layui-input">
-                </div>
-            </div>
-            <div class="layui-inline">
-                <label class="layui-form-label" for="upDataBy">淇敼浜�</label>
-                <div class="layui-input-inline">
-                    <input type="text" name="upDataBy"  placeholder="璇疯緭鍏ヤ慨鏀逛汉" class="layui-input">
-                </div>
-            </div>
-		    <div class="layui-inline">
-			    <label class="layui-form-label" for="isdelete">鍒犻櫎鏍囧織</label>
-                <div class="layui-input-inline">
-                    <select name="isdelete">
-                        <option value="">璇烽�夋嫨</option>
-                        <option value="True">鏄�</option>
-                        <option value="False">鍚�</option>
-                    </select>
-                </div>
-            </div>
+          
             <div class="layui-inline">
                 <button class="layui-btn layui-btn-sm" lay-submit lay-filter="LAY-app-Job_jobSeting-search"><i class="layui-icon layui-icon-search"></i>绛涢��</button>
             </div>
@@ -181,18 +126,15 @@
                     cols: [
                         [
                             { type: "checkbox", fixed: "left" },
-						    { field: 'id', title: '涓婚敭ID', width: 60, sort: false},
-						    { field: 'position', title: '鑱屼綅鍚嶇О锛岀敤浜庢弿杩板伐浣滃矖浣嶇殑鑱岃矗鍜岃鑹层��', sort: false,width: 105 },
-						    { field: 'quantity', title: '闇�姹備汉鏁帮紝琛ㄧず鍏徃鎷涜仒璇ヨ亴浣嶇殑璁″垝鎷涜仒鏁伴噺銆�', sort: false,width: 105 },
-						    { field: 'location', title: '宸ヤ綔鍦扮偣锛屽寘鎷煄甯傚拰鍙兘鐨勫叿浣撳姙鍏湴鍧�銆�', sort: false,width: 105 },
-						    { field: 'jobDescription', title: '宸ヤ綔鎻忚堪锛屽寘鍚亴浣嶇殑涓昏鑱岃矗銆佷换鍔′互鍙婃湡鏈涚殑宸ヤ綔鎴愭灉銆�', sort: false,width: 105 },
-						    { field: 'requirements', title: '宀椾綅瑕佹眰锛屽垪鍑虹敵璇疯�呴渶瑕佹弧瓒崇殑鏁欒偛鑳屾櫙銆佹妧鑳姐�佺粡楠屽拰璧勬牸銆�', sort: false,width: 105 },
-						    { field: 'isEN', title: '鏄惁鏈夋晥', width: 95, templet: '#switch_isEN', sort: false , unresize: true},
-						    { field: 'createTime', title: '寤虹珛鏃堕棿', width: 130, sort: false},
-						    { field: 'upDataTime', title: '淇敼鏃堕棿', width: 130, sort: false},
-						    { field: 'createBy', title: '鍒涘缓浜�', sort: false,width: 105 },
-						    { field: 'upDataBy', title: '淇敼浜�', sort: false,width: 105 },
-						    { field: 'isdelete', title: '鍒犻櫎鏍囧織', width: 95, templet: '#switch_isdelete', sort: false , unresize: true},
+						    {  type: 'numbers', title: '搴忓彿', width: 60, sort: false},
+						    { field: 'position', title: '鑱屼綅鍚嶇О', sort: false,width: 105 },
+						    { field: 'quantity', title: '闇�姹備汉鏁�', sort: false,width: 105 },
+						    { field: 'location', title: '宸ヤ綔鍦扮偣', sort: false,width: 105 },
+						    { field: 'jobDescription', title: '宸ヤ綔鎻忚堪', sort: false },
+						    { field: 'requirements', title: '宀椾綅瑕佹眰', sort: false },
+						    { field: 'isEN', title: '鏄惁涓婃灦', width: 95, templet: '#switch_isEN', sort: false , unresize: true},
+						    { field: 'createTime', title: '寤虹珛鏃堕棿', width: 130, sort: false},						    
+						 
                             { width: 162, align: 'center', title:'鎿嶄綔', fixed: 'right', toolbar: '#LAY-app-Job_jobSeting-tableBox-bar' }
                         ]
                     ]
@@ -251,7 +193,7 @@
                                     area: ['1200px', '90%'],
                                     id: 'LAY-popup-Job_jobSeting-create',
                                     success: function (layero, index) {
-                                        view(this.id).render('base/Job_jobSeting/create', { data: e.data }).done(function () {
+                                        view(this.id).render('baifenbingfa/Job_jobSeting/create', { data: e.data }).done(function () {
                                             //鐩戝惉鎻愪氦
                                             form.on('submit(LAY-app-Job_jobSeting-createForm-submit)',
                                                 function(data) {
@@ -297,7 +239,7 @@
                                 area: ['1200px', '90%'],
                                 id: 'LAY-popup-Job_jobSeting-edit',
                                 success: function (layero, index) {
-                                    view(this.id).render('base/Job_jobSeting/edit', { data: e.data }).done(function () {
+                                    view(this.id).render('baifenbingfa/Job_jobSeting/edit', { data: e.data }).done(function () {
                                         //鐩戝惉鎻愪氦
                                         form.on('submit(LAY-app-Job_jobSeting-editForm-submit)',
                                             function(data) {
@@ -343,7 +285,7 @@
                                 area: ['1200px', '90%'],
                                 id: 'LAY-popup-Job_jobSeting-details',
                                 success: function (layero, index) {
-                                    view(this.id).render('base/Job_jobSeting/details', { data: e.data }).done(function () {
+                                    view(this.id).render('baifenbingfa/Job_jobSeting/details', { data: e.data }).done(function () {
                                         form.render();
                                     });
                                     // 绂佹寮圭獥鍑虹幇婊氬姩鏉�
diff --git a/CoreCms.Net.Web.WebApi/Controllers/baifenbingfa/JobController.cs b/CoreCms.Net.Web.WebApi/Controllers/baifenbingfa/JobController.cs
new file mode 100644
index 0000000..79b3527
--- /dev/null
+++ b/CoreCms.Net.Web.WebApi/Controllers/baifenbingfa/JobController.cs
@@ -0,0 +1,82 @@
+锘縰sing CoreCms.Net.IRepository;
+using CoreCms.Net.IServices;
+using CoreCms.Net.Model.Entities.baifenbingfa.jon;
+using CoreCms.Net.Model.FromBody;
+using CoreCms.Net.Model.ViewModels.UI;
+using CoreCms.Net.Services;
+using CoreCms.Net.Utility.Helper;
+using Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
+using Swashbuckle.AspNetCore.Annotations;
+using System;
+using System.Threading.Tasks;
+
+namespace CoreCms.Net.Web.WebApi.Controllers.baifenbingfa
+{
+    /// <summary>
+    /// 鎷涜仒鐩稿叧
+    /// </summary>
+    [Route("api/[controller]")]
+    [ApiController]
+    public class JobController : ControllerBase
+    {
+        IJob_jobSetingRepository _job_JobSetingRepository;
+        IJob_jobSetingServices _job_JobSetingServices;
+        IJob_ApplicantProfileServices _job_ApplicantProfileServices;
+         public JobController(IJob_jobSetingRepository job_JobSeting ,IJob_jobSetingServices job_JobSetingServices,IJob_ApplicantProfileServices job_ApplicantProfileServices)
+        {
+            _job_JobSetingRepository=job_JobSeting;
+            _job_JobSetingServices=job_JobSetingServices;
+             _job_ApplicantProfileServices=job_ApplicantProfileServices;
+        }
+   
+        /// <summary>
+        /// 鑾峰彇鎷涜仒淇℃伅
+        /// </summary>
+        /// <returns></returns>
+        [HttpPost("jobSet")]
+        [SwaggerResponse(200, "杩斿洖鏁版嵁", typeof(WebApiCallBack))]
+        [SwaggerResponse(201, "Data绫诲瀷", typeof(Job_jobSeting))]
+        public async Task<WebApiCallBack> GetjobSeting()
+        {
+            var jm = new WebApiCallBack();
+
+            jm.data = await _job_JobSetingRepository.QueryAsyncALL();
+            jm.status = true;
+            return jm;
+
+        }
+        /// <summary>
+        /// 鍒涘缓绠�鍘�
+        /// </summary>
+        /// <param name="Param"></param>
+        /// <returns></returns>
+        [HttpPost("CreatCV")]
+        public async Task<WebApiCallBack> CreatCVFile([FromBody] Job_ApplicantProfile Param)
+        {
+            var jm = new WebApiCallBack();
+            var CreatTime=DateTime.Now;
+            Param.createTime = CreatTime;
+            Param.createBy = "PC";
+            if (Param.employmentRecords!=null)
+                foreach(var record in Param.employmentRecords)
+                {
+                    if(record.StartEndDateTimes==null||record.StartEndDateTimes.Count<2)
+                    {
+                        jm.status = false;
+                        jm.msg = "宸ヤ綔缁忓巻蹇呴』濉捣姝㈡椂闂�";
+                        jm.code = 1;
+                        return jm;
+                    }
+                    record.startDate= record.StartEndDateTimes[0];
+                    record.endDate = record.StartEndDateTimes[1];
+                    
+                }
+            jm.data = await _job_ApplicantProfileServices.InsertAsync(Param);
+            jm.status = true;
+            return jm;
+
+        }
+
+    }
+}
diff --git a/CoreCms.Net.Web.WebApi/CoreCms.Net.Web.WebApi.csproj b/CoreCms.Net.Web.WebApi/CoreCms.Net.Web.WebApi.csproj
index 75255fc..579506e 100644
--- a/CoreCms.Net.Web.WebApi/CoreCms.Net.Web.WebApi.csproj
+++ b/CoreCms.Net.Web.WebApi/CoreCms.Net.Web.WebApi.csproj
@@ -73,6 +73,7 @@
     <PackageReference Include="NLog.Web.AspNetCore" Version="5.3.7" />
     <PackageReference Include="Snowflake.Core" Version="2.0.0" />
     <PackageReference Include="StackExchange.Redis" Version="2.7.10" />
+    <PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="6.6.1" />
     <PackageReference Include="Tencent.QCloud.Cos.Sdk" Version="5.4.35" />
     <PackageReference Include="ToolGood.Words" Version="3.1.0" />
   </ItemGroup>
@@ -108,10 +109,6 @@
     <None Update="Dockerfile">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </None>
-  </ItemGroup>
-
-  <ItemGroup>
-    <Folder Include="Controllers\baifenbingfa\" />
   </ItemGroup>
 
   <ProjectExtensions><VisualStudio><UserProperties appsettings_1json__JsonSchema="" /></VisualStudio></ProjectExtensions>

--
Gitblit v1.9.1