浏览代码

学生学籍异动后数据存放

新疆警官学校中职
ndbs 1年前
父节点
当前提交
00ea3528e3
共有 11 个文件被更改,包括 2660 次插入0 次删除
  1. +121
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoBasicTranController.cs
  2. +699
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTran/Form.cshtml
  3. +38
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTran/Form.js
  4. +39
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTran/Index.cshtml
  5. +262
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTran/Index.js
  6. +29
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/EducationalAdministration/StuInfoBasicTranMap.cs
  7. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Learun.Application.Mapping.csproj
  8. +148
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicTran/StuInfoBasicTranBLL.cs
  9. +1097
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicTran/StuInfoBasicTranEntity.cs
  10. +55
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicTran/StuInfoBasicTranIBLL.cs
  11. +171
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicTran/StuInfoBasicTranService.cs

+ 121
- 0
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
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2023-01-06 11:59
/// 描 述:学生学籍异动记录表
/// </summary>
public class StuInfoBasicTranController : MvcControllerBase
{
private StuInfoBasicTranIBLL stuInfoBasicTranIBLL = new StuInfoBasicTranBLL();

#region 视图功能

/// <summary>
/// 主页面
/// </summary>
/// <returns></returns>
[HttpGet]
public ActionResult Index()
{
return View();
}
/// <summary>
/// 表单页
/// </summary>
/// <returns></returns>
[HttpGet]
public ActionResult Form()
{
return View();
}
#endregion

#region 获取数据

/// <summary>
/// 获取列表数据
/// </summary>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
[HttpGet]
[AjaxOnly]
public ActionResult GetList( string queryJson )
{
var data = stuInfoBasicTranIBLL.GetList(queryJson);
return Success(data);
}
/// <summary>
/// 获取列表分页数据
/// </summary>
/// <param name="pagination">分页参数</param>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
[HttpGet]
[AjaxOnly]
public ActionResult GetPageList(string pagination, string queryJson)
{
Pagination paginationobj = pagination.ToObject<Pagination>();
var data = stuInfoBasicTranIBLL.GetPageList(paginationobj, queryJson);
var jsonData = new
{
rows = data,
total = paginationobj.total,
page = paginationobj.page,
records = paginationobj.records
};
return Success(jsonData);
}
/// <summary>
/// 获取表单数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
[HttpGet]
[AjaxOnly]
public ActionResult GetFormData(string keyValue)
{
var data = stuInfoBasicTranIBLL.GetEntity(keyValue);
return Success(data);
}
#endregion

#region 提交数据

/// <summary>
/// 删除实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
[HttpPost]
[AjaxOnly]
public ActionResult DeleteForm(string keyValue)
{
stuInfoBasicTranIBLL.DeleteEntity(keyValue);
return Success("删除成功!");
}
/// <summary>
/// 保存实体数据(新增、修改)
/// </summary>
/// <param name="keyValue">主键</param>
/// <param name="entity">实体</param>
/// <returns></returns>
[HttpPost]
[ValidateAntiForgeryToken]
[AjaxOnly]
public ActionResult SaveForm(string keyValue,StuInfoBasicTranEntity entity)
{
stuInfoBasicTranIBLL.SaveEntity(keyValue, entity);
return Success("保存成功!");
}
#endregion

}
}

+ 699
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTran/Form.cshtml 查看文件

@@ -0,0 +1,699 @@
@{
ViewBag.Title = "学生学籍异动记录表";
Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap" id="form">
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">StuId<font face="宋体">*</font></div>
<input id="StuId" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">学号<font face="宋体">*</font></div>
<input id="StuNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">学籍号<font face="宋体">*</font></div>
<input id="StuCode" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">通知书号<font face="宋体">*</font></div>
<input id="NoticeNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">毕业日期<font face="宋体">*</font></div>
<input id="GraduateYear" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">考生号<font face="宋体">*</font></div>
<input id="ksh" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">系所<font face="宋体">*</font></div>
<input id="DeptNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">专业<font face="宋体">*</font></div>
<input id="MajorNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">专业方向号(如0,1,2,3,4,5) 0代表无专业方向细分<font face="宋体">*</font></div>
<input id="MajorDetailNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">专业方向名<font face="宋体">*</font></div>
<input id="MajorDetailName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">年级<font face="宋体">*</font></div>
<input id="Grade" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">班级<font face="宋体">*</font></div>
<input id="ClassNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">姓名<font face="宋体">*</font></div>
<input id="StuName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">拼音全称<font face="宋体">*</font></div>
<input id="SpellFull" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">拼音简称<font face="宋体">*</font></div>
<input id="SpellBrief" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">性别<font face="宋体">*</font></div>
<input id="GenderNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">出生日期<font face="宋体">*</font></div>
<input id="Birthday" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">政治面貌<font face="宋体">*</font></div>
<input id="PartyFaceNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">家庭出身份<font face="宋体">*</font></div>
<input id="FamilyOriginNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">民族<font face="宋体">*</font></div>
<input id="NationalityNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">省<font face="宋体">*</font></div>
<input id="ProvinceNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">籍贯<font face="宋体">*</font></div>
<input id="RegionNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">农业户口(是否农户)<font face="宋体">*</font></div>
<input id="ResidenceNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">考生类别<font face="宋体">*</font></div>
<input id="TestStuSortNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">健康状况<font face="宋体">*</font></div>
<input id="HealthStatusNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">第几志愿<font face="宋体">*</font></div>
<input id="WillNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">TestStuSubjectNo<font face="宋体">*</font></div>
<input id="TestStuSubjectNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">本专科<font face="宋体">*</font></div>
<input id="GraduateNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">计划形式<font face="宋体">*</font></div>
<input id="PlanFormNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">三好<font face="宋体">*</font></div>
<input id="IsThreeGood" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">优干<font face="宋体">*</font></div>
<input id="IsExcellent" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">一般学生干部<font face="宋体">*</font></div>
<input id="IsNormalCadre" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">省市前三<font face="宋体">*</font></div>
<input id="IsProvinceFirstThree" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">港澳台侨<font face="宋体">*</font></div>
<input id="OverseasChineseNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">录取类别<font face="宋体">*</font></div>
<input id="MatriculateSort" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">来源地区码<font face="宋体">*</font></div>
<input id="ComeProvinceNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">原单位码<font face="宋体">*</font></div>
<input id="HighSchoolNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">原单位<font face="宋体">*</font></div>
<input id="HighSchoolName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">入学年月<font face="宋体">*</font></div>
<input id="EntranceDate" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">宗教<font face="宋体">*</font></div>
<input id="Religion" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">特长<font face="宋体">*</font></div>
<input id="GoodAt" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">身份证号<font face="宋体">*</font></div>
<input id="IdentityCardNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">入党时间<font face="宋体">*</font></div>
<input id="JoinPartyDate" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">入团时间 <font face="宋体">*</font></div>
<input id="JoinLeagueDate" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">校内地址<font face="宋体">*</font></div>
<input id="InSchoolAddress" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">校内电话<font face="宋体">*</font></div>
<input id="InSchoolTelephone" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">异动标志<font face="宋体">*</font></div>
<input id="AbmormityMoveMark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">奖励标志<font face="宋体">*</font></div>
<input id="AwardMark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">处分标志<font face="宋体">*</font></div>
<input id="PunishMark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">联系人标志<font face="宋体">*</font></div>
<input id="LinkmanMark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">学号异动标志<font face="宋体">*</font></div>
<input id="StuNoChangeMark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">毕业标志<font face="宋体">*</font></div>
<input id="FinishSchoolMark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">当前注册标志<font face="宋体">*</font></div>
<input id="CurrentRegisterMark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">毕业年月<font face="宋体">*</font></div>
<input id="FinishSchoolDate" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">毕业证书号<font face="宋体">*</font></div>
<input id="DiplomaNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">毕业证书备注<font face="宋体">*</font></div>
<input id="DiplomaRemark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">备注<font face="宋体">*</font></div>
<input id="Remark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">报到日期<font face="宋体">*</font></div>
<input id="RegisterDate" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">Photo<font face="宋体">*</font></div>
<input id="Photo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">TeachPlanNo<font face="宋体">*</font></div>
<input id="TeachPlanNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">审核标志<font face="宋体">*</font></div>
<input id="CheckMark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">联系电话<font face="宋体">*</font></div>
<input id="mobile" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">电子邮件<font face="宋体">*</font></div>
<input id="EMail" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">QQ<font face="宋体">*</font></div>
<input id="QQ" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">户口所在地<font face="宋体">*</font></div>
<input id="FatherUnit" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">父亲姓名<font face="宋体">*</font></div>
<input id="FatherName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">父亲电话<font face="宋体">*</font></div>
<input id="FatherPhone" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">母亲姓名<font face="宋体">*</font></div>
<input id="MatherName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">档案所在地<font face="宋体">*</font></div>
<input id="MatherUnit" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">母亲电话<font face="宋体">*</font></div>
<input id="MatherPhone" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">用户名<font face="宋体">*</font></div>
<input id="username" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">密码<font face="宋体">*</font></div>
<input id="password" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">通信地址<font face="宋体">*</font></div>
<input id="MailAddress" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">邮政编码<font face="宋体">*</font></div>
<input id="PostalCode" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">InSchoolStatus<font face="宋体">*</font></div>
<input id="InSchoolStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">TransMark<font face="宋体">*</font></div>
<input id="TransMark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">ClassTutorNo<font face="宋体">*</font></div>
<input id="ClassTutorNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">学籍卡审核<font face="宋体">*</font></div>
<input id="ResumeCheck" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">PracStatus<font face="宋体">*</font></div>
<input id="PracStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">RegisterStatus<font face="宋体">*</font></div>
<input id="RegisterStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">PunishmentDate<font face="宋体">*</font></div>
<input id="PunishmentDate" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">市<font face="宋体">*</font></div>
<input id="F_CityId" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">县区<font face="宋体">*</font></div>
<input id="F_CountyId" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">省<font face="宋体">*</font></div>
<input id="F_ProvinceId" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">学校<font face="宋体">*</font></div>
<input id="F_SchoolId" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">学制<font face="宋体">*</font></div>
<input id="EduSystem" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">学习形式<font face="宋体">*</font></div>
<input id="StudyModality" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">SyncFlag<font face="宋体">*</font></div>
<input id="SyncFlag" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">学籍异动状态<font face="宋体">*</font></div>
<input id="ChangeStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">Balance<font face="宋体">*</font></div>
<input id="Balance" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">HealthStatus<font face="宋体">*</font></div>
<input id="HealthStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">身份证件类型<font face="宋体">*</font></div>
<input id="IdCardType" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">入学方式<font face="宋体">*</font></div>
<input id="EntranceWay" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">就读方式<font face="宋体">*</font></div>
<input id="StudyingWay" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">国籍/地区<font face="宋体">*</font></div>
<input id="CountryNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">婚姻状况<font face="宋体">*</font></div>
<input id="MarriageStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">乘火车区间<font face="宋体">*</font></div>
<input id="TrainInterval" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">是否随迁子女<font face="宋体">*</font></div>
<input id="IsTrailChildren" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">生源地行政区划码<font face="宋体">*</font></div>
<input id="StuPlaceCode" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">出生地行政区划码<font face="宋体">*</font></div>
<input id="BirthPlaceCode" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">籍贯地行政区划码<font face="宋体">*</font></div>
<input id="NativePlaceCode" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">户口所在地行政区划码<font face="宋体">*</font></div>
<input id="ResidencePlaceCode" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">所属派出所<font face="宋体">*</font></div>
<input id="BelongPolice" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">学生居住地类型<font face="宋体">*</font></div>
<input id="StuLivePlaceType" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">学生来源<font face="宋体">*</font></div>
<input id="StuOrigin" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">招生对象<font face="宋体">*</font></div>
<input id="RecruitObject" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">贫困户否建档立卡贫困户<font face="宋体">*</font></div>
<input id="PoorIsRecord" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">招生方式<font face="宋体">*</font></div>
<input id="RecruitWay" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">联招合作类型<font face="宋体">*</font></div>
<input id="RecruitCooperateType" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">准考证号<font face="宋体">*</font></div>
<input id="AdmissionNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">考试总分<font face="宋体">*</font></div>
<input id="ExamScore" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">联招合作办学形式<font face="宋体">*</font></div>
<input id="RecruitCooperateForm" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">联招合作学校代码<font face="宋体">*</font></div>
<input id="RecruitCooperateSchoolNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">校外教学点<font face="宋体">*</font></div>
<input id="SchoolOutsidePlace" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">分段培养方式<font face="宋体">*</font></div>
<input id="PieceCultivateWay" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">英文姓名<font face="宋体">*</font></div>
<input id="EnglishName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员1关系<font face="宋体">*</font></div>
<input id="OneMembership" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员1是否监护人<font face="宋体">*</font></div>
<input id="OneIsGuardian" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员1出生年月<font face="宋体">*</font></div>
<input id="OneBirthday" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员1身份证件类型<font face="宋体">*</font></div>
<input id="OneIdCardType" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员1身份证件号<font face="宋体">*</font></div>
<input id="OneIdCardNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员1民族<font face="宋体">*</font></div>
<input id="OneNationalityNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员1政治面貌<font face="宋体">*</font></div>
<input id="OnePartyFaceNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员1健康状况<font face="宋体">*</font></div>
<input id="OneHealthStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员1工作或学习单位<font face="宋体">*</font></div>
<input id="OneJob" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员1职务<font face="宋体">*</font></div>
<input id="OnePosition" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员2关系<font face="宋体">*</font></div>
<input id="TwoMembership" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员2是否监护人<font face="宋体">*</font></div>
<input id="TwoIsGuardian" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员2出生年月<font face="宋体">*</font></div>
<input id="TwoBirthday" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员2身份证件类型<font face="宋体">*</font></div>
<input id="TwoIdCardType" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员2身份证件号<font face="宋体">*</font></div>
<input id="TwoIdCardNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员2民族<font face="宋体">*</font></div>
<input id="TwoNationalityNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员2政治面貌<font face="宋体">*</font></div>
<input id="TwoPartyFaceNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员2健康状况<font face="宋体">*</font></div>
<input id="TwoHealthStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员2工作或学习单位<font face="宋体">*</font></div>
<input id="TwoJob" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员2职务<font face="宋体">*</font></div>
<input id="TwoPosition" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">省编学号<font face="宋体">*</font></div>
<input id="ProvinceCode" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">监护人<font face="宋体">*</font></div>
<input id="Guardian" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">监护人联系方式<font face="宋体">*</font></div>
<input id="GuardianPhone" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">监护人类型<font face="宋体">*</font></div>
<input id="GuardianType" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">是否单亲<font face="宋体">*</font></div>
<input id="IsSingle" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">留守<font face="宋体">*</font></div>
<input id="IsLeft" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">残疾<font face="宋体">*</font></div>
<input id="IsDisability" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">走读<font face="宋体">*</font></div>
<input id="IsRunSchool" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">困难<font face="宋体">*</font></div>
<input id="IsDdifficulty" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">五年一贯制<font face="宋体">*</font></div>
<input id="FiveYear" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">实习状态<font face="宋体">*</font></div>
<input id="InternshipStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">是否复读<font face="宋体">*</font></div>
<input id="IsRestudy" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">专业方向拼音全称<font face="宋体">*</font></div>
<input id="MajorDetailSpell" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员1名字<font face="宋体">*</font></div>
<input id="OneName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员2名称<font face="宋体">*</font></div>
<input id="TwoName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">其他联系方式<font face="宋体">*</font></div>
<input id="OtherContact" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员1联系电话<font face="宋体">*</font></div>
<input id="OneMobile" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">成员二联系电话<font face="宋体">*</font></div>
<input id="TwoMobile" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">ReturnBooksStatus<font face="宋体">*</font></div>
<input id="ReturnBooksStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">ReturnBooksDate<font face="宋体">*</font></div>
<input id="ReturnBooksDate" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">EmployAgreeStatus<font face="宋体">*</font></div>
<input id="EmployAgreeStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">EmployAgreeDate<font face="宋体">*</font></div>
<input id="EmployAgreeDate" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">FeeSettleStatus<font face="宋体">*</font></div>
<input id="FeeSettleStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">FeeSettleDate<font face="宋体">*</font></div>
<input id="FeeSettleDate" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">CheckOutStatus<font face="宋体">*</font></div>
<input id="CheckOutStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">CheckOutDate<font face="宋体">*</font></div>
<input id="CheckOutDate" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">CardDeregistrateStatus<font face="宋体">*</font></div>
<input id="CardDeregistrateStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">CardDeregistrateDate<font face="宋体">*</font></div>
<input id="CardDeregistrateDate" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">DiplomaReceiveStatus<font face="宋体">*</font></div>
<input id="DiplomaReceiveStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">DiplomaReceiveDate<font face="宋体">*</font></div>
<input id="DiplomaReceiveDate" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">FileTransferStatus<font face="宋体">*</font></div>
<input id="FileTransferStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">FileTransferDate<font face="宋体">*</font></div>
<input id="FileTransferDate" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">组织转出状态<font face="宋体">*</font></div>
<input id="TissueStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">组织转出时间<font face="宋体">*</font></div>
<input id="TissueDate" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">DiplomaReceiveSign<font face="宋体">*</font></div>
<input id="DiplomaReceiveSign" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">DiplomaReceiveIdcard<font face="宋体">*</font></div>
<input id="DiplomaReceiveIdcard" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">DiplomaReceiveRemark<font face="宋体">*</font></div>
<input id="DiplomaReceiveRemark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
</div>
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/StuInfoBasicTran/Form.js")

+ 38
- 0
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();
}

+ 39
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTran/Index.cshtml 查看文件

@@ -0,0 +1,39 @@
@{
ViewBag.Title = "学生学籍异动记录表";
Layout = "~/Views/Shared/_Index.cshtml";
}
<div class="lr-layout lr-layout-left-center" id="lr_layout">
<div class="lr-layout-left">
<div class="lr-layout-wrap">
<div class="lr-layout-title">树形目录</div>
<div id="tree" class="lr-layout-body"></div>
</div>
</div>
<div class="lr-layout-center">
<div class="lr-layout-wrap">
<div class="lr-layout-title">标题</div>
<div class="lr-layout-tool">
<div class="lr-layout-tool-left">
<div class="lr-layout-tool-item">
<input id="txt_Keyword" type="text" class="form-control" placeholder="请输入要查询关键字" />
</div>
<div class="lr-layout-tool-item">
<a id="btn_Search" class="btn btn-primary btn-sm"><i class="fa fa-search"></i>&nbsp;查询</a>
</div>
</div>
<div class="lr-layout-tool-right">
<div class=" btn-group btn-group-sm">
<a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a>
</div>
<div class=" btn-group btn-group-sm" learun-authorize="yes">
<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;新增</a>
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;编辑</a>
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
</div>
</div>
</div>
<div class="lr-layout-body" id="gridtable"></div>
</div>
</div>
</div>
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/StuInfoBasicTran/Index.js")

+ 262
- 0
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();
}

+ 29
- 0
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
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2023-01-06 11:59
/// 描 述:学生学籍异动记录表
/// </summary>
public class StuInfoBasicTranMap : EntityTypeConfiguration<StuInfoBasicTranEntity>
{
public StuInfoBasicTranMap()
{
#region 表、主键
//表
this.ToTable("STUINFOBASICTRAN");
//主键
this.HasKey(t => t.StuId);
#endregion

#region 配置关系
#endregion
}
}
}


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Learun.Application.Mapping.csproj 查看文件

@@ -651,6 +651,7 @@
<Compile Include="EducationalAdministration\CompetitionManagementMap.cs" />
<Compile Include="EducationalAdministration\CompetitionScoreMap.cs" />
<Compile Include="EducationalAdministration\StuTransferInfoMap.cs" />
<Compile Include="EducationalAdministration\StuInfoBasicTranMap.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Learun.Application.Organization\Learun.Application.Organization.csproj">


+ 148
- 0
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
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2023-01-06 11:59
/// 描 述:学生学籍异动记录表
/// </summary>
public class StuInfoBasicTranBLL : StuInfoBasicTranIBLL
{
private StuInfoBasicTranService stuInfoBasicTranService = new StuInfoBasicTranService();

#region 获取数据

/// <summary>
/// 获取列表数据
/// </summary>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
public IEnumerable<StuInfoBasicTranEntity> GetList( string queryJson )
{
try
{
return stuInfoBasicTranService.GetList(queryJson);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}

/// <summary>
/// 获取列表分页数据
/// </summary>
/// <param name="pagination">分页参数</param>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
public IEnumerable<StuInfoBasicTranEntity> GetPageList(Pagination pagination, string queryJson)
{
try
{
return stuInfoBasicTranService.GetPageList(pagination, queryJson);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}

/// <summary>
/// 获取实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
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 提交数据

/// <summary>
/// 删除实体数据
/// </summary>
/// <param name="keyValue">主键</param>
public void DeleteEntity(string keyValue)
{
try
{
stuInfoBasicTranService.DeleteEntity(keyValue);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}

/// <summary>
/// 保存实体数据(新增、修改)
/// </summary>
/// <param name="keyValue">主键</param>
/// <param name="entity">实体</param>
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

}
}

+ 1097
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasicTran/StuInfoBasicTranEntity.cs
文件差异内容过多而无法显示
查看文件


+ 55
- 0
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
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2023-01-06 11:59
/// 描 述:学生学籍异动记录表
/// </summary>
public interface StuInfoBasicTranIBLL
{
#region 获取数据

/// <summary>
/// 获取列表数据
/// </summary>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
IEnumerable<StuInfoBasicTranEntity> GetList( string queryJson );
/// <summary>
/// 获取列表分页数据
/// </summary>
/// <param name="pagination">分页参数</param>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
IEnumerable<StuInfoBasicTranEntity> GetPageList(Pagination pagination, string queryJson);
/// <summary>
/// 获取实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
StuInfoBasicTranEntity GetEntity(string keyValue);
#endregion

#region 提交数据

/// <summary>
/// 删除实体数据
/// </summary>
/// <param name="keyValue">主键</param>
void DeleteEntity(string keyValue);
/// <summary>
/// 保存实体数据(新增、修改)
/// </summary>
/// <param name="keyValue">主键</param>
/// <param name="entity">实体</param>
void SaveEntity(string keyValue, StuInfoBasicTranEntity entity);
#endregion

}
}

+ 171
- 0
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
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2023-01-06 11:59
/// 描 述:学生学籍异动记录表
/// </summary>
public class StuInfoBasicTranService : RepositoryFactory
{
#region 获取数据

/// <summary>
/// 获取列表数据
/// </summary>
/// <param name="queryJson">条件参数</param>
/// <returns></returns>
public IEnumerable<StuInfoBasicTranEntity> 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<StuInfoBasicTranEntity>(strSql.ToString());
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

/// <summary>
/// 获取列表分页数据
/// </summary>
/// <param name="pagination">分页参数</param>
/// <param name="queryJson">条件参数</param>
/// <returns></returns>
public IEnumerable<StuInfoBasicTranEntity> 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<StuInfoBasicTranEntity>(strSql.ToString(), pagination);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

/// <summary>
/// 获取实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
public StuInfoBasicTranEntity GetEntity(string keyValue)
{
try
{
return this.BaseRepository("CollegeMIS").FindEntity<StuInfoBasicTranEntity>(keyValue);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

#endregion

#region 提交数据

/// <summary>
/// 删除实体数据
/// </summary>
/// <param name="keyValue">主键</param>
public void DeleteEntity(string keyValue)
{
try
{
this.BaseRepository("CollegeMIS").Delete<StuInfoBasicTranEntity>(t=>t.Id == keyValue);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

/// <summary>
/// 保存实体数据(新增、修改)
/// <param name="keyValue">主键</param>
/// <param name="entity">实体</param>
/// </summary>
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

}
}

正在加载...
取消
保存