diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoBasicTranController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoBasicTranController.cs new file mode 100644 index 000000000..f1b5e4cfe --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoBasicTranController.cs @@ -0,0 +1,121 @@ +using Learun.Application.TwoDevelopment.EducationalAdministration; +using Learun.Util; +using System.Data; +using System.Web.Mvc; + +namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers +{ + /// + /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 + /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 + /// 创 建:超级管理员 + /// 日 期:2023-01-06 11:59 + /// 描 述:学生学籍异动记录表 + /// + public class StuInfoBasicTranController : MvcControllerBase + { + private StuInfoBasicTranIBLL stuInfoBasicTranIBLL = new StuInfoBasicTranBLL(); + + #region 视图功能 + + /// + /// 主页面 + /// + /// + [HttpGet] + public ActionResult Index() + { + return View(); + } + /// + /// 表单页 + /// + /// + [HttpGet] + public ActionResult Form() + { + return View(); + } + #endregion + + #region 获取数据 + + /// + /// 获取列表数据 + /// + /// 查询参数 + /// + [HttpGet] + [AjaxOnly] + public ActionResult GetList( string queryJson ) + { + var data = stuInfoBasicTranIBLL.GetList(queryJson); + return Success(data); + } + /// + /// 获取列表分页数据 + /// + /// 分页参数 + /// 查询参数 + /// + [HttpGet] + [AjaxOnly] + public ActionResult GetPageList(string pagination, string queryJson) + { + Pagination paginationobj = pagination.ToObject(); + var data = stuInfoBasicTranIBLL.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 data = stuInfoBasicTranIBLL.GetEntity(keyValue); + return Success(data); + } + #endregion + + #region 提交数据 + + /// + /// 删除实体数据 + /// + /// 主键 + /// + [HttpPost] + [AjaxOnly] + public ActionResult DeleteForm(string keyValue) + { + stuInfoBasicTranIBLL.DeleteEntity(keyValue); + return Success("删除成功!"); + } + /// + /// 保存实体数据(新增、修改) + /// + /// 主键 + /// 实体 + /// + [HttpPost] + [ValidateAntiForgeryToken] + [AjaxOnly] + public ActionResult SaveForm(string keyValue,StuInfoBasicTranEntity entity) + { + stuInfoBasicTranIBLL.SaveEntity(keyValue, entity); + return Success("保存成功!"); + } + #endregion + + } +} diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTran/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTran/Form.cshtml new file mode 100644 index 000000000..0931ec31f --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTran/Form.cshtml @@ -0,0 +1,699 @@ +@{ + ViewBag.Title = "学生学籍异动记录表"; + Layout = "~/Views/Shared/_Form.cshtml"; +} + + + StuId* + + + + 学号* + + + + 学籍号* + + + + 通知书号* + + + + 毕业日期* + + + + 考生号* + + + + 系所* + + + + 专业* + + + + 专业方向号(如0,1,2,3,4,5) 0代表无专业方向细分* + + + + 专业方向名* + + + + 年级* + + + + 班级* + + + + 姓名* + + + + 拼音全称* + + + + 拼音简称* + + + + 性别* + + + + 出生日期* + + + + 政治面貌* + + + + 家庭出身份* + + + + 民族* + + + + 省* + + + + 籍贯* + + + + 农业户口(是否农户)* + + + + 考生类别* + + + + 健康状况* + + + + 第几志愿* + + + + TestStuSubjectNo* + + + + 本专科* + + + + 计划形式* + + + + 三好* + + + + 优干* + + + + 一般学生干部* + + + + 省市前三* + + + + 港澳台侨* + + + + 录取类别* + + + + 来源地区码* + + + + 原单位码* + + + + 原单位* + + + + 入学年月* + + + + 宗教* + + + + 特长* + + + + 身份证号* + + + + 入党时间* + + + + 入团时间 * + + + + 校内地址* + + + + 校内电话* + + + + 异动标志* + + + + 奖励标志* + + + + 处分标志* + + + + 联系人标志* + + + + 学号异动标志* + + + + 毕业标志* + + + + 当前注册标志* + + + + 毕业年月* + + + + 毕业证书号* + + + + 毕业证书备注* + + + + 备注* + + + + 报到日期* + + + + Photo* + + + + TeachPlanNo* + + + + 审核标志* + + + + 联系电话* + + + + 电子邮件* + + + + QQ* + + + + 户口所在地* + + + + 父亲姓名* + + + + 父亲电话* + + + + 母亲姓名* + + + + 档案所在地* + + + + 母亲电话* + + + + 用户名* + + + + 密码* + + + + 通信地址* + + + + 邮政编码* + + + + InSchoolStatus* + + + + TransMark* + + + + ClassTutorNo* + + + + 学籍卡审核* + + + + PracStatus* + + + + RegisterStatus* + + + + PunishmentDate* + + + + 市* + + + + 县区* + + + + 省* + + + + 学校* + + + + 学制* + + + + 学习形式* + + + + SyncFlag* + + + + 学籍异动状态* + + + + Balance* + + + + HealthStatus* + + + + 身份证件类型* + + + + 入学方式* + + + + 就读方式* + + + + 国籍/地区* + + + + 婚姻状况* + + + + 乘火车区间* + + + + 是否随迁子女* + + + + 生源地行政区划码* + + + + 出生地行政区划码* + + + + 籍贯地行政区划码* + + + + 户口所在地行政区划码* + + + + 所属派出所* + + + + 学生居住地类型* + + + + 学生来源* + + + + 招生对象* + + + + 贫困户否建档立卡贫困户* + + + + 招生方式* + + + + 联招合作类型* + + + + 准考证号* + + + + 考试总分* + + + + 联招合作办学形式* + + + + 联招合作学校代码* + + + + 校外教学点* + + + + 分段培养方式* + + + + 英文姓名* + + + + 成员1关系* + + + + 成员1是否监护人* + + + + 成员1出生年月* + + + + 成员1身份证件类型* + + + + 成员1身份证件号* + + + + 成员1民族* + + + + 成员1政治面貌* + + + + 成员1健康状况* + + + + 成员1工作或学习单位* + + + + 成员1职务* + + + + 成员2关系* + + + + 成员2是否监护人* + + + + 成员2出生年月* + + + + 成员2身份证件类型* + + + + 成员2身份证件号* + + + + 成员2民族* + + + + 成员2政治面貌* + + + + 成员2健康状况* + + + + 成员2工作或学习单位* + + + + 成员2职务* + + + + 省编学号* + + + + 监护人* + + + + 监护人联系方式* + + + + 监护人类型* + + + + 是否单亲* + + + + 留守* + + + + 残疾* + + + + 走读* + + + + 困难* + + + + 五年一贯制* + + + + 实习状态* + + + + 是否复读* + + + + 专业方向拼音全称* + + + + 成员1名字* + + + + 成员2名称* + + + + 其他联系方式* + + + + 成员1联系电话* + + + + 成员二联系电话* + + + + ReturnBooksStatus* + + + + ReturnBooksDate* + + + + EmployAgreeStatus* + + + + EmployAgreeDate* + + + + FeeSettleStatus* + + + + FeeSettleDate* + + + + CheckOutStatus* + + + + CheckOutDate* + + + + CardDeregistrateStatus* + + + + CardDeregistrateDate* + + + + DiplomaReceiveStatus* + + + + DiplomaReceiveDate* + + + + FileTransferStatus* + + + + FileTransferDate* + + + + 组织转出状态* + + + + 组织转出时间* + + + + DiplomaReceiveSign* + + + + DiplomaReceiveIdcard* + + + + DiplomaReceiveRemark* + + + +@Html.AppendJsFile("/Areas/EducationalAdministration/Views/StuInfoBasicTran/Form.js") diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTran/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTran/Form.js new file mode 100644 index 000000000..2919a92d0 --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTran/Form.js @@ -0,0 +1,38 @@ +/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) + * Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 + * 创建人:超级管理员 + * 日 期:2023-01-06 11:59 + * 描 述:学生学籍异动记录表 + */ +var acceptClick; +var keyValue = request('keyValue'); +var bootstrap = function ($, learun) { + "use strict"; + var selectedRow = learun.frameTab.currentIframe().selectedRow; + var page = { + init: function () { + page.initData(); + }, + bind: function () { + }, + initData: function () { + if (!!selectedRow) { + $('#form').lrSetFormData(selectedRow); + } + } + }; + // 保存数据 + acceptClick = function (callBack) { + if (!$('#form').lrValidform()) { + return false; + } + var postData = $('#form').lrGetFormData(); + $.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasicTran/SaveForm?keyValue=' + keyValue, postData, function (res) { + // 保存成功后才回调 + if (!!callBack) { + callBack(); + } + }); + }; + page.init(); +} diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTran/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTran/Index.cshtml new file mode 100644 index 000000000..ff2e29b72 --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTran/Index.cshtml @@ -0,0 +1,39 @@ +@{ + ViewBag.Title = "学生学籍异动记录表"; + Layout = "~/Views/Shared/_Index.cshtml"; +} + + + + 树形目录 + + + + + + 标题 + + + + + + + 查询 + + + + + + + + 新增 + 编辑 + 删除 + + + + + + + +@Html.AppendJsFile("/Areas/EducationalAdministration/Views/StuInfoBasicTran/Index.js") diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTran/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTran/Index.js new file mode 100644 index 000000000..7a3a95f6b --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTran/Index.js @@ -0,0 +1,262 @@ +/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) + * Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 + * 创建人:超级管理员 + * 日 期:2023-01-06 11:59 + * 描 述:学生学籍异动记录表 + */ +var selectedRow; +var refreshGirdData; +var bootstrap = function ($, learun) { + "use strict"; + var page = { + init: function () { + page.initGird(); + page.bind(); + }, + bind: function () { + // 查询 + $('#btn_Search').on('click', function () { + var keyword = $('#txt_Keyword').val(); + page.search({ keyword: keyword }); + }); + // 刷新 + $('#lr_refresh').on('click', function () { + location.reload(); + }); + // 新增 + $('#lr_add').on('click', function () { + selectedRow = null; + learun.layerForm({ + id: 'form', + title: '新增', + url: top.$.rootUrl + '/EducationalAdministration/StuInfoBasicTran/Form', + width: 700, + height: 400, + callBack: function (id) { + return top[id].acceptClick(refreshGirdData); + } + }); + }); + // 编辑 + $('#lr_edit').on('click', function () { + var keyValue = $('#gridtable').jfGridValue('StuId'); + selectedRow = $('#gridtable').jfGridGet('rowdata'); + if (learun.checkrow(keyValue)) { + learun.layerForm({ + id: 'form', + title: '编辑', + url: top.$.rootUrl + '/EducationalAdministration/StuInfoBasicTran/Form?keyValue=' + keyValue, + width: 700, + height: 400, + callBack: function (id) { + return top[id].acceptClick(refreshGirdData); + } + }); + } + }); + // 删除 + $('#lr_delete').on('click', function () { + var keyValue = $('#gridtable').jfGridValue('StuId'); + if (learun.checkrow(keyValue)) { + learun.layerConfirm('是否确认删除该项!', function (res) { + if (res) { + learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasicTran/DeleteForm', { keyValue: keyValue}, function () { + }); + } + }); + } + }); + }, + initGird: function () { + $('#gridtable').lrAuthorizeJfGrid({ + url: top.$.rootUrl + '/EducationalAdministration/StuInfoBasicTran/GetPageList', + headData: [ + { label: 'StuId', name: 'StuId', width: 200, align: "left" }, + { label: '学号', name: 'StuNo', width: 200, align: "left" }, + { label: '学籍号', name: 'StuCode', width: 200, align: "left" }, + { label: '通知书号', name: 'NoticeNo', width: 200, align: "left" }, + { label: '毕业日期', name: 'GraduateYear', width: 200, align: "left" }, + { label: '考生号', name: 'ksh', width: 200, align: "left" }, + { label: '系所', name: 'DeptNo', width: 200, align: "left" }, + { label: '专业', name: 'MajorNo', width: 200, align: "left" }, + { label: '专业方向号(如0,1,2,3,4,5) 0代表无专业方向细分', name: 'MajorDetailNo', width: 200, align: "left" }, + { label: '专业方向名', name: 'MajorDetailName', width: 200, align: "left" }, + { label: '年级', name: 'Grade', width: 200, align: "left" }, + { label: '班级', name: 'ClassNo', width: 200, align: "left" }, + { label: '姓名', name: 'StuName', width: 200, align: "left" }, + { label: '拼音全称', name: 'SpellFull', width: 200, align: "left" }, + { label: '拼音简称', name: 'SpellBrief', width: 200, align: "left" }, + { label: '性别', name: 'GenderNo', width: 200, align: "left" }, + { label: '出生日期', name: 'Birthday', width: 200, align: "left" }, + { label: '政治面貌', name: 'PartyFaceNo', width: 200, align: "left" }, + { label: '家庭出身份', name: 'FamilyOriginNo', width: 200, align: "left" }, + { label: '民族', name: 'NationalityNo', width: 200, align: "left" }, + { label: '省', name: 'ProvinceNo', width: 200, align: "left" }, + { label: '籍贯', name: 'RegionNo', width: 200, align: "left" }, + { label: '农业户口(是否农户)', name: 'ResidenceNo', width: 200, align: "left" }, + { label: '考生类别', name: 'TestStuSortNo', width: 200, align: "left" }, + { label: '健康状况', name: 'HealthStatusNo', width: 200, align: "left" }, + { label: '第几志愿', name: 'WillNo', width: 200, align: "left" }, + { label: 'TestStuSubjectNo', name: 'TestStuSubjectNo', width: 200, align: "left" }, + { label: '本专科', name: 'GraduateNo', width: 200, align: "left" }, + { label: '计划形式', name: 'PlanFormNo', width: 200, align: "left" }, + { label: '三好', name: 'IsThreeGood', width: 200, align: "left" }, + { label: '优干', name: 'IsExcellent', width: 200, align: "left" }, + { label: '一般学生干部', name: 'IsNormalCadre', width: 200, align: "left" }, + { label: '省市前三', name: 'IsProvinceFirstThree', width: 200, align: "left" }, + { label: '港澳台侨', name: 'OverseasChineseNo', width: 200, align: "left" }, + { label: '录取类别', name: 'MatriculateSort', width: 200, align: "left" }, + { label: '来源地区码', name: 'ComeProvinceNo', width: 200, align: "left" }, + { label: '原单位码', name: 'HighSchoolNo', width: 200, align: "left" }, + { label: '原单位', name: 'HighSchoolName', width: 200, align: "left" }, + { label: '入学年月', name: 'EntranceDate', width: 200, align: "left" }, + { label: '宗教', name: 'Religion', width: 200, align: "left" }, + { label: '特长', name: 'GoodAt', width: 200, align: "left" }, + { label: '身份证号', name: 'IdentityCardNo', width: 200, align: "left" }, + { label: '入党时间', name: 'JoinPartyDate', width: 200, align: "left" }, + { label: '入团时间 ', name: 'JoinLeagueDate', width: 200, align: "left" }, + { label: '校内地址', name: 'InSchoolAddress', width: 200, align: "left" }, + { label: '校内电话', name: 'InSchoolTelephone', width: 200, align: "left" }, + { label: '异动标志', name: 'AbmormityMoveMark', width: 200, align: "left" }, + { label: '奖励标志', name: 'AwardMark', width: 200, align: "left" }, + { label: '处分标志', name: 'PunishMark', width: 200, align: "left" }, + { label: '联系人标志', name: 'LinkmanMark', width: 200, align: "left" }, + { label: '学号异动标志', name: 'StuNoChangeMark', width: 200, align: "left" }, + { label: '毕业标志', name: 'FinishSchoolMark', width: 200, align: "left" }, + { label: '当前注册标志', name: 'CurrentRegisterMark', width: 200, align: "left" }, + { label: '毕业年月', name: 'FinishSchoolDate', width: 200, align: "left" }, + { label: '毕业证书号', name: 'DiplomaNo', width: 200, align: "left" }, + { label: '毕业证书备注', name: 'DiplomaRemark', width: 200, align: "left" }, + { label: '备注', name: 'Remark', width: 200, align: "left" }, + { label: '报到日期', name: 'RegisterDate', width: 200, align: "left" }, + { label: 'Photo', name: 'Photo', width: 200, align: "left" }, + { label: 'TeachPlanNo', name: 'TeachPlanNo', width: 200, align: "left" }, + { label: '审核标志', name: 'CheckMark', width: 200, align: "left" }, + { label: '联系电话', name: 'mobile', width: 200, align: "left" }, + { label: '电子邮件', name: 'EMail', width: 200, align: "left" }, + { label: 'QQ', name: 'QQ', width: 200, align: "left" }, + { label: '户口所在地', name: 'FatherUnit', width: 200, align: "left" }, + { label: '父亲姓名', name: 'FatherName', width: 200, align: "left" }, + { label: '父亲电话', name: 'FatherPhone', width: 200, align: "left" }, + { label: '母亲姓名', name: 'MatherName', width: 200, align: "left" }, + { label: '档案所在地', name: 'MatherUnit', width: 200, align: "left" }, + { label: '母亲电话', name: 'MatherPhone', width: 200, align: "left" }, + { label: '用户名', name: 'username', width: 200, align: "left" }, + { label: '密码', name: 'password', width: 200, align: "left" }, + { label: '通信地址', name: 'MailAddress', width: 200, align: "left" }, + { label: '邮政编码', name: 'PostalCode', width: 200, align: "left" }, + { label: 'InSchoolStatus', name: 'InSchoolStatus', width: 200, align: "left" }, + { label: 'TransMark', name: 'TransMark', width: 200, align: "left" }, + { label: 'ClassTutorNo', name: 'ClassTutorNo', width: 200, align: "left" }, + { label: '学籍卡审核', name: 'ResumeCheck', width: 200, align: "left" }, + { label: 'PracStatus', name: 'PracStatus', width: 200, align: "left" }, + { label: 'RegisterStatus', name: 'RegisterStatus', width: 200, align: "left" }, + { label: 'PunishmentDate', name: 'PunishmentDate', width: 200, align: "left" }, + { label: '市', name: 'F_CityId', width: 200, align: "left" }, + { label: '县区', name: 'F_CountyId', width: 200, align: "left" }, + { label: '省', name: 'F_ProvinceId', width: 200, align: "left" }, + { label: '学校', name: 'F_SchoolId', width: 200, align: "left" }, + { label: '学制', name: 'EduSystem', width: 200, align: "left" }, + { label: '学习形式', name: 'StudyModality', width: 200, align: "left" }, + { label: 'SyncFlag', name: 'SyncFlag', width: 200, align: "left" }, + { label: '学籍异动状态', name: 'ChangeStatus', width: 200, align: "left" }, + { label: 'Balance', name: 'Balance', width: 200, align: "left" }, + { label: 'HealthStatus', name: 'HealthStatus', width: 200, align: "left" }, + { label: '身份证件类型', name: 'IdCardType', width: 200, align: "left" }, + { label: '入学方式', name: 'EntranceWay', width: 200, align: "left" }, + { label: '就读方式', name: 'StudyingWay', width: 200, align: "left" }, + { label: '国籍/地区', name: 'CountryNo', width: 200, align: "left" }, + { label: '婚姻状况', name: 'MarriageStatus', width: 200, align: "left" }, + { label: '乘火车区间', name: 'TrainInterval', width: 200, align: "left" }, + { label: '是否随迁子女', name: 'IsTrailChildren', width: 200, align: "left" }, + { label: '生源地行政区划码', name: 'StuPlaceCode', width: 200, align: "left" }, + { label: '出生地行政区划码', name: 'BirthPlaceCode', width: 200, align: "left" }, + { label: '籍贯地行政区划码', name: 'NativePlaceCode', width: 200, align: "left" }, + { label: '户口所在地行政区划码', name: 'ResidencePlaceCode', width: 200, align: "left" }, + { label: '所属派出所', name: 'BelongPolice', width: 200, align: "left" }, + { label: '学生居住地类型', name: 'StuLivePlaceType', width: 200, align: "left" }, + { label: '学生来源', name: 'StuOrigin', width: 200, align: "left" }, + { label: '招生对象', name: 'RecruitObject', width: 200, align: "left" }, + { label: '贫困户否建档立卡贫困户', name: 'PoorIsRecord', width: 200, align: "left" }, + { label: '招生方式', name: 'RecruitWay', width: 200, align: "left" }, + { label: '联招合作类型', name: 'RecruitCooperateType', width: 200, align: "left" }, + { label: '准考证号', name: 'AdmissionNo', width: 200, align: "left" }, + { label: '考试总分', name: 'ExamScore', width: 200, align: "left" }, + { label: '联招合作办学形式', name: 'RecruitCooperateForm', width: 200, align: "left" }, + { label: '联招合作学校代码', name: 'RecruitCooperateSchoolNo', width: 200, align: "left" }, + { label: '校外教学点', name: 'SchoolOutsidePlace', width: 200, align: "left" }, + { label: '分段培养方式', name: 'PieceCultivateWay', width: 200, align: "left" }, + { label: '英文姓名', name: 'EnglishName', width: 200, align: "left" }, + { label: '成员1关系', name: 'OneMembership', width: 200, align: "left" }, + { label: '成员1是否监护人', name: 'OneIsGuardian', width: 200, align: "left" }, + { label: '成员1出生年月', name: 'OneBirthday', width: 200, align: "left" }, + { label: '成员1身份证件类型', name: 'OneIdCardType', width: 200, align: "left" }, + { label: '成员1身份证件号', name: 'OneIdCardNo', width: 200, align: "left" }, + { label: '成员1民族', name: 'OneNationalityNo', width: 200, align: "left" }, + { label: '成员1政治面貌', name: 'OnePartyFaceNo', width: 200, align: "left" }, + { label: '成员1健康状况', name: 'OneHealthStatus', width: 200, align: "left" }, + { label: '成员1工作或学习单位', name: 'OneJob', width: 200, align: "left" }, + { label: '成员1职务', name: 'OnePosition', width: 200, align: "left" }, + { label: '成员2关系', name: 'TwoMembership', width: 200, align: "left" }, + { label: '成员2是否监护人', name: 'TwoIsGuardian', width: 200, align: "left" }, + { label: '成员2出生年月', name: 'TwoBirthday', width: 200, align: "left" }, + { label: '成员2身份证件类型', name: 'TwoIdCardType', width: 200, align: "left" }, + { label: '成员2身份证件号', name: 'TwoIdCardNo', width: 200, align: "left" }, + { label: '成员2民族', name: 'TwoNationalityNo', width: 200, align: "left" }, + { label: '成员2政治面貌', name: 'TwoPartyFaceNo', width: 200, align: "left" }, + { label: '成员2健康状况', name: 'TwoHealthStatus', width: 200, align: "left" }, + { label: '成员2工作或学习单位', name: 'TwoJob', width: 200, align: "left" }, + { label: '成员2职务', name: 'TwoPosition', width: 200, align: "left" }, + { label: '省编学号', name: 'ProvinceCode', width: 200, align: "left" }, + { label: '监护人', name: 'Guardian', width: 200, align: "left" }, + { label: '监护人联系方式', name: 'GuardianPhone', width: 200, align: "left" }, + { label: '监护人类型', name: 'GuardianType', width: 200, align: "left" }, + { label: '是否单亲', name: 'IsSingle', width: 200, align: "left" }, + { label: '留守', name: 'IsLeft', width: 200, align: "left" }, + { label: '残疾', name: 'IsDisability', width: 200, align: "left" }, + { label: '走读', name: 'IsRunSchool', width: 200, align: "left" }, + { label: '困难', name: 'IsDdifficulty', width: 200, align: "left" }, + { label: '五年一贯制', name: 'FiveYear', width: 200, align: "left" }, + { label: '实习状态', name: 'InternshipStatus', width: 200, align: "left" }, + { label: '是否复读', name: 'IsRestudy', width: 200, align: "left" }, + { label: '专业方向拼音全称', name: 'MajorDetailSpell', width: 200, align: "left" }, + { label: '成员1名字', name: 'OneName', width: 200, align: "left" }, + { label: '成员2名称', name: 'TwoName', width: 200, align: "left" }, + { label: '其他联系方式', name: 'OtherContact', width: 200, align: "left" }, + { label: '成员1联系电话', name: 'OneMobile', width: 200, align: "left" }, + { label: '成员二联系电话', name: 'TwoMobile', width: 200, align: "left" }, + { label: 'ReturnBooksStatus', name: 'ReturnBooksStatus', width: 200, align: "left" }, + { label: 'ReturnBooksDate', name: 'ReturnBooksDate', width: 200, align: "left" }, + { label: 'EmployAgreeStatus', name: 'EmployAgreeStatus', width: 200, align: "left" }, + { label: 'EmployAgreeDate', name: 'EmployAgreeDate', width: 200, align: "left" }, + { label: 'FeeSettleStatus', name: 'FeeSettleStatus', width: 200, align: "left" }, + { label: 'FeeSettleDate', name: 'FeeSettleDate', width: 200, align: "left" }, + { label: 'CheckOutStatus', name: 'CheckOutStatus', width: 200, align: "left" }, + { label: 'CheckOutDate', name: 'CheckOutDate', width: 200, align: "left" }, + { label: 'CardDeregistrateStatus', name: 'CardDeregistrateStatus', width: 200, align: "left" }, + { label: 'CardDeregistrateDate', name: 'CardDeregistrateDate', width: 200, align: "left" }, + { label: 'DiplomaReceiveStatus', name: 'DiplomaReceiveStatus', width: 200, align: "left" }, + { label: 'DiplomaReceiveDate', name: 'DiplomaReceiveDate', width: 200, align: "left" }, + { label: 'FileTransferStatus', name: 'FileTransferStatus', width: 200, align: "left" }, + { label: 'FileTransferDate', name: 'FileTransferDate', width: 200, align: "left" }, + { label: '组织转出状态', name: 'TissueStatus', width: 200, align: "left" }, + { label: '组织转出时间', name: 'TissueDate', width: 200, align: "left" }, + { label: 'DiplomaReceiveSign', name: 'DiplomaReceiveSign', width: 200, align: "left" }, + { label: 'DiplomaReceiveIdcard', name: 'DiplomaReceiveIdcard', width: 200, align: "left" }, + { label: 'DiplomaReceiveRemark', name: 'DiplomaReceiveRemark', width: 200, align: "left" }, + ], + mainId:'StuId', + 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.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/EducationalAdministration/StuInfoBasicTranMap.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/EducationalAdministration/StuInfoBasicTranMap.cs new file mode 100644 index 000000000..70860e716 --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/EducationalAdministration/StuInfoBasicTranMap.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 力软信息技术(苏州)有限公司 + /// 创 建:超级管理员 + /// 日 期:2023-01-06 11:59 + /// 描 述:学生学籍异动记录表 + /// + public class StuInfoBasicTranMap : EntityTypeConfiguration + { + public StuInfoBasicTranMap() + { + #region 表、主键 + //表 + this.ToTable("STUINFOBASICTRAN"); + //主键 + this.HasKey(t => t.StuId); + #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 fbce7f53c..1bbde87cd 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 @@ -651,6 +651,7 @@ + diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicTran/StuInfoBasicTranBLL.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicTran/StuInfoBasicTranBLL.cs new file mode 100644 index 000000000..f350a1666 --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicTran/StuInfoBasicTranBLL.cs @@ -0,0 +1,148 @@ +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 力软信息技术(苏州)有限公司 + /// 创 建:超级管理员 + /// 日 期:2023-01-06 11:59 + /// 描 述:学生学籍异动记录表 + /// + public class StuInfoBasicTranBLL : StuInfoBasicTranIBLL + { + private StuInfoBasicTranService stuInfoBasicTranService = new StuInfoBasicTranService(); + + #region 获取数据 + + /// + /// 获取列表数据 + /// + /// 查询参数 + /// + public IEnumerable GetList( string queryJson ) + { + try + { + return stuInfoBasicTranService.GetList(queryJson); + } + catch (Exception ex) + { + if (ex is ExceptionEx) + { + throw; + } + else + { + throw ExceptionEx.ThrowBusinessException(ex); + } + } + } + + /// + /// 获取列表分页数据 + /// + /// 分页参数 + /// 查询参数 + /// + public IEnumerable GetPageList(Pagination pagination, string queryJson) + { + try + { + return stuInfoBasicTranService.GetPageList(pagination, queryJson); + } + catch (Exception ex) + { + if (ex is ExceptionEx) + { + throw; + } + else + { + throw ExceptionEx.ThrowBusinessException(ex); + } + } + } + + /// + /// 获取实体数据 + /// + /// 主键 + /// + public StuInfoBasicTranEntity GetEntity(string keyValue) + { + try + { + return stuInfoBasicTranService.GetEntity(keyValue); + } + catch (Exception ex) + { + if (ex is ExceptionEx) + { + throw; + } + else + { + throw ExceptionEx.ThrowBusinessException(ex); + } + } + } + + #endregion + + #region 提交数据 + + /// + /// 删除实体数据 + /// + /// 主键 + public void DeleteEntity(string keyValue) + { + try + { + stuInfoBasicTranService.DeleteEntity(keyValue); + } + catch (Exception ex) + { + if (ex is ExceptionEx) + { + throw; + } + else + { + throw ExceptionEx.ThrowBusinessException(ex); + } + } + } + + /// + /// 保存实体数据(新增、修改) + /// + /// 主键 + /// 实体 + public void SaveEntity(string keyValue, StuInfoBasicTranEntity entity) + { + try + { + stuInfoBasicTranService.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/StuInfoBasicTran/StuInfoBasicTranEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicTran/StuInfoBasicTranEntity.cs new file mode 100644 index 000000000..bf71215a4 --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicTran/StuInfoBasicTranEntity.cs @@ -0,0 +1,1097 @@ +using Learun.Util; +using System; +using System.ComponentModel.DataAnnotations.Schema; +namespace Learun.Application.TwoDevelopment.EducationalAdministration + +{ + /// + /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 + /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 + /// 创 建:超级管理员 + /// 日 期:2023-01-06 11:59 + /// 描 述:学生学籍异动记录表 + /// + public class StuInfoBasicTranEntity + { + #region 实体成员 + /// + /// Id + /// + /// + [Column("ID")] + public string Id { get; set; } + /// + /// StuId + /// + /// + [Column("STUID")] + public string StuId { get; set; } + /// + /// 学号 + /// + /// + [Column("STUNO")] + public string StuNo { get; set; } + /// + /// 学籍号 + /// + /// + [Column("STUCODE")] + public string StuCode { get; set; } + /// + /// 通知书号 + /// + /// + [Column("NOTICENO")] + public string NoticeNo { get; set; } + /// + /// 毕业日期 + /// + /// + [Column("GRADUATEYEAR")] + public string GraduateYear { get; set; } + /// + /// 考生号 + /// + /// + [Column("KSH")] + public string ksh { get; set; } + /// + /// 系所 + /// + /// + [Column("DEPTNO")] + public string DeptNo { get; set; } + /// + /// 专业 + /// + /// + [Column("MAJORNO")] + public string MajorNo { get; set; } + /// + /// 专业方向号(如0,1,2,3,4,5) 0代表无专业方向细分 + /// + /// + [Column("MAJORDETAILNO")] + public string MajorDetailNo { get; set; } + /// + /// 专业方向名 + /// + /// + [Column("MAJORDETAILNAME")] + public string MajorDetailName { get; set; } + /// + /// 年级 + /// + /// + [Column("GRADE")] + public string Grade { get; set; } + /// + /// 班级 + /// + /// + [Column("CLASSNO")] + public string ClassNo { get; set; } + /// + /// 姓名 + /// + /// + [Column("STUNAME")] + public string StuName { get; set; } + /// + /// 拼音全称 + /// + /// + [Column("SPELLFULL")] + public string SpellFull { get; set; } + /// + /// 拼音简称 + /// + /// + [Column("SPELLBRIEF")] + public string SpellBrief { get; set; } + /// + /// 性别 + /// + /// + [Column("GENDERNO")] + public bool? GenderNo { get; set; } + /// + /// 出生日期 + /// + /// + [Column("BIRTHDAY")] + public DateTime? Birthday { get; set; } + /// + /// 政治面貌 + /// + /// + [Column("PARTYFACENO")] + public string PartyFaceNo { get; set; } + /// + /// 家庭出身份 + /// + /// + [Column("FAMILYORIGINNO")] + public string FamilyOriginNo { get; set; } + /// + /// 民族 + /// + /// + [Column("NATIONALITYNO")] + public string NationalityNo { get; set; } + /// + /// 省 + /// + /// + [Column("PROVINCENO")] + public string ProvinceNo { get; set; } + /// + /// 籍贯 + /// + /// + [Column("REGIONNO")] + public string RegionNo { get; set; } + /// + /// 农业户口(是否农户) + /// + /// + [Column("RESIDENCENO")] + public string ResidenceNo { get; set; } + /// + /// 考生类别 + /// + /// + [Column("TESTSTUSORTNO")] + public string TestStuSortNo { get; set; } + /// + /// 健康状况 + /// + /// + [Column("HEALTHSTATUSNO")] + public string HealthStatusNo { get; set; } + /// + /// 第几志愿 + /// + /// + [Column("WILLNO")] + public string WillNo { get; set; } + /// + /// TestStuSubjectNo + /// + /// + [Column("TESTSTUSUBJECTNO")] + public string TestStuSubjectNo { get; set; } + /// + /// 本专科 + /// + /// + [Column("GRADUATENO")] + public string GraduateNo { get; set; } + /// + /// 计划形式 + /// + /// + [Column("PLANFORMNO")] + public string PlanFormNo { get; set; } + /// + /// 三好 + /// + /// + [Column("ISTHREEGOOD")] + public string IsThreeGood { get; set; } + /// + /// 优干 + /// + /// + [Column("ISEXCELLENT")] + public string IsExcellent { get; set; } + /// + /// 一般学生干部 + /// + /// + [Column("ISNORMALCADRE")] + public string IsNormalCadre { get; set; } + /// + /// 省市前三 + /// + /// + [Column("ISPROVINCEFIRSTTHREE")] + public string IsProvinceFirstThree { get; set; } + /// + /// 港澳台侨 + /// + /// + [Column("OVERSEASCHINESENO")] + public string OverseasChineseNo { get; set; } + /// + /// 录取类别 + /// + /// + [Column("MATRICULATESORT")] + public string MatriculateSort { get; set; } + /// + /// 来源地区码 + /// + /// + [Column("COMEPROVINCENO")] + public string ComeProvinceNo { get; set; } + /// + /// 原单位码 + /// + /// + [Column("HIGHSCHOOLNO")] + public string HighSchoolNo { get; set; } + /// + /// 原单位 + /// + /// + [Column("HIGHSCHOOLNAME")] + public string HighSchoolName { get; set; } + /// + /// 入学年月 + /// + /// + [Column("ENTRANCEDATE")] + public DateTime? EntranceDate { get; set; } + /// + /// 宗教 + /// + /// + [Column("RELIGION")] + public string Religion { get; set; } + /// + /// 特长 + /// + /// + [Column("GOODAT")] + public string GoodAt { get; set; } + /// + /// 身份证号 + /// + /// + [Column("IDENTITYCARDNO")] + public string IdentityCardNo { get; set; } + /// + /// 入党时间 + /// + /// + [Column("JOINPARTYDATE")] + public DateTime? JoinPartyDate { get; set; } + /// + /// 入团时间 + /// + /// + [Column("JOINLEAGUEDATE")] + public DateTime? JoinLeagueDate { get; set; } + /// + /// 校内地址 + /// + /// + [Column("INSCHOOLADDRESS")] + public string InSchoolAddress { get; set; } + /// + /// 校内电话 + /// + /// + [Column("INSCHOOLTELEPHONE")] + public string InSchoolTelephone { get; set; } + /// + /// 异动标志 + /// + /// + [Column("ABMORMITYMOVEMARK")] + public string AbmormityMoveMark { get; set; } + /// + /// 奖励标志 + /// + /// + [Column("AWARDMARK")] + public string AwardMark { get; set; } + /// + /// 处分标志 + /// + /// + [Column("PUNISHMARK")] + public string PunishMark { get; set; } + /// + /// 联系人标志 + /// + /// + [Column("LINKMANMARK")] + public string LinkmanMark { get; set; } + /// + /// 学号异动标志 + /// + /// + [Column("STUNOCHANGEMARK")] + public string StuNoChangeMark { get; set; } + /// + /// 毕业标志 + /// + /// + [Column("FINISHSCHOOLMARK")] + public string FinishSchoolMark { get; set; } + /// + /// 当前注册标志 + /// + /// + [Column("CURRENTREGISTERMARK")] + public string CurrentRegisterMark { get; set; } + /// + /// 毕业年月 + /// + /// + [Column("FINISHSCHOOLDATE")] + public DateTime? FinishSchoolDate { get; set; } + /// + /// 毕业证书号 + /// + /// + [Column("DIPLOMANO")] + public string DiplomaNo { get; set; } + /// + /// 毕业证书备注 + /// + /// + [Column("DIPLOMAREMARK")] + public string DiplomaRemark { get; set; } + /// + /// 备注 + /// + /// + [Column("REMARK")] + public string Remark { get; set; } + /// + /// 报到日期 + /// + /// + [Column("REGISTERDATE")] + public DateTime? RegisterDate { get; set; } + /// + /// Photo + /// + /// + [Column("PHOTO")] + public string Photo { get; set; } + /// + /// TeachPlanNo + /// + /// + [Column("TEACHPLANNO")] + public string TeachPlanNo { get; set; } + /// + /// 审核标志 + /// + /// + [Column("CHECKMARK")] + public string CheckMark { get; set; } + /// + /// 联系电话 + /// + /// + [Column("MOBILE")] + public string mobile { get; set; } + /// + /// 电子邮件 + /// + /// + [Column("EMAIL")] + public string EMail { get; set; } + /// + /// QQ + /// + /// + [Column("QQ")] + public string QQ { get; set; } + /// + /// 户口所在地 + /// + /// + [Column("FATHERUNIT")] + public string FatherUnit { get; set; } + /// + /// 父亲姓名 + /// + /// + [Column("FATHERNAME")] + public string FatherName { get; set; } + /// + /// 父亲电话 + /// + /// + [Column("FATHERPHONE")] + public string FatherPhone { get; set; } + /// + /// 母亲姓名 + /// + /// + [Column("MATHERNAME")] + public string MatherName { get; set; } + /// + /// 档案所在地 + /// + /// + [Column("MATHERUNIT")] + public string MatherUnit { get; set; } + /// + /// 母亲电话 + /// + /// + [Column("MATHERPHONE")] + public string MatherPhone { get; set; } + /// + /// 用户名 + /// + /// + [Column("USERNAME")] + public string username { get; set; } + /// + /// 密码 + /// + /// + [Column("PASSWORD")] + public string password { get; set; } + /// + /// 通信地址 + /// + /// + [Column("MAILADDRESS")] + public string MailAddress { get; set; } + /// + /// 邮政编码 + /// + /// + [Column("POSTALCODE")] + public string PostalCode { get; set; } + /// + /// InSchoolStatus + /// + /// + [Column("INSCHOOLSTATUS")] + public string InSchoolStatus { get; set; } + /// + /// TransMark + /// + /// + [Column("TRANSMARK")] + public string TransMark { get; set; } + /// + /// ClassTutorNo + /// + /// + [Column("CLASSTUTORNO")] + public string ClassTutorNo { get; set; } + /// + /// 学籍卡审核 + /// + /// + [Column("RESUMECHECK")] + public string ResumeCheck { get; set; } + /// + /// PracStatus + /// + /// + [Column("PRACSTATUS")] + public string PracStatus { get; set; } + /// + /// RegisterStatus + /// + /// + [Column("REGISTERSTATUS")] + public int? RegisterStatus { get; set; } + /// + /// PunishmentDate + /// + /// + [Column("PUNISHMENTDATE")] + public DateTime? PunishmentDate { get; set; } + /// + /// 市 + /// + /// + [Column("F_CITYID")] + public string F_CityId { get; set; } + /// + /// 县区 + /// + /// + [Column("F_COUNTYID")] + public string F_CountyId { get; set; } + /// + /// 省 + /// + /// + [Column("F_PROVINCEID")] + public string F_ProvinceId { get; set; } + /// + /// 学校 + /// + /// + [Column("F_SCHOOLID")] + public string F_SchoolId { get; set; } + /// + /// 学制 + /// + /// + [Column("EDUSYSTEM")] + public string EduSystem { get; set; } + /// + /// 学习形式 + /// + /// + [Column("STUDYMODALITY")] + public string StudyModality { get; set; } + /// + /// SyncFlag + /// + /// + [Column("SYNCFLAG")] + public bool? SyncFlag { get; set; } + /// + /// 学籍异动状态 + /// + /// + [Column("CHANGESTATUS")] + public int? ChangeStatus { get; set; } + /// + /// Balance + /// + /// + [Column("BALANCE")] + public string Balance { get; set; } + /// + /// HealthStatus + /// + /// + [Column("HEALTHSTATUS")] + public string HealthStatus { get; set; } + /// + /// 身份证件类型 + /// + /// + [Column("IDCARDTYPE")] + public string IdCardType { get; set; } + /// + /// 入学方式 + /// + /// + [Column("ENTRANCEWAY")] + public string EntranceWay { get; set; } + /// + /// 就读方式 + /// + /// + [Column("STUDYINGWAY")] + public string StudyingWay { get; set; } + /// + /// 国籍/地区 + /// + /// + [Column("COUNTRYNO")] + public string CountryNo { get; set; } + /// + /// 婚姻状况 + /// + /// + [Column("MARRIAGESTATUS")] + public string MarriageStatus { get; set; } + /// + /// 乘火车区间 + /// + /// + [Column("TRAININTERVAL")] + public string TrainInterval { get; set; } + /// + /// 是否随迁子女 + /// + /// + [Column("ISTRAILCHILDREN")] + public string IsTrailChildren { get; set; } + /// + /// 生源地行政区划码 + /// + /// + [Column("STUPLACECODE")] + public string StuPlaceCode { get; set; } + /// + /// 出生地行政区划码 + /// + /// + [Column("BIRTHPLACECODE")] + public string BirthPlaceCode { get; set; } + /// + /// 籍贯地行政区划码 + /// + /// + [Column("NATIVEPLACECODE")] + public string NativePlaceCode { get; set; } + /// + /// 户口所在地行政区划码 + /// + /// + [Column("RESIDENCEPLACECODE")] + public string ResidencePlaceCode { get; set; } + /// + /// 所属派出所 + /// + /// + [Column("BELONGPOLICE")] + public string BelongPolice { get; set; } + /// + /// 学生居住地类型 + /// + /// + [Column("STULIVEPLACETYPE")] + public string StuLivePlaceType { get; set; } + /// + /// 学生来源 + /// + /// + [Column("STUORIGIN")] + public string StuOrigin { get; set; } + /// + /// 招生对象 + /// + /// + [Column("RECRUITOBJECT")] + public string RecruitObject { get; set; } + /// + /// 贫困户否建档立卡贫困户 + /// + /// + [Column("POORISRECORD")] + public string PoorIsRecord { get; set; } + /// + /// 招生方式 + /// + /// + [Column("RECRUITWAY")] + public string RecruitWay { get; set; } + /// + /// 联招合作类型 + /// + /// + [Column("RECRUITCOOPERATETYPE")] + public string RecruitCooperateType { get; set; } + /// + /// 准考证号 + /// + /// + [Column("ADMISSIONNO")] + public string AdmissionNo { get; set; } + /// + /// 考试总分 + /// + /// + [Column("EXAMSCORE")] + public decimal? ExamScore { get; set; } + /// + /// 联招合作办学形式 + /// + /// + [Column("RECRUITCOOPERATEFORM")] + public string RecruitCooperateForm { get; set; } + /// + /// 联招合作学校代码 + /// + /// + [Column("RECRUITCOOPERATESCHOOLNO")] + public string RecruitCooperateSchoolNo { get; set; } + /// + /// 校外教学点 + /// + /// + [Column("SCHOOLOUTSIDEPLACE")] + public string SchoolOutsidePlace { get; set; } + /// + /// 分段培养方式 + /// + /// + [Column("PIECECULTIVATEWAY")] + public string PieceCultivateWay { get; set; } + /// + /// 英文姓名 + /// + /// + [Column("ENGLISHNAME")] + public string EnglishName { get; set; } + /// + /// 成员1关系 + /// + /// + [Column("ONEMEMBERSHIP")] + public string OneMembership { get; set; } + /// + /// 成员1是否监护人 + /// + /// + [Column("ONEISGUARDIAN")] + public string OneIsGuardian { get; set; } + /// + /// 成员1出生年月 + /// + /// + [Column("ONEBIRTHDAY")] + public string OneBirthday { get; set; } + /// + /// 成员1身份证件类型 + /// + /// + [Column("ONEIDCARDTYPE")] + public string OneIdCardType { get; set; } + /// + /// 成员1身份证件号 + /// + /// + [Column("ONEIDCARDNO")] + public string OneIdCardNo { get; set; } + /// + /// 成员1民族 + /// + /// + [Column("ONENATIONALITYNO")] + public string OneNationalityNo { get; set; } + /// + /// 成员1政治面貌 + /// + /// + [Column("ONEPARTYFACENO")] + public string OnePartyFaceNo { get; set; } + /// + /// 成员1健康状况 + /// + /// + [Column("ONEHEALTHSTATUS")] + public string OneHealthStatus { get; set; } + /// + /// 成员1工作或学习单位 + /// + /// + [Column("ONEJOB")] + public string OneJob { get; set; } + /// + /// 成员1职务 + /// + /// + [Column("ONEPOSITION")] + public string OnePosition { get; set; } + /// + /// 成员2关系 + /// + /// + [Column("TWOMEMBERSHIP")] + public string TwoMembership { get; set; } + /// + /// 成员2是否监护人 + /// + /// + [Column("TWOISGUARDIAN")] + public string TwoIsGuardian { get; set; } + /// + /// 成员2出生年月 + /// + /// + [Column("TWOBIRTHDAY")] + public string TwoBirthday { get; set; } + /// + /// 成员2身份证件类型 + /// + /// + [Column("TWOIDCARDTYPE")] + public string TwoIdCardType { get; set; } + /// + /// 成员2身份证件号 + /// + /// + [Column("TWOIDCARDNO")] + public string TwoIdCardNo { get; set; } + /// + /// 成员2民族 + /// + /// + [Column("TWONATIONALITYNO")] + public string TwoNationalityNo { get; set; } + /// + /// 成员2政治面貌 + /// + /// + [Column("TWOPARTYFACENO")] + public string TwoPartyFaceNo { get; set; } + /// + /// 成员2健康状况 + /// + /// + [Column("TWOHEALTHSTATUS")] + public string TwoHealthStatus { get; set; } + /// + /// 成员2工作或学习单位 + /// + /// + [Column("TWOJOB")] + public string TwoJob { get; set; } + /// + /// 成员2职务 + /// + /// + [Column("TWOPOSITION")] + public string TwoPosition { get; set; } + /// + /// 省编学号 + /// + /// + [Column("PROVINCECODE")] + public string ProvinceCode { get; set; } + /// + /// 监护人 + /// + /// + [Column("GUARDIAN")] + public string Guardian { get; set; } + /// + /// 监护人联系方式 + /// + /// + [Column("GUARDIANPHONE")] + public string GuardianPhone { get; set; } + /// + /// 监护人类型 + /// + /// + [Column("GUARDIANTYPE")] + public string GuardianType { get; set; } + /// + /// 是否单亲 + /// + /// + [Column("ISSINGLE")] + public bool? IsSingle { get; set; } + /// + /// 留守 + /// + /// + [Column("ISLEFT")] + public bool? IsLeft { get; set; } + /// + /// 残疾 + /// + /// + [Column("ISDISABILITY")] + public bool? IsDisability { get; set; } + /// + /// 走读 + /// + /// + [Column("ISRUNSCHOOL")] + public bool? IsRunSchool { get; set; } + /// + /// 困难 + /// + /// + [Column("ISDDIFFICULTY")] + public bool? IsDdifficulty { get; set; } + /// + /// 五年一贯制 + /// + /// + [Column("FIVEYEAR")] + public string FiveYear { get; set; } + /// + /// 实习状态 + /// + /// + [Column("INTERNSHIPSTATUS")] + public string InternshipStatus { get; set; } + /// + /// 是否复读 + /// + /// + [Column("ISRESTUDY")] + public string IsRestudy { get; set; } + /// + /// 专业方向拼音全称 + /// + /// + [Column("MAJORDETAILSPELL")] + public string MajorDetailSpell { get; set; } + /// + /// 成员1名字 + /// + /// + [Column("ONENAME")] + public string OneName { get; set; } + /// + /// 成员2名称 + /// + /// + [Column("TWONAME")] + public string TwoName { get; set; } + /// + /// 其他联系方式 + /// + /// + [Column("OTHERCONTACT")] + public string OtherContact { get; set; } + /// + /// 成员1联系电话 + /// + /// + [Column("ONEMOBILE")] + public string OneMobile { get; set; } + /// + /// 成员二联系电话 + /// + /// + [Column("TWOMOBILE")] + public string TwoMobile { get; set; } + /// + /// ReturnBooksStatus + /// + /// + [Column("RETURNBOOKSSTATUS")] + public string ReturnBooksStatus { get; set; } + /// + /// ReturnBooksDate + /// + /// + [Column("RETURNBOOKSDATE")] + public DateTime? ReturnBooksDate { get; set; } + /// + /// EmployAgreeStatus + /// + /// + [Column("EMPLOYAGREESTATUS")] + public string EmployAgreeStatus { get; set; } + /// + /// EmployAgreeDate + /// + /// + [Column("EMPLOYAGREEDATE")] + public DateTime? EmployAgreeDate { get; set; } + /// + /// FeeSettleStatus + /// + /// + [Column("FEESETTLESTATUS")] + public string FeeSettleStatus { get; set; } + /// + /// FeeSettleDate + /// + /// + [Column("FEESETTLEDATE")] + public DateTime? FeeSettleDate { get; set; } + /// + /// CheckOutStatus + /// + /// + [Column("CHECKOUTSTATUS")] + public string CheckOutStatus { get; set; } + /// + /// CheckOutDate + /// + /// + [Column("CHECKOUTDATE")] + public DateTime? CheckOutDate { get; set; } + /// + /// CardDeregistrateStatus + /// + /// + [Column("CARDDEREGISTRATESTATUS")] + public string CardDeregistrateStatus { get; set; } + /// + /// CardDeregistrateDate + /// + /// + [Column("CARDDEREGISTRATEDATE")] + public DateTime? CardDeregistrateDate { get; set; } + /// + /// DiplomaReceiveStatus + /// + /// + [Column("DIPLOMARECEIVESTATUS")] + public string DiplomaReceiveStatus { get; set; } + /// + /// DiplomaReceiveDate + /// + /// + [Column("DIPLOMARECEIVEDATE")] + public DateTime? DiplomaReceiveDate { get; set; } + /// + /// FileTransferStatus + /// + /// + [Column("FILETRANSFERSTATUS")] + public string FileTransferStatus { get; set; } + /// + /// FileTransferDate + /// + /// + [Column("FILETRANSFERDATE")] + public DateTime? FileTransferDate { get; set; } + /// + /// 组织转出状态 + /// + /// + [Column("TISSUESTATUS")] + public string TissueStatus { get; set; } + /// + /// 组织转出时间 + /// + /// + [Column("TISSUEDATE")] + public DateTime? TissueDate { get; set; } + /// + /// DiplomaReceiveSign + /// + /// + [Column("DIPLOMARECEIVESIGN")] + public string DiplomaReceiveSign { get; set; } + /// + /// DiplomaReceiveIdcard + /// + /// + [Column("DIPLOMARECEIVEIDCARD")] + public string DiplomaReceiveIdcard { get; set; } + /// + /// DiplomaReceiveRemark + /// + /// + [Column("DIPLOMARECEIVEREMARK")] + public string DiplomaReceiveRemark { get; set; } + /// + /// 异动类型 + /// + [Column("ANOMALOUSTYPE")] + public string AnomalousType { get; set; } + /// + /// 异动原因 + /// + [Column("CHANGEREASON")] + public string ChangeReason { get; set; } + /// + /// 异动操作时间 + /// + [Column("TRANDATETIME")] + public DateTime? TranDateTime { get; set; } + #endregion + + #region 扩展操作 + /// + /// 新增调用 + /// + public void Create() + { + this.Id = Guid.NewGuid().ToString(); + } + /// + /// 编辑调用 + /// + /// + public void Modify(string keyValue) + { + this.Id = keyValue; + } + #endregion + } +} + diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicTran/StuInfoBasicTranIBLL.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicTran/StuInfoBasicTranIBLL.cs new file mode 100644 index 000000000..9a4eafed3 --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicTran/StuInfoBasicTranIBLL.cs @@ -0,0 +1,55 @@ +using Learun.Util; +using System.Data; +using System.Collections.Generic; + +namespace Learun.Application.TwoDevelopment.EducationalAdministration +{ + /// + /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 + /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 + /// 创 建:超级管理员 + /// 日 期:2023-01-06 11:59 + /// 描 述:学生学籍异动记录表 + /// + public interface StuInfoBasicTranIBLL + { + #region 获取数据 + + /// + /// 获取列表数据 + /// + /// 查询参数 + /// + IEnumerable GetList( string queryJson ); + /// + /// 获取列表分页数据 + /// + /// 分页参数 + /// 查询参数 + /// + IEnumerable GetPageList(Pagination pagination, string queryJson); + /// + /// 获取实体数据 + /// + /// 主键 + /// + StuInfoBasicTranEntity GetEntity(string keyValue); + #endregion + + #region 提交数据 + + /// + /// 删除实体数据 + /// + /// 主键 + void DeleteEntity(string keyValue); + /// + /// 保存实体数据(新增、修改) + /// + /// 主键 + /// 实体 + void SaveEntity(string keyValue, StuInfoBasicTranEntity entity); + #endregion + + } +} diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicTran/StuInfoBasicTranService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicTran/StuInfoBasicTranService.cs new file mode 100644 index 000000000..5fb403f88 --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicTran/StuInfoBasicTranService.cs @@ -0,0 +1,171 @@ +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 力软信息技术(苏州)有限公司 + /// 创 建:超级管理员 + /// 日 期:2023-01-06 11:59 + /// 描 述:学生学籍异动记录表 + /// + public class StuInfoBasicTranService : RepositoryFactory + { + #region 获取数据 + + /// + /// 获取列表数据 + /// + /// 条件参数 + /// + public IEnumerable GetList( string queryJson ) + { + try + { + //参考写法 + //var queryParam = queryJson.ToJObject(); + // 虚拟参数 + //var dp = new DynamicParameters(new { }); + //dp.Add("startTime", queryParam["StartTime"].ToDate(), DbType.DateTime); + var strSql = new StringBuilder(); + strSql.Append("SELECT "); + strSql.Append(" t.* "); + strSql.Append(" FROM StuInfoBasicTran t "); + return this.BaseRepository("CollegeMIS").FindList(strSql.ToString()); + } + catch (Exception ex) + { + if (ex is ExceptionEx) + { + throw; + } + else + { + throw ExceptionEx.ThrowServiceException(ex); + } + } + } + + /// + /// 获取列表分页数据 + /// + /// 分页参数 + /// 条件参数 + /// + public IEnumerable GetPageList(Pagination pagination, string queryJson) + { + try + { + var strSql = new StringBuilder(); + strSql.Append("SELECT "); + strSql.Append(" t.* "); + strSql.Append(" FROM StuInfoBasicTran t "); + return this.BaseRepository("CollegeMIS").FindList(strSql.ToString(), pagination); + } + catch (Exception ex) + { + if (ex is ExceptionEx) + { + throw; + } + else + { + throw ExceptionEx.ThrowServiceException(ex); + } + } + } + + /// + /// 获取实体数据 + /// + /// 主键 + /// + public StuInfoBasicTranEntity GetEntity(string keyValue) + { + try + { + return this.BaseRepository("CollegeMIS").FindEntity(keyValue); + } + 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, StuInfoBasicTranEntity entity) + { + try + { + if (!string.IsNullOrEmpty(keyValue)) + { + 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 + + } +}