diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/TalentsJoinInfoController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/TalentsJoinInfoController.cs
new file mode 100644
index 000000000..afb6a2bf1
--- /dev/null
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/TalentsJoinInfoController.cs
@@ -0,0 +1,118 @@
+using Learun.Util;
+using System.Data;
+using Learun.Application.TwoDevelopment.EducationalAdministration;
+using System.Web.Mvc;
+using System.Collections.Generic;
+
+namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
+{
+ ///
+ /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
+ /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
+ /// 创 建:超级管理员
+ /// 日 期:2022-09-09 13:23
+ /// 描 述:人才引进
+ ///
+ public class TalentsJoinInfoController : MvcControllerBase
+ {
+ private TalentsJoinInfoIBLL talentsJoinInfoIBLL = new TalentsJoinInfoBLL();
+
+ #region 视图功能
+
+ ///
+ /// 主页面
+ ///
+ ///
+ [HttpGet]
+ public ActionResult Index()
+ {
+ return View();
+ }
+ ///
+ /// 表单页
+ ///
+ ///
+ [HttpGet]
+ public ActionResult Form()
+ {
+ return View();
+ }
+ #endregion
+
+ #region 获取数据
+
+ ///
+ /// 获取页面显示列表数据
+ ///
+ /// 分页参数
+ /// 查询参数
+ ///
+ [HttpGet]
+ [AjaxOnly]
+ public ActionResult GetPageList(string pagination, string queryJson)
+ {
+ Pagination paginationobj = pagination.ToObject();
+ var data = talentsJoinInfoIBLL.GetPageList(paginationobj, queryJson);
+ var jsonData = new
+ {
+ rows = data,
+ total = paginationobj.total,
+ page = paginationobj.page,
+ records = paginationobj.records
+ };
+ return Success(jsonData);
+ }
+ ///
+ /// 获取表单数据
+ ///
+ /// 主键
+ ///
+ [HttpGet]
+ [AjaxOnly]
+ public ActionResult GetFormData(string keyValue)
+ {
+ var TalentsJoinInfoData = talentsJoinInfoIBLL.GetTalentsJoinInfoEntity(keyValue);
+ var jsonData = new
+ {
+ TalentsJoinInfo = TalentsJoinInfoData,
+ };
+ return Success(jsonData);
+ }
+ #endregion
+
+ #region 提交数据
+
+ ///
+ /// 删除实体数据
+ ///
+ /// 主键
+ ///
+ [HttpPost]
+ [AjaxOnly]
+ public ActionResult DeleteForm(string keyValue)
+ {
+ talentsJoinInfoIBLL.DeleteEntity(keyValue);
+ return Success("删除成功!");
+ }
+ ///
+ /// 保存实体数据(新增、修改)
+ ///
+ /// 主键
+ /// 实体
+ ///
+ [HttpPost]
+ [ValidateAntiForgeryToken]
+ [AjaxOnly]
+ public ActionResult SaveForm(string keyValue, string strEntity)
+ {
+ TalentsJoinInfoEntity entity = strEntity.ToObject();
+ talentsJoinInfoIBLL.SaveEntity(keyValue, entity);
+ if (keyValue != null)
+ {
+ }
+ return Success("保存成功!");
+ }
+ #endregion
+
+ }
+}
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TalentsJoinInfo/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TalentsJoinInfo/Form.cshtml
new file mode 100644
index 000000000..72d06af0a
--- /dev/null
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TalentsJoinInfo/Form.cshtml
@@ -0,0 +1,99 @@
+@{
+ ViewBag.Title = "人才引进";
+ Layout = "~/Views/Shared/_Form.cshtml";
+}
+
+@Html.AppendJsFile("/Areas/EducationalAdministration/Views/TalentsJoinInfo/Form.js")
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TalentsJoinInfo/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TalentsJoinInfo/Form.js
new file mode 100644
index 000000000..7dd70ebad
--- /dev/null
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TalentsJoinInfo/Form.js
@@ -0,0 +1,50 @@
+/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
+ * Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
+ * 创建人:超级管理员
+ * 日 期:2022-09-09 13:23
+ * 描 述:人才引进
+ */
+var acceptClick;
+var keyValue = request('keyValue');
+var bootstrap = function ($, learun) {
+ "use strict";
+ var page = {
+ init: function () {
+ $('.lr-form-wrap').lrscroll();
+ page.bind();
+ page.initData();
+ },
+ bind: function () {
+ },
+ initData: function () {
+ if (!!keyValue) {
+ $.lrSetForm(top.$.rootUrl + '/EducationalAdministration/TalentsJoinInfo/GetFormData?keyValue=' + keyValue, function (data) {
+ for (var id in data) {
+ if (!!data[id].length && data[id].length > 0) {
+ $('#' + id ).jfGridSet('refreshdata', data[id]);
+ }
+ else {
+ $('[data-table="' + id + '"]').lrSetFormData(data[id]);
+ }
+ }
+ });
+ }
+ }
+ };
+ // 保存数据
+ acceptClick = function (callBack) {
+ if (!$('body').lrValidform()) {
+ return false;
+ }
+ var postData = {
+ strEntity: JSON.stringify($('body').lrGetFormData())
+ };
+ $.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/TalentsJoinInfo/SaveForm?keyValue=' + keyValue, postData, function (res) {
+ // 保存成功后才回调
+ if (!!callBack) {
+ callBack();
+ }
+ });
+ };
+ page.init();
+}
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TalentsJoinInfo/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TalentsJoinInfo/Index.cshtml
new file mode 100644
index 000000000..d373776ca
--- /dev/null
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TalentsJoinInfo/Index.cshtml
@@ -0,0 +1,61 @@
+@{
+ ViewBag.Title = "人才引进";
+ Layout = "~/Views/Shared/_Index.cshtml";
+}
+
+@Html.AppendJsFile("/Areas/EducationalAdministration/Views/TalentsJoinInfo/Index.js")
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TalentsJoinInfo/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TalentsJoinInfo/Index.js
new file mode 100644
index 000000000..a345b289b
--- /dev/null
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TalentsJoinInfo/Index.js
@@ -0,0 +1,113 @@
+/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
+ * Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
+ * 创建人:超级管理员
+ * 日 期:2022-09-09 13:23
+ * 描 述:人才引进
+ */
+var refreshGirdData;
+var bootstrap = function ($, learun) {
+ "use strict";
+ var page = {
+ init: function () {
+ page.initGird();
+ page.bind();
+ },
+ bind: function () {
+ $('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
+ page.search(queryJson);
+ }, 220, 400);
+ // 刷新
+ $('#lr_refresh').on('click', function () {
+ location.reload();
+ });
+ // 新增
+ $('#lr_add').on('click', function () {
+ learun.layerForm({
+ id: 'form',
+ title: '新增',
+ url: top.$.rootUrl + '/EducationalAdministration/TalentsJoinInfo/Form',
+ width: 600,
+ height: 400,
+ callBack: function (id) {
+ return top[id].acceptClick(refreshGirdData);
+ }
+ });
+ });
+ // 编辑
+ $('#lr_edit').on('click', function () {
+ var keyValue = $('#gridtable').jfGridValue('diagram_id');
+ if (learun.checkrow(keyValue)) {
+ learun.layerForm({
+ id: 'form',
+ title: '编辑',
+ url: top.$.rootUrl + '/EducationalAdministration/TalentsJoinInfo/Form?keyValue=' + keyValue,
+ width: 600,
+ height: 400,
+ callBack: function (id) {
+ return top[id].acceptClick(refreshGirdData);
+ }
+ });
+ }
+ });
+ // 删除
+ $('#lr_delete').on('click', function () {
+ var keyValue = $('#gridtable').jfGridValue('diagram_id');
+ if (learun.checkrow(keyValue)) {
+ learun.layerConfirm('是否确认删除该项!', function (res) {
+ if (res) {
+ learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/TalentsJoinInfo/DeleteForm', { keyValue: keyValue}, function () {
+ refreshGirdData();
+ });
+ }
+ });
+ }
+ });
+ // 打印
+ $('#lr_print').on('click', function () {
+ $('#gridtable').jqprintTable();
+ });
+ },
+ // 初始化列表
+ initGird: function () {
+ $('#gridtable').lrAuthorizeJfGrid({
+ url: top.$.rootUrl + '/EducationalAdministration/TalentsJoinInfo/GetPageList',
+ headData: [
+ { label: "姓名", name: "Name", width: 100, align: "left"},
+ { label: "性别", name: "Gender", width: 100, align: "left"},
+ { label: "政治面貌", name: "Political", width: 100, align: "left"},
+ { label: "籍贯", name: "Origin", width: 100, align: "left"},
+ { label: "出身年月", name: "Birthday", width: 100, align: "left"},
+ { label: "民族", name: "Nationality", width: 100, align: "left"},
+ { label: "文化程度", name: "CultureDegree", width: 100, align: "left"},
+ { label: "婚姻状况", name: "Marriage", width: 100, align: "left"},
+ { label: "毕业院校", name: "WilliamsSchool", width: 100, align: "left"},
+ { label: "所学专业", name: "Major", width: 100, align: "left"},
+ { label: "毕业学校", name: "GraduateTime", width: 100, align: "left"},
+ { label: "参加工作时间", name: "JobTime", width: 100, align: "left"},
+ { label: "专业技术职称", name: "Professiona", width: 100, align: "left"},
+ { label: "学位", name: "Degree", width: 100, align: "left"},
+ { label: "职业资格证", name: "NVQ", width: 100, align: "left"},
+ { label: "现工作单位", name: "NowCompany", width: 100, align: "left"},
+ { label: "职务", name: "Position", width: 100, align: "left"},
+ { label: "所报岗位", name: "Post", width: 100, align: "left"},
+ { label: "通讯地址", name: "Address", width: 100, align: "left"},
+ { label: "身份证号", name: "IdentityCardNo", width: 100, align: "left"},
+ { label: "联系电话", name: "Phone", width: 100, align: "left"},
+ { label: "手机", name: "Mobile", width: 100, align: "left"},
+ { label: "简历", name: "Resume", width: 100, align: "left"},
+ ],
+ mainId:'diagram_id',
+ isPage: true
+ });
+ page.search();
+ },
+ search: function (param) {
+ param = param || {};
+ $('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) });
+ }
+ };
+ refreshGirdData = function () {
+ $('#gridtable').jfGridSet('reload');
+ };
+ page.init();
+}
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj b/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
index 4fc98a822..28093f182 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
@@ -828,6 +828,7 @@
+
@@ -6312,6 +6313,10 @@
+
+
+
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/RecruiterPeopleApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/RecruiterPeopleApi.cs
index 69dfe410d..a8980f5fc 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/RecruiterPeopleApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/RecruiterPeopleApi.cs
@@ -21,6 +21,8 @@ namespace Learun.Application.WebApi
{
private HiringRegistrationIBLL hiringRegistrationIBLL = new HiringRegistrationBLL();
private WorkStaffIBLL workStaffIBLL = new WorkStaffBLL();
+ private TalentsJoinInfoIBLL talentsJoinInfoIBLL = new TalentsJoinInfoBLL();
+
private AnnexesFileIBLL annexesFileIBLL = new AnnexesFileBLL();
///
@@ -36,6 +38,7 @@ namespace Learun.Application.WebApi
Get["/down"] = DownAnnexesFile;
Post["/upload"] = Upload;
Post["/save"] = SaveForm;
+ Post["/saveTalents"] = SaveTalentsForm;
Post["/saveStaff"] = SaveStaffForm;
}
#region 获取数据
@@ -112,6 +115,18 @@ namespace Learun.Application.WebApi
return Success("保存成功!");
}
+ ///
+ /// 保存实体数据(新增、修改)
+ ///
+ ///
+ ///
+ public Response SaveTalentsForm(dynamic _)
+ {
+ ReqFormEntity parameter = this.GetReqData();
+ TalentsJoinInfoEntity entity = parameter.strEntity.ToObject();
+ talentsJoinInfoIBLL.SaveEntity(parameter.keyValue, entity);
+ return Success("保存成功!");
+ }
///
/// 公开选调工作人员报名表
///
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/EducationalAdministration/TalentsJoinInfoMap.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/EducationalAdministration/TalentsJoinInfoMap.cs
new file mode 100644
index 000000000..f579dce99
--- /dev/null
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/EducationalAdministration/TalentsJoinInfoMap.cs
@@ -0,0 +1,29 @@
+using Learun.Application.TwoDevelopment.EducationalAdministration;
+using System.Data.Entity.ModelConfiguration;
+
+namespace Learun.Application.Mapping
+{
+ ///
+ /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
+ /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
+ /// 创 建:超级管理员
+ /// 日 期:2022-09-09 13:23
+ /// 描 述:人才引进
+ ///
+ public class TalentsJoinInfoMap : EntityTypeConfiguration
+ {
+ public TalentsJoinInfoMap()
+ {
+ #region 表、主键
+ //表
+ this.ToTable("TALENTSJOININFO");
+ //主键
+ this.HasKey(t => t.ID);
+ #endregion
+
+ #region 配置关系
+ #endregion
+ }
+ }
+}
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Learun.Application.Mapping.csproj b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Learun.Application.Mapping.csproj
index 8424c3f8c..4815dd8a0 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Learun.Application.Mapping.csproj
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Learun.Application.Mapping.csproj
@@ -601,6 +601,7 @@
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TalentsJoinInfo/TalentsJoinInfoBLL.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TalentsJoinInfo/TalentsJoinInfoBLL.cs
new file mode 100644
index 000000000..a2375ce04
--- /dev/null
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TalentsJoinInfo/TalentsJoinInfoBLL.cs
@@ -0,0 +1,125 @@
+using Learun.Util;
+using System;
+using System.Data;
+using System.Collections.Generic;
+
+namespace Learun.Application.TwoDevelopment.EducationalAdministration
+{
+ ///
+ /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
+ /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
+ /// 创 建:超级管理员
+ /// 日 期:2022-09-09 13:23
+ /// 描 述:人才引进
+ ///
+ public class TalentsJoinInfoBLL : TalentsJoinInfoIBLL
+ {
+ private TalentsJoinInfoService talentsJoinInfoService = new TalentsJoinInfoService();
+
+ #region 获取数据
+
+ ///
+ /// 获取页面显示列表数据
+ ///
+ /// 分页参数
+ /// 查询参数
+ ///
+ public IEnumerable GetPageList(Pagination pagination, string queryJson)
+ {
+ try
+ {
+ return talentsJoinInfoService.GetPageList(pagination, queryJson);
+ }
+ catch (Exception ex)
+ {
+ if (ex is ExceptionEx)
+ {
+ throw;
+ }
+ else
+ {
+ throw ExceptionEx.ThrowBusinessException(ex);
+ }
+ }
+ }
+
+ ///
+ /// 获取TalentsJoinInfo表实体数据
+ ///
+ /// 主键
+ ///
+ public TalentsJoinInfoEntity GetTalentsJoinInfoEntity(string keyValue)
+ {
+ try
+ {
+ return talentsJoinInfoService.GetTalentsJoinInfoEntity(keyValue);
+ }
+ catch (Exception ex)
+ {
+ if (ex is ExceptionEx)
+ {
+ throw;
+ }
+ else
+ {
+ throw ExceptionEx.ThrowBusinessException(ex);
+ }
+ }
+ }
+
+ #endregion
+
+ #region 提交数据
+
+ ///
+ /// 删除实体数据
+ ///
+ /// 主键
+ public void DeleteEntity( string keyValue)
+ {
+ try
+ {
+ talentsJoinInfoService.DeleteEntity(keyValue);
+ }
+ catch (Exception ex)
+ {
+ if (ex is ExceptionEx)
+ {
+ throw;
+ }
+ else
+ {
+ throw ExceptionEx.ThrowBusinessException(ex);
+ }
+ }
+ }
+
+ ///
+ /// 保存实体数据(新增、修改)
+ ///
+ /// 主键
+ /// 实体
+ ///
+ public void SaveEntity(string keyValue, TalentsJoinInfoEntity entity)
+ {
+ try
+ {
+ talentsJoinInfoService.SaveEntity(keyValue, entity);
+ }
+ catch (Exception ex)
+ {
+ if (ex is ExceptionEx)
+ {
+ throw;
+ }
+ else
+ {
+ throw ExceptionEx.ThrowBusinessException(ex);
+ }
+ }
+ }
+
+ #endregion
+
+ }
+}
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TalentsJoinInfo/TalentsJoinInfoEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TalentsJoinInfo/TalentsJoinInfoEntity.cs
new file mode 100644
index 000000000..b4138c5d4
--- /dev/null
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TalentsJoinInfo/TalentsJoinInfoEntity.cs
@@ -0,0 +1,175 @@
+using Learun.Util;
+using System;
+using System.ComponentModel.DataAnnotations.Schema;
+
+namespace Learun.Application.TwoDevelopment.EducationalAdministration
+{
+ ///
+ /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
+ /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
+ /// 创 建:超级管理员
+ /// 日 期:2022-09-09 13:23
+ /// 描 述:人才引进
+ ///
+ public class TalentsJoinInfoEntity
+ {
+ #region 实体成员
+ ///
+ /// ID
+ ///
+ [Column("ID")]
+ public string ID { get; set; }
+ ///
+ /// 序号
+ ///
+ [Column("BMNUM")]
+ public string BmNum { get; set; }
+ ///
+ /// Head
+ ///
+ [Column("HEAD")]
+ public string Head { get; set; }
+ ///
+ /// Name
+ ///
+ [Column("NAME")]
+ public string Name { get; set; }
+ ///
+ /// Gender
+ ///
+ [Column("GENDER")]
+ public string Gender { get; set; }
+ ///
+ /// 政治面貌
+ ///
+ [Column("POLITICAL")]
+ public string Political { get; set; }
+ ///
+ /// 籍贯
+ ///
+ [Column("ORIGIN")]
+ public string Origin { get; set; }
+ ///
+ /// 民族
+ ///
+ [Column("NATIONALITY")]
+ public string Nationality { get; set; }
+ ///
+ /// Birthday
+ ///
+ [Column("BIRTHDAY")]
+ public DateTime? Birthday { get; set; }
+ ///
+ /// 文化程度
+ ///
+ [Column("CULTUREDEGREE")]
+ public string CultureDegree { get; set; }
+ ///
+ /// 婚姻状况
+ ///
+ [Column("MARRIAGE")]
+ public string Marriage { get; set; }
+ ///
+ /// 毕业学校
+ ///
+ [Column("WILLIAMSSCHOOL")]
+ public string WilliamsSchool { get; set; }
+ ///
+ /// 所学专业
+ ///
+ [Column("MAJOR")]
+ public string Major { get; set; }
+ ///
+ /// 毕业学校
+ ///
+ [Column("GRADUATETIME")]
+ public DateTime? GraduateTime { get; set; }
+ ///
+ /// 参加工作时间
+ ///
+ [Column("JOBTIME")]
+ public DateTime? JobTime { get; set; }
+ ///
+ /// 专业技术职称
+ ///
+ [Column("PROFESSIONA")]
+ public string Professiona { get; set; }
+ ///
+ /// 学位
+ ///
+ [Column("DEGREE")]
+ public string Degree { get; set; }
+ ///
+ /// 职业资格证
+ ///
+ [Column("NVQ")]
+ public string NVQ { get; set; }
+ ///
+ /// 现工作单位
+ ///
+ [Column("NOWCOMPANY")]
+ public string NowCompany { get; set; }
+ ///
+ /// 职务
+ ///
+ [Column("POSITION")]
+ public string Position { get; set; }
+ ///
+ /// Post
+ ///
+ [Column("POST")]
+ public string Post { get; set; }
+ ///
+ /// 通讯地址
+ ///
+ [Column("ADDRESS")]
+ public string Address { get; set; }
+ ///
+ /// 身份证号
+ ///
+ [Column("IDENTITYCARDNO")]
+ public string IdentityCardNo { get; set; }
+ ///
+ /// 联系电话
+ ///
+ [Column("PHONE")]
+ public string Phone { get; set; }
+ ///
+ /// 手机
+ ///
+ [Column("MOBILE")]
+ public string Mobile { get; set; }
+ ///
+ /// Resume
+ ///
+ [Column("RESUME")]
+ public string Resume { get; set; }
+ ///
+ /// Remark
+ ///
+ [Column("REMARK")]
+ public string Remark { get; set; }
+ #endregion
+
+ #region 扩展操作
+ ///
+ /// 新增调用
+ ///
+ public void Create()
+ {
+ this.ID = Guid.NewGuid().ToString();
+ }
+ ///
+ /// 编辑调用
+ ///
+ ///
+ public void Modify(string keyValue)
+ {
+ this.ID = keyValue;
+ }
+ #endregion
+ #region 扩展字段
+ #endregion
+ }
+}
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TalentsJoinInfo/TalentsJoinInfoIBLL.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TalentsJoinInfo/TalentsJoinInfoIBLL.cs
new file mode 100644
index 000000000..33be3b47e
--- /dev/null
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TalentsJoinInfo/TalentsJoinInfoIBLL.cs
@@ -0,0 +1,48 @@
+using Learun.Util;
+using System.Data;
+using System.Collections.Generic;
+
+namespace Learun.Application.TwoDevelopment.EducationalAdministration
+{
+ ///
+ /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
+ /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
+ /// 创 建:超级管理员
+ /// 日 期:2022-09-09 13:23
+ /// 描 述:人才引进
+ ///
+ public interface TalentsJoinInfoIBLL
+ {
+ #region 获取数据
+
+ ///
+ /// 获取页面显示列表数据
+ ///
+ /// 查询参数
+ ///
+ IEnumerable GetPageList(Pagination pagination, string queryJson);
+ ///
+ /// 获取TalentsJoinInfo表实体数据
+ ///
+ /// 主键
+ ///
+ TalentsJoinInfoEntity GetTalentsJoinInfoEntity(string keyValue);
+ #endregion
+
+ #region 提交数据
+
+ ///
+ /// 删除实体数据
+ ///
+ /// 主键
+ void DeleteEntity(string keyValue);
+ ///
+ /// 保存实体数据(新增、修改)
+ ///
+ /// 主键
+ /// 实体
+ void SaveEntity(string keyValue, TalentsJoinInfoEntity entity);
+ #endregion
+
+ }
+}
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TalentsJoinInfo/TalentsJoinInfoService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TalentsJoinInfo/TalentsJoinInfoService.cs
new file mode 100644
index 000000000..b45fda1bb
--- /dev/null
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TalentsJoinInfo/TalentsJoinInfoService.cs
@@ -0,0 +1,202 @@
+using Dapper;
+using Learun.DataBase.Repository;
+using Learun.Util;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Text;
+
+namespace Learun.Application.TwoDevelopment.EducationalAdministration
+{
+ ///
+ /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
+ /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
+ /// 创 建:超级管理员
+ /// 日 期:2022-09-09 13:23
+ /// 描 述:人才引进
+ ///
+ public class TalentsJoinInfoService : RepositoryFactory
+ {
+ #region 获取数据
+
+ ///
+ /// 获取页面显示列表数据
+ ///
+ /// 查询参数
+ /// 查询参数
+ ///
+ public IEnumerable GetPageList(Pagination pagination, string queryJson)
+ {
+ try
+ {
+ var strSql = new StringBuilder();
+ strSql.Append("SELECT ");
+ strSql.Append(@"
+ t.diagram_id,
+ t.Name,
+ t.Gender,
+ t.Political,
+ t.Origin,
+ t.Birthday,
+ t.Nationality,
+ t.CultureDegree,
+ t.Marriage,
+ t.WilliamsSchool,
+ t.Major,
+ t.GraduateTime,
+ t.JobTime,
+ t.Professiona,
+ t.Degree,
+ t.NVQ,
+ t.NowCompany,
+ t.Position,
+ t.Post,
+ t.Address,
+ t.IdentityCardNo,
+ t.Phone,
+ t.Mobile,
+ t.Resume
+ ");
+ strSql.Append(" FROM TalentsJoinInfo t ");
+ strSql.Append(" WHERE 1=1 ");
+ var queryParam = queryJson.ToJObject();
+ // 虚拟参数
+ var dp = new DynamicParameters(new { });
+ if (!queryParam["Name"].IsEmpty())
+ {
+ dp.Add("Name", "%" + queryParam["Name"].ToString() + "%", DbType.String);
+ strSql.Append(" AND t.Name Like @Name ");
+ }
+ if (!queryParam["Gender"].IsEmpty())
+ {
+ dp.Add("Gender", "%" + queryParam["Gender"].ToString() + "%", DbType.String);
+ strSql.Append(" AND t.Gender Like @Gender ");
+ }
+ if (!queryParam["Political"].IsEmpty())
+ {
+ dp.Add("Political", "%" + queryParam["Political"].ToString() + "%", DbType.String);
+ strSql.Append(" AND t.Political Like @Political ");
+ }
+ if (!queryParam["Nationality"].IsEmpty())
+ {
+ dp.Add("Nationality", "%" + queryParam["Nationality"].ToString() + "%", DbType.String);
+ strSql.Append(" AND t.Nationality Like @Nationality ");
+ }
+ if (!queryParam["CultureDegree"].IsEmpty())
+ {
+ dp.Add("CultureDegree", "%" + queryParam["CultureDegree"].ToString() + "%", DbType.String);
+ strSql.Append(" AND t.CultureDegree Like @CultureDegree ");
+ }
+ if (!queryParam["Marriage"].IsEmpty())
+ {
+ dp.Add("Marriage", "%" + queryParam["Marriage"].ToString() + "%", DbType.String);
+ strSql.Append(" AND t.Marriage Like @Marriage ");
+ }
+ if (!queryParam["Major"].IsEmpty())
+ {
+ dp.Add("Major", "%" + queryParam["Major"].ToString() + "%", DbType.String);
+ strSql.Append(" AND t.Major Like @Major ");
+ }
+ return this.BaseRepository("CollegeMIS").FindList(strSql.ToString(),dp, pagination);
+ }
+ catch (Exception ex)
+ {
+ if (ex is ExceptionEx)
+ {
+ throw;
+ }
+ else
+ {
+ throw ExceptionEx.ThrowServiceException(ex);
+ }
+ }
+ }
+
+ ///
+ /// 获取TalentsJoinInfo表实体数据
+ ///
+ /// 主键
+ ///
+ public TalentsJoinInfoEntity GetTalentsJoinInfoEntity(string keyValue)
+ {
+ try
+ {
+ return this.BaseRepository("CollegeMIS").FindEntity(keyValue.ToInt());
+ }
+ catch (Exception ex)
+ {
+ if (ex is ExceptionEx)
+ {
+ throw;
+ }
+ else
+ {
+ throw ExceptionEx.ThrowServiceException(ex);
+ }
+ }
+ }
+
+ #endregion
+
+ #region 提交数据
+
+ ///
+ /// 删除实体数据
+ ///
+ /// 主键
+ public void DeleteEntity(string keyValue)
+ {
+ try
+ {
+ this.BaseRepository("CollegeMIS").Delete(t=>t.ID == keyValue);
+ }
+ catch (Exception ex)
+ {
+ if (ex is ExceptionEx)
+ {
+ throw;
+ }
+ else
+ {
+ throw ExceptionEx.ThrowServiceException(ex);
+ }
+ }
+ }
+
+ ///
+ /// 保存实体数据(新增、修改)
+ ///
+ /// 主键
+ /// 实体
+ public void SaveEntity(string keyValue, TalentsJoinInfoEntity entity)
+ {
+ try
+ {
+ if (keyValue != null)
+ {
+ entity.Modify(keyValue);
+ this.BaseRepository("CollegeMIS").Update(entity);
+ }
+ else
+ {
+ entity.Create();
+ this.BaseRepository("CollegeMIS").Insert(entity);
+ }
+ }
+ catch (Exception ex)
+ {
+ if (ex is ExceptionEx)
+ {
+ throw;
+ }
+ else
+ {
+ throw ExceptionEx.ThrowServiceException(ex);
+ }
+ }
+ }
+
+ #endregion
+
+ }
+}
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/WorkStaff/WorkStaffService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/WorkStaff/WorkStaffService.cs
index dcecb17ab..5113bc283 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/WorkStaff/WorkStaffService.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/WorkStaff/WorkStaffService.cs
@@ -31,28 +31,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
{
var strSql = new StringBuilder();
strSql.Append("SELECT ");
- strSql.Append(@"
- t.ID,
- t.Name,
- t.Gender,
- t.Nationality,
- t.Birthday,
- t.jobTime,
- t.PartyTime,
- t.Origin,
- t.HealthStatus,
- t.Speciality,
- t.NowComPany,
- t.ApplyPost,
- t.TimeEducation,
- t.T_SchoolMajor,
- t.ServiceEducation,
- t.Address,
- t.Mobile,
- t.Resume,
- t.RandP,
- t.Triennium
- ");
+ strSql.Append(@" * ");
strSql.Append(" FROM WorkStaff t ");
strSql.Append(" WHERE 1=1 ");
var queryParam = queryJson.ToJObject();
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Learun.Application.TwoDevelopment.csproj b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Learun.Application.TwoDevelopment.csproj
index bdf780533..e731a06f4 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Learun.Application.TwoDevelopment.csproj
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Learun.Application.TwoDevelopment.csproj
@@ -1828,6 +1828,10 @@
+
+
+
+