@@ -149,6 +149,19 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers | |||||
return Success("操作成功!"); | return Success("操作成功!"); | ||||
} | } | ||||
/// <summary> | |||||
/// 复学 | |||||
/// <param name="keyValue">主键</param> | |||||
/// <summary> | |||||
/// <returns></returns> | |||||
[HttpPost] | |||||
[AjaxOnly] | |||||
public ActionResult DoGoBack(string keyValue) | |||||
{ | |||||
stuInfoBasicChangeIBLL.DoGoBack(keyValue); | |||||
return Success("操作成功!"); | |||||
} | |||||
#endregion | #endregion | ||||
} | } | ||||
@@ -15,8 +15,16 @@ var bootstrap = function ($, learun) { | |||||
page.initData(); | page.initData(); | ||||
}, | }, | ||||
bind: function () { | bind: function () { | ||||
$('#StuChangeType').lrDataItemSelect({ | |||||
code: 'StuChangeType', select: function (item) { | |||||
//$('#StuChangeType').lrDataItemSelect({ | |||||
// code: 'StuChangeType', | |||||
// select: function (item) { | |||||
// console.log(item); | |||||
// } | |||||
//}); | |||||
//异动类型下拉不显示复学、学籍关键信息更改、转入/进、; | |||||
$('#StuChangeType').lrselect({ | |||||
data: [{ text: '留级', id: '01' }, { text: '转出/校', id: '02' }, { text: '退学', id: '05' }, { text: '休学', id: '06' }, { text: '转班', id: '07' }, { text: '转专业', id: '08' }], | |||||
select: function (item) { | |||||
if (item != null && item != undefined) { | if (item != null && item != undefined) { | ||||
var StuNo = $('#StuNo').val(); | var StuNo = $('#StuNo').val(); | ||||
if (!StuNo) { | if (!StuNo) { | ||||
@@ -59,25 +67,6 @@ var bootstrap = function ($, learun) { | |||||
$('#OutSchool').attr("checkexpession", "NotNull"); | $('#OutSchool').attr("checkexpession", "NotNull"); | ||||
$("#OutSchool").siblings('div').html($("#OutSchool").siblings('div').attr('data-title') + '<font face="宋体">*</font>'); | $("#OutSchool").siblings('div').html($("#OutSchool").siblings('div').attr('data-title') + '<font face="宋体">*</font>'); | ||||
$(".NewSchool").show(); | $(".NewSchool").show(); | ||||
} else if (item.id === "03") { //复学 | |||||
$("#NewDeptNo").lrselectSet($("#DeptNo").lrselectGet()); | |||||
var timer2 = setInterval(function () { | |||||
if ($("#NewDeptNo").lrselectGet()) { | |||||
$("#NewMajorNo").lrselectSet($("#MajorNo").lrselectGet()); | |||||
console.log("系部赋值后,在赋值专业:" + $("#NewMajorNo").lrselectGet()); | |||||
clearInterval(timer2); | |||||
} | |||||
}, 1000); | |||||
var timer3 = setInterval(function () { | |||||
if ($("#NewMajorNo").lrselectGet()) { | |||||
$("#NewClassNo").lrselectSet($("#ClassNo").lrselectGet()); | |||||
clearInterval(timer3); | |||||
} | |||||
}, 1000); | |||||
} else if (item.id === "04") { //转入/进 | |||||
learun.alert.warning("异动转进请点击学籍信息管理-异动转入按钮!"); | |||||
$("#StuNo").val(""); | |||||
$("#StuName").val(""); | |||||
} | } | ||||
else if (item.id === "05" || item.id === "06") { //退学、休学、 | else if (item.id === "05" || item.id === "06") { //退学、休学、 | ||||
$(".NewContainer").find('.contentDiv').removeAttr("isvalid"); | $(".NewContainer").find('.contentDiv').removeAttr("isvalid"); | ||||
@@ -213,13 +202,8 @@ var bootstrap = function ($, learun) { | |||||
$('#OutSchool').attr("checkexpession", "NotNull"); | $('#OutSchool').attr("checkexpession", "NotNull"); | ||||
$("#OutSchool").siblings('div').html($("#OutSchool").siblings('div').attr('data-title') + '<font face="宋体">*</font>'); | $("#OutSchool").siblings('div').html($("#OutSchool").siblings('div').attr('data-title') + '<font face="宋体">*</font>'); | ||||
$(".NewSchool").show(); | $(".NewSchool").show(); | ||||
} else if (data[id].StuChangeType == "03") { //复学 | |||||
$(".NewContainer").find('.contentDiv').removeAttr('readonly'); | |||||
} else if (data[id].StuChangeType == "04") { //转入/进 | |||||
learun.alert.warning("异动转进请点击学籍信息管理-异动转入按钮!"); | |||||
$("#StuNo").val(""); | |||||
$("#StuName").val(""); | |||||
} else if (data[id].StuChangeType == "05" || data[id].StuChangeType == "06") { //退学、休学、 | |||||
} | |||||
else if (data[id].StuChangeType == "05" || data[id].StuChangeType == "06") { //退学、休学、 | |||||
$(".NewContainer").find('.contentDiv').removeAttr("isvalid"); | $(".NewContainer").find('.contentDiv').removeAttr("isvalid"); | ||||
$(".NewContainer").find('.contentDiv').removeAttr("checkexpession"); | $(".NewContainer").find('.contentDiv').removeAttr("checkexpession"); | ||||
$(".NewContainer").find('.contentDiv').removeAttr('readonly'); | $(".NewContainer").find('.contentDiv').removeAttr('readonly'); | ||||
@@ -29,6 +29,9 @@ | |||||
<a id="lr_check" class="btn btn-default"><i class="fa fa-lock"></i> 审核</a> | <a id="lr_check" class="btn btn-default"><i class="fa fa-lock"></i> 审核</a> | ||||
<a id="lr_uncheck" class="btn btn-default"><i class="fa fa-unlock"></i> 去审核</a> | <a id="lr_uncheck" class="btn btn-default"><i class="fa fa-unlock"></i> 去审核</a> | ||||
</div> | </div> | ||||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||||
<a id="lr_goback" class="btn btn-default"><i class="fa fa-plus"></i> 复学</a> | |||||
</div> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
<div class="lr-layout-body" id="gridtable"></div> | <div class="lr-layout-body" id="gridtable"></div> | ||||
@@ -99,6 +99,11 @@ var bootstrap = function ($, learun) { | |||||
learun.alert.warning("当前项目未审核无法去审!"); | learun.alert.warning("当前项目未审核无法去审!"); | ||||
return; | return; | ||||
} | } | ||||
var GoBackStatus = $('#gridtable').jfGridValue('GoBackStatus'); | |||||
if (GoBackStatus == 1) { | |||||
learun.alert.warning("当前休学项已复学,无法去审!"); | |||||
return; | |||||
} | |||||
learun.layerConfirm('是否确认去审核该项!', function (res) { | learun.layerConfirm('是否确认去审核该项!', function (res) { | ||||
if (res) { | if (res) { | ||||
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasicChange/UnCheckForm', { keyValue: keyValue }, function () { | learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasicChange/UnCheckForm', { keyValue: keyValue }, function () { | ||||
@@ -108,10 +113,40 @@ var bootstrap = function ($, learun) { | |||||
}); | }); | ||||
} | } | ||||
}); | }); | ||||
// 复学 | |||||
$('#lr_goback').on('click', function () { | |||||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||||
if (learun.checkrow(keyValue)) { | |||||
//对已审核&休学&未复学 | |||||
var StuChangeType = $('#gridtable').jfGridValue('StuChangeType'); | |||||
if (StuChangeType != "06") { | |||||
learun.alert.warning("当前项异动类型不是休学,无法复学!"); | |||||
return; | |||||
} | |||||
var CheckStatus = $('#gridtable').jfGridValue('CheckStatus'); | |||||
if (CheckStatus != 1) { | |||||
learun.alert.warning("当前休学项未审核,无法复学!"); | |||||
return; | |||||
} | |||||
var GoBackStatus = $('#gridtable').jfGridValue('GoBackStatus'); | |||||
if (GoBackStatus == 1) { | |||||
learun.alert.warning("当前休学项已复学!"); | |||||
return; | |||||
} | |||||
learun.layerConfirm('是否确认复学该项!', function (res) { | |||||
if (res) { | |||||
learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasicChange/DoGoBack', { keyValue: keyValue }, function () { | |||||
refreshGirdData(); | |||||
}); | |||||
} | |||||
}); | |||||
} | |||||
}); | |||||
}, | }, | ||||
// 初始化列表 | // 初始化列表 | ||||
initGird: function () { | initGird: function () { | ||||
$('#gridtable').lrAuthorizeJfGrid({ | |||||
$('#gridtable').jfGrid({ | |||||
url: top.$.rootUrl + '/EducationalAdministration/StuInfoBasicChange/GetPageList', | url: top.$.rootUrl + '/EducationalAdministration/StuInfoBasicChange/GetPageList', | ||||
headData: [ | headData: [ | ||||
{ label: "学号", name: "StuNo", width: 100, align: "left" }, | { label: "学号", name: "StuNo", width: 100, align: "left" }, | ||||
@@ -230,6 +265,14 @@ var bootstrap = function ($, learun) { | |||||
return cellvalue == "1" ? "<span class=\"label label-success\">已审核</span>" : "<span class=\"label label-danger\">未审核</span>"; | return cellvalue == "1" ? "<span class=\"label label-success\">已审核</span>" : "<span class=\"label label-danger\">未审核</span>"; | ||||
} | } | ||||
}, | }, | ||||
{ | |||||
label: "复学状态", name: "GoBackStatus", width: 100, align: "left", | |||||
formatter: function (cellvalue) { | |||||
return cellvalue == "1" ? "<span class=\"label label-success\">已复学</span>" : "<span class=\"label label-default\">未复学</span>"; | |||||
} | |||||
}, | |||||
{ label: "复学时间", name: "GoBackTime", width: 150, align: "left" }, | |||||
], | ], | ||||
mainId: 'Id', | mainId: 'Id', | ||||
isPage: true, | isPage: true, | ||||
@@ -0,0 +1,29 @@ | |||||
using Learun.Application.TwoDevelopment.EducationalAdministration; | |||||
using System.Data.Entity.ModelConfiguration; | |||||
namespace Learun.Application.Mapping | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 | |||||
/// Copyright (c) 2013-2018 北京泉江科技有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2022-10-13 16:53 | |||||
/// 描 述:学生退学 | |||||
/// </summary> | |||||
public class StuInfoDropMap : EntityTypeConfiguration<StuInfoDropEntity> | |||||
{ | |||||
public StuInfoDropMap() | |||||
{ | |||||
#region 表、主键 | |||||
//表 | |||||
this.ToTable("STUINFODROP"); | |||||
//主键 | |||||
this.HasKey(t => t.StuId); | |||||
#endregion | |||||
#region 配置关系 | |||||
#endregion | |||||
} | |||||
} | |||||
} | |||||
@@ -109,6 +109,7 @@ | |||||
<Compile Include="EducationalAdministration\StuDisciplineManagementMap.cs" /> | <Compile Include="EducationalAdministration\StuDisciplineManagementMap.cs" /> | ||||
<Compile Include="EducationalAdministration\StuGrantMap.cs" /> | <Compile Include="EducationalAdministration\StuGrantMap.cs" /> | ||||
<Compile Include="EducationalAdministration\StuInfoBasicChangeMap.cs" /> | <Compile Include="EducationalAdministration\StuInfoBasicChangeMap.cs" /> | ||||
<Compile Include="EducationalAdministration\StuInfoDropMap.cs" /> | |||||
<Compile Include="EducationalAdministration\StuInfoFreshMap.cs" /> | <Compile Include="EducationalAdministration\StuInfoFreshMap.cs" /> | ||||
<Compile Include="EducationalAdministration\StuInfoFreshOnlineServiceMap.cs" /> | <Compile Include="EducationalAdministration\StuInfoFreshOnlineServiceMap.cs" /> | ||||
<Compile Include="EducationalAdministration\StuInfoSemsterMap.cs" /> | <Compile Include="EducationalAdministration\StuInfoSemsterMap.cs" /> | ||||
@@ -1255,32 +1255,13 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
entity.Create(); | entity.Create(); | ||||
if (entity.IsTran == "0")//转入/进 | if (entity.IsTran == "0")//转入/进 | ||||
{ | { | ||||
//学籍异动表 | |||||
//StuInfoBasicChangeEntity stuinfoChange = new StuInfoBasicChangeEntity | |||||
//{ | |||||
// Id = Guid.NewGuid().ToString(), | |||||
// StuNo = entity.StuNo, | |||||
// StuName = entity.StuName, | |||||
// DeptNo = entity.DeptNo, | |||||
// MajorNo = entity.MajorNo, | |||||
// ClassNo = entity.ClassNo, | |||||
// StuChangeRemark = entity.Remark, | |||||
// NewDeptNo = entity.DeptNo, | |||||
// NewMajorNo = entity.MajorNo, | |||||
// NewClassNo = entity.ClassNo, | |||||
// CreateUserId = entity.StuNo, | |||||
// StuChangeType = "04", | |||||
// StuChangeReason = "10", | |||||
// CreateTime = DateTime.Now, | |||||
//}; | |||||
//db.Insert(stuinfoChange); | |||||
//学籍异动日志表 | //学籍异动日志表 | ||||
var changeEntity = new StuInfoBasic_ChangeLogEntity | var changeEntity = new StuInfoBasic_ChangeLogEntity | ||||
{ | { | ||||
StuID = entity.StuId, | StuID = entity.StuId, | ||||
BeforeChange = "", | |||||
AfterChange = "", | |||||
FieldName = "", | |||||
BeforeChange = null, | |||||
AfterChange = entity.StuId, | |||||
FieldName = "学籍表主键", | |||||
UpdateBy = loginUser.userId, | UpdateBy = loginUser.userId, | ||||
UpdateTime = DateTime.Now, | UpdateTime = DateTime.Now, | ||||
StuChangeType = "04", | StuChangeType = "04", | ||||
@@ -166,6 +166,30 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
} | } | ||||
} | } | ||||
/// <summary> | |||||
/// 复学 | |||||
/// <param name="keyValue">主键</param> | |||||
/// <summary> | |||||
/// <returns></returns> | |||||
public void DoGoBack(string keyValue) | |||||
{ | |||||
try | |||||
{ | |||||
stuInfoBasicChangeService.DoGoBack(keyValue); | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
if (ex is ExceptionEx) | |||||
{ | |||||
throw; | |||||
} | |||||
else | |||||
{ | |||||
throw ExceptionEx.ThrowBusinessException(ex); | |||||
} | |||||
} | |||||
} | |||||
#endregion | #endregion | ||||
} | } | ||||
@@ -104,6 +104,21 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
/// </summary> | /// </summary> | ||||
[Column("OUTSCHOOL")] | [Column("OUTSCHOOL")] | ||||
public string OutSchool { get; set; } | public string OutSchool { get; set; } | ||||
/// <summary> | |||||
/// 复学状态(0未复学1已复学) | |||||
/// </summary> | |||||
[Column("GOBACKSTATUS")] | |||||
public int? GoBackStatus { get; set; } | |||||
/// <summary> | |||||
/// 复学时间 | |||||
/// </summary> | |||||
[Column("GOBACKTIME")] | |||||
public DateTime? GoBackTime { get; set; } | |||||
/// <summary> | |||||
/// 退学表Id | |||||
/// </summary> | |||||
[Column("STUIDINDROP")] | |||||
public string StuIdInDrop { get; set; } | |||||
#endregion | #endregion | ||||
#region 扩展操作 | #region 扩展操作 | ||||
@@ -58,6 +58,13 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
/// <returns></returns> | /// <returns></returns> | ||||
void DoUnCheck(string keyValue); | void DoUnCheck(string keyValue); | ||||
/// <summary> | |||||
/// 复学 | |||||
/// <param name="keyValue">主键</param> | |||||
/// <summary> | |||||
/// <returns></returns> | |||||
void DoGoBack(string keyValue); | |||||
#endregion | #endregion | ||||
} | } | ||||
@@ -1,4 +1,5 @@ | |||||
using Dapper; | using Dapper; | ||||
using Learun.Application.Organization; | |||||
using Learun.DataBase.Repository; | using Learun.DataBase.Repository; | ||||
using Learun.Util; | using Learun.Util; | ||||
using System; | using System; | ||||
@@ -147,15 +148,16 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
public void DoCheck(string keyValue) | public void DoCheck(string keyValue) | ||||
{ | { | ||||
var db = this.BaseRepository("CollegeMIS").BeginTrans(); | var db = this.BaseRepository("CollegeMIS").BeginTrans(); | ||||
var dbbase = this.BaseRepository().BeginTrans(); | |||||
try | try | ||||
{ | { | ||||
var loginUserInfo = LoginUserInfo.Get(); | var loginUserInfo = LoginUserInfo.Get(); | ||||
var now = DateTime.Now; | var now = DateTime.Now; | ||||
var logList = new List<StuInfoBasic_ChangeLogEntity>(); | var logList = new List<StuInfoBasic_ChangeLogEntity>(); | ||||
var entity = db.FindEntity<StuInfoBasicChangeEntity>(x => x.Id == keyValue); | |||||
var entity = this.BaseRepository("CollegeMIS").FindEntity<StuInfoBasicChangeEntity>(x => x.Id == keyValue); | |||||
if (entity != null) | if (entity != null) | ||||
{ | { | ||||
var stuInfoBasicEntity = db.FindEntity<StuInfoBasicEntity>(x => x.StuNo == entity.StuNo); | |||||
var stuInfoBasicEntity = this.BaseRepository("CollegeMIS").FindEntity<StuInfoBasicEntity>(x => x.StuNo == entity.StuNo); | |||||
if (stuInfoBasicEntity != null) | if (stuInfoBasicEntity != null) | ||||
{ | { | ||||
//处理数据 | //处理数据 | ||||
@@ -207,12 +209,12 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
} | } | ||||
else if (entity.StuChangeType == "02" || entity.StuChangeType == "05" || entity.StuChangeType == "06") //转校、退学、休学、 | else if (entity.StuChangeType == "02" || entity.StuChangeType == "05" || entity.StuChangeType == "06") //转校、退学、休学、 | ||||
{ | { | ||||
//增加异动日志表:学籍异动状态 | |||||
//增加异动日志表:学籍id被删除 | |||||
var logentity = new StuInfoBasic_ChangeLogEntity() | var logentity = new StuInfoBasic_ChangeLogEntity() | ||||
{ | { | ||||
FieldName = "学籍异动状态", | |||||
BeforeChange = stuInfoBasicEntity.ChangeStatus?.ToString(), | |||||
AfterChange = "1", | |||||
FieldName = "学籍表主键", | |||||
BeforeChange = stuInfoBasicEntity.StuId, | |||||
AfterChange = null, | |||||
UpdateBy = loginUserInfo.userId, | UpdateBy = loginUserInfo.userId, | ||||
UpdateTime = now, | UpdateTime = now, | ||||
StuID = stuInfoBasicEntity.StuId, | StuID = stuInfoBasicEntity.StuId, | ||||
@@ -222,28 +224,19 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
}; | }; | ||||
logentity.Create(); | logentity.Create(); | ||||
logList.Add(logentity); | logList.Add(logentity); | ||||
//改学籍信息(异动状态为1表示不显示成绩); | |||||
db.ExecuteBySql($"update StuInfoBasic set ChangeStatus=1 where StuNo='{entity.StuNo}' "); | |||||
} | |||||
else if (entity.StuChangeType == "03") //复学 | |||||
{ | |||||
//增加异动日志表:学籍异动状态 | |||||
var logentity = new StuInfoBasic_ChangeLogEntity() | |||||
//增加退学表 | |||||
db.ExecuteBySql($"insert into StuInfoDrop select * from StuInfoBasic where StuId='{stuInfoBasicEntity.StuId}' "); | |||||
//修改异动表:退学表id | |||||
entity.StuIdInDrop = stuInfoBasicEntity.StuId; | |||||
//删除学籍表 | |||||
db.ExecuteBySql($"delete from StuInfoBasic where StuId='{stuInfoBasicEntity.StuId}' "); | |||||
//删除账户表 | |||||
var userEntity = this.BaseRepository().FindEntity<UserEntity>(x => x.F_Account == stuInfoBasicEntity.StuNo); | |||||
if (userEntity != null) | |||||
{ | { | ||||
FieldName = "学籍异动状态", | |||||
BeforeChange = stuInfoBasicEntity.ChangeStatus?.ToString(), | |||||
AfterChange = "0", | |||||
UpdateBy = loginUserInfo.userId, | |||||
UpdateTime = now, | |||||
StuID = stuInfoBasicEntity.StuId, | |||||
StuChangeType = entity.StuChangeType, | |||||
StuChangeRemark = entity.StuChangeRemark, | |||||
StuChangeId = entity.Id | |||||
}; | |||||
logentity.Create(); | |||||
logList.Add(logentity); | |||||
//改学籍信息(异动状态为0表示显示成绩); | |||||
db.ExecuteBySql($"update StuInfoBasic set ChangeStatus=null where StuNo='{entity.StuNo}' "); | |||||
dbbase.Delete(userEntity); | |||||
} | |||||
} | } | ||||
else if (entity.StuChangeType == "08") //转专业、 | else if (entity.StuChangeType == "08") //转专业、 | ||||
{ | { | ||||
@@ -350,6 +343,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
} | } | ||||
} | } | ||||
} | } | ||||
db.Insert(logList); | db.Insert(logList); | ||||
//修改异动表:审批状态、审批人、 | //修改异动表:审批状态、审批人、 | ||||
@@ -360,10 +354,12 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
} | } | ||||
} | } | ||||
db.Commit(); | db.Commit(); | ||||
dbbase.Commit(); | |||||
} | } | ||||
catch (Exception ex) | catch (Exception ex) | ||||
{ | { | ||||
db.Rollback(); | db.Rollback(); | ||||
dbbase.Rollback(); | |||||
if (ex is ExceptionEx) | if (ex is ExceptionEx) | ||||
{ | { | ||||
throw; | throw; | ||||
@@ -400,17 +396,16 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
} | } | ||||
else if (entity.StuChangeType == "02" || entity.StuChangeType == "05" || entity.StuChangeType == "06") //转校、退学、休学 | else if (entity.StuChangeType == "02" || entity.StuChangeType == "05" || entity.StuChangeType == "06") //转校、退学、休学 | ||||
{ | { | ||||
//改学籍信息(异动状态为null表示显示成绩); | |||||
db.ExecuteBySql($"update StuInfoBasic set ChangeStatus=null where StuNo='{entity.StuNo}' "); | |||||
} | |||||
else if (entity.StuChangeType == "03") //复学 | |||||
{ | |||||
//改学籍信息(异动状态为1表示不显示成绩); | |||||
db.ExecuteBySql($"update StuInfoBasic set ChangeStatus=1 where StuNo='{entity.StuNo}' "); | |||||
} | |||||
//增加学籍表 | |||||
db.ExecuteBySql($"insert into StuInfoBasic select * from StuInfoDrop where StuId='{entity.StuIdInDrop}' "); | |||||
//删除退学表 | |||||
db.ExecuteBySql($"delete from StuInfoDrop where StuId='{entity.StuIdInDrop}' "); | |||||
//修改异动表:退学表id 为空 | |||||
} | |||||
//修改异动表:审批状态、审批人、 | //修改异动表:审批状态、审批人、 | ||||
db.ExecuteBySql("update StuInfoBasicChange set CheckTime=null,CheckUserId=null,CheckStatus=0 where Id='" + keyValue + "' "); | |||||
db.ExecuteBySql($"update StuInfoBasicChange set CheckTime=null,CheckUserId=null,CheckStatus=0,StuIdInDrop=null where Id='" + keyValue + "' "); | |||||
//删除异动日志表:学籍异动主键id | //删除异动日志表:学籍异动主键id | ||||
db.ExecuteBySql("delete from StuInfoBasic_ChangeLog where StuChangeId='" + keyValue + "' "); | db.ExecuteBySql("delete from StuInfoBasic_ChangeLog where StuChangeId='" + keyValue + "' "); | ||||
@@ -430,6 +425,71 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
} | } | ||||
} | } | ||||
} | } | ||||
/// <summary> | |||||
/// 复学 | |||||
/// <param name="keyValue">主键</param> | |||||
/// <summary> | |||||
/// <returns></returns> | |||||
public void DoGoBack(string keyValue) | |||||
{ | |||||
var db = this.BaseRepository("CollegeMIS").BeginTrans(); | |||||
try | |||||
{ | |||||
var loginUserInfo = LoginUserInfo.Get(); | |||||
var now = DateTime.Now; | |||||
var logList = new List<StuInfoBasic_ChangeLogEntity>(); | |||||
var entity = this.BaseRepository("CollegeMIS").FindEntity<StuInfoBasicChangeEntity>(x => x.Id == keyValue); | |||||
if (entity != null) | |||||
{ | |||||
var stuInfoDropEntity = this.BaseRepository("CollegeMIS").FindEntity<StuInfoDropEntity>(x => x.StuId == entity.StuIdInDrop); | |||||
if (stuInfoDropEntity != null) | |||||
{ | |||||
//增加异动日志表:学籍id增加 | |||||
var logentity = new StuInfoBasic_ChangeLogEntity() | |||||
{ | |||||
FieldName = "学籍表主键", | |||||
BeforeChange = null, | |||||
AfterChange = stuInfoDropEntity.StuId, | |||||
UpdateBy = loginUserInfo.userId, | |||||
UpdateTime = now, | |||||
StuID = stuInfoDropEntity.StuId, | |||||
StuChangeType = "03", | |||||
StuChangeRemark = "复学", | |||||
StuChangeId = entity.Id | |||||
}; | |||||
logentity.Create(); | |||||
logList.Add(logentity); | |||||
//增加学籍表 | |||||
db.ExecuteBySql($"insert into StuInfoBasic select * from StuInfoDrop where StuId='{entity.StuIdInDrop}' "); | |||||
//删除退学表 | |||||
db.ExecuteBySql($"delete from StuInfoDrop where StuId='{entity.StuIdInDrop}' "); | |||||
//修改异动表:复学状态、复学时间、 | |||||
entity.GoBackStatus = 1; | |||||
entity.GoBackTime = now; | |||||
db.Update(entity); | |||||
db.Insert(logList); | |||||
} | |||||
} | |||||
db.Commit(); | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
db.Rollback(); | |||||
if (ex is ExceptionEx) | |||||
{ | |||||
throw; | |||||
} | |||||
else | |||||
{ | |||||
throw ExceptionEx.ThrowBusinessException(ex); | |||||
} | |||||
} | |||||
} | |||||
#endregion | #endregion | ||||
} | } | ||||
@@ -0,0 +1,942 @@ | |||||
using Learun.Util; | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.ComponentModel.DataAnnotations.Schema; | |||||
namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 | |||||
/// Copyright (c) 2013-2018 北京泉江科技有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2022-10-13 16:53 | |||||
/// 描 述:学生退学 | |||||
/// </summary> | |||||
public class StuInfoDropEntity | |||||
{ | |||||
#region 实体成员 | |||||
/// <summary> | |||||
/// 学校编号 | |||||
/// </summary> | |||||
[Column("F_SCHOOLID")] | |||||
public string F_SchoolId { get; set; } | |||||
/// <summary> | |||||
/// 学号 | |||||
/// </summary> | |||||
[Column("STUNO")] | |||||
public string StuNo { get; set; } | |||||
/// <summary> | |||||
/// 学籍号 | |||||
/// </summary> | |||||
[Column("STUCODE")] | |||||
public string StuCode { get; set; } | |||||
/// <summary> | |||||
/// 通知书号 | |||||
/// </summary> | |||||
[Column("NOTICENO")] | |||||
public string NoticeNo { get; set; } | |||||
/// <summary> | |||||
/// GraduateYear | |||||
/// </summary> | |||||
[Column("GRADUATEYEAR")] | |||||
public string GraduateYear { get; set; } | |||||
/// <summary> | |||||
/// 考生号 | |||||
/// </summary> | |||||
[Column("KSH")] | |||||
public string ksh { get; set; } | |||||
/// <summary> | |||||
/// 系所代码 | |||||
/// </summary> | |||||
[Column("DEPTNO")] | |||||
public string DeptNo { get; set; } | |||||
/// <summary> | |||||
/// 专业代码 | |||||
/// </summary> | |||||
[Column("MAJORNO")] | |||||
public string MajorNo { get; set; } | |||||
/// <summary> | |||||
/// 专业方向号(如0,1,2,3,4,5) | |||||
///代表无专业方向细分 | |||||
/// </summary> | |||||
[Column("MAJORDETAILNO")] | |||||
public string MajorDetailNo { get; set; } | |||||
/// <summary> | |||||
/// 专业方向名 | |||||
/// </summary> | |||||
[Column("MAJORDETAILNAME")] | |||||
public string MajorDetailName { get; set; } | |||||
/// <summary> | |||||
/// 专业拼音全称 | |||||
/// </summary> | |||||
[Column("MAJORDETAILSPELL")] | |||||
public string MajorDetailSpell { get; set; } | |||||
/// <summary> | |||||
/// 年级 | |||||
/// </summary> | |||||
[Column("GRADE")] | |||||
public string Grade { get; set; } | |||||
/// <summary> | |||||
/// 行政班号 | |||||
/// </summary> | |||||
[Column("CLASSNO")] | |||||
public string ClassNo { get; set; } | |||||
/// <summary> | |||||
/// 姓名 | |||||
/// </summary> | |||||
[Column("STUNAME")] | |||||
public string StuName { get; set; } | |||||
/// <summary> | |||||
/// 拼音全称 | |||||
/// </summary> | |||||
[Column("SPELLFULL")] | |||||
public string SpellFull { get; set; } | |||||
/// <summary> | |||||
/// 拼音简称 | |||||
/// </summary> | |||||
[Column("SPELLBRIEF")] | |||||
public string SpellBrief { get; set; } | |||||
/// <summary> | |||||
/// 性别码 | |||||
/// </summary> | |||||
[Column("GENDERNO")] | |||||
public bool? GenderNo { get; set; } | |||||
/// <summary> | |||||
/// 出生日期 | |||||
/// </summary> | |||||
[Column("BIRTHDAY")] | |||||
public DateTime? Birthday { get; set; } | |||||
/// <summary> | |||||
/// 政治面貌码 | |||||
/// </summary> | |||||
[Column("PARTYFACENO")] | |||||
public string PartyFaceNo { get; set; } | |||||
/// <summary> | |||||
/// 家庭出身份 | |||||
/// </summary> | |||||
[Column("FAMILYORIGINNO")] | |||||
public string FamilyOriginNo { get; set; } | |||||
/// <summary> | |||||
/// 民族码 | |||||
/// </summary> | |||||
[Column("NATIONALITYNO")] | |||||
public string NationalityNo { get; set; } | |||||
/// <summary> | |||||
/// 籍贯省代码 废除 | |||||
/// </summary> | |||||
[Column("PROVINCENO")] | |||||
public string ProvinceNo { get; set; } | |||||
/// <summary> | |||||
/// 籍贯省代码代码 | |||||
/// </summary> | |||||
[Column("F_PROVINCEID")] | |||||
public string F_ProvinceId { get; set; } | |||||
/// <summary> | |||||
/// 籍贯市代码 | |||||
/// </summary> | |||||
[Column("F_CITYID")] | |||||
public string F_CityId { get; set; } | |||||
/// <summary> | |||||
/// 籍贯县代码 | |||||
/// </summary> | |||||
[Column("F_COUNTYID")] | |||||
public string F_CountyId { get; set; } | |||||
/// <summary> | |||||
/// 籍贯 | |||||
/// </summary> | |||||
[Column("REGIONNO")] | |||||
public string RegionNo { get; set; } | |||||
/// <summary> | |||||
/// 农业户口(是否农户) | |||||
/// </summary> | |||||
[Column("RESIDENCENO")] | |||||
public string ResidenceNo { get; set; } | |||||
/// <summary> | |||||
/// 考生类别 | |||||
/// </summary> | |||||
[Column("TESTSTUSORTNO")] | |||||
public string TestStuSortNo { get; set; } | |||||
/// <summary> | |||||
/// 健康状况 | |||||
/// </summary> | |||||
[Column("HEALTHSTATUSNO")] | |||||
public string HealthStatusNo { get; set; } | |||||
/// <summary> | |||||
/// 第几志愿 | |||||
/// </summary> | |||||
[Column("WILLNO")] | |||||
public string WillNo { get; set; } | |||||
/// <summary> | |||||
/// TestStuSubjectNo | |||||
/// </summary> | |||||
[Column("TESTSTUSUBJECTNO")] | |||||
public string TestStuSubjectNo { get; set; } | |||||
/// <summary> | |||||
/// 本专科 | |||||
/// </summary> | |||||
[Column("GRADUATENO")] | |||||
public string GraduateNo { get; set; } | |||||
/// <summary> | |||||
/// 计划形式 | |||||
/// </summary> | |||||
[Column("PLANFORMNO")] | |||||
public string PlanFormNo { get; set; } | |||||
/// <summary> | |||||
/// 三好 | |||||
/// </summary> | |||||
[Column("ISTHREEGOOD")] | |||||
public string IsThreeGood { get; set; } | |||||
/// <summary> | |||||
/// 优干 | |||||
/// </summary> | |||||
[Column("ISEXCELLENT")] | |||||
public string IsExcellent { get; set; } | |||||
/// <summary> | |||||
/// 一般学生干部 | |||||
/// </summary> | |||||
[Column("ISNORMALCADRE")] | |||||
public string IsNormalCadre { get; set; } | |||||
/// <summary> | |||||
/// 省市前三 | |||||
/// </summary> | |||||
[Column("ISPROVINCEFIRSTTHREE")] | |||||
public string IsProvinceFirstThree { get; set; } | |||||
/// <summary> | |||||
/// 港澳台侨 | |||||
/// </summary> | |||||
[Column("OVERSEASCHINESENO")] | |||||
public string OverseasChineseNo { get; set; } | |||||
/// <summary> | |||||
/// 录取类别 | |||||
/// </summary> | |||||
[Column("MATRICULATESORT")] | |||||
public string MatriculateSort { get; set; } | |||||
/// <summary> | |||||
/// 来源地区码 | |||||
/// </summary> | |||||
[Column("COMEPROVINCENO")] | |||||
public string ComeProvinceNo { get; set; } | |||||
/// <summary> | |||||
/// 原单位码 | |||||
/// </summary> | |||||
[Column("HIGHSCHOOLNO")] | |||||
public string HighSchoolNo { get; set; } | |||||
/// <summary> | |||||
/// 原单位 | |||||
/// </summary> | |||||
[Column("HIGHSCHOOLNAME")] | |||||
public string HighSchoolName { get; set; } | |||||
/// <summary> | |||||
/// 入学年月 | |||||
/// </summary> | |||||
[Column("ENTRANCEDATE")] | |||||
public DateTime? EntranceDate { get; set; } | |||||
/// <summary> | |||||
/// 宗教 | |||||
/// </summary> | |||||
[Column("RELIGION")] | |||||
public string Religion { get; set; } | |||||
/// <summary> | |||||
/// 特长 | |||||
/// </summary> | |||||
[Column("GOODAT")] | |||||
public string GoodAt { get; set; } | |||||
/// <summary> | |||||
/// 身份证号 | |||||
/// </summary> | |||||
[Column("IDENTITYCARDNO")] | |||||
public string IdentityCardNo { get; set; } | |||||
/// <summary> | |||||
/// 入党时间 | |||||
/// </summary> | |||||
[Column("JOINPARTYDATE")] | |||||
public DateTime? JoinPartyDate { get; set; } | |||||
/// <summary> | |||||
/// 入团时间 | |||||
///团员league | |||||
/// </summary> | |||||
[Column("JOINLEAGUEDATE")] | |||||
public DateTime? JoinLeagueDate { get; set; } | |||||
/// <summary> | |||||
/// 校内地址 | |||||
/// </summary> | |||||
[Column("INSCHOOLADDRESS")] | |||||
public string InSchoolAddress { get; set; } | |||||
/// <summary> | |||||
/// 校内电话 | |||||
/// </summary> | |||||
[Column("INSCHOOLTELEPHONE")] | |||||
public string InSchoolTelephone { get; set; } | |||||
/// <summary> | |||||
/// 当前异动类别 | |||||
/// </summary> | |||||
[Column("ABMORMITYMOVEMARK")] | |||||
public string AbmormityMoveMark { get; set; } | |||||
/// <summary> | |||||
/// 奖励标志 | |||||
/// </summary> | |||||
[Column("AWARDMARK")] | |||||
public string AwardMark { get; set; } | |||||
/// <summary> | |||||
/// 处分标志 | |||||
/// </summary> | |||||
[Column("PUNISHMARK")] | |||||
public string PunishMark { get; set; } | |||||
/// <summary> | |||||
/// 联系人标志 | |||||
/// </summary> | |||||
[Column("LINKMANMARK")] | |||||
public string LinkmanMark { get; set; } | |||||
/// <summary> | |||||
/// 学号异动标志 | |||||
/// </summary> | |||||
[Column("STUNOCHANGEMARK")] | |||||
public string StuNoChangeMark { get; set; } | |||||
/// <summary> | |||||
/// 毕业标志(0待准许,1准许毕业,2已毕业,) | |||||
/// </summary> | |||||
[Column("FINISHSCHOOLMARK")] | |||||
public string FinishSchoolMark { get; set; } | |||||
/// <summary> | |||||
/// 当前注册标志 | |||||
/// </summary> | |||||
[Column("CURRENTREGISTERMARK")] | |||||
public string CurrentRegisterMark { get; set; } | |||||
/// <summary> | |||||
/// 毕业年月 | |||||
/// </summary> | |||||
[Column("FINISHSCHOOLDATE")] | |||||
public DateTime? FinishSchoolDate { get; set; } | |||||
/// <summary> | |||||
/// 毕业证书号 | |||||
/// </summary> | |||||
[Column("DIPLOMANO")] | |||||
public string DiplomaNo { get; set; } | |||||
/// <summary> | |||||
/// 毕业证书备注 | |||||
/// </summary> | |||||
[Column("DIPLOMAREMARK")] | |||||
public string DiplomaRemark { get; set; } | |||||
/// <summary> | |||||
/// 备注 | |||||
/// </summary> | |||||
[Column("REMARK")] | |||||
public string Remark { get; set; } | |||||
/// <summary> | |||||
/// 报到日期 | |||||
/// </summary> | |||||
[Column("REGISTERDATE")] | |||||
public DateTime? RegisterDate { get; set; } | |||||
/// <summary> | |||||
/// Photo | |||||
/// </summary> | |||||
[Column("PHOTO")] | |||||
public string Photo { get; set; } | |||||
/// <summary> | |||||
/// TeachPlanNo | |||||
/// </summary> | |||||
[Column("TEACHPLANNO")] | |||||
public string TeachPlanNo { get; set; } | |||||
/// <summary> | |||||
/// 审查标志 | |||||
/// </summary> | |||||
[Column("CHECKMARK")] | |||||
public string CheckMark { get; set; } | |||||
/// <summary> | |||||
/// 联系电话(手机) | |||||
/// </summary> | |||||
[Column("MOBILE")] | |||||
public string mobile { get; set; } | |||||
/// <summary> | |||||
/// 电子邮件地址 | |||||
/// </summary> | |||||
[Column("EMAIL")] | |||||
public string EMail { get; set; } | |||||
/// <summary> | |||||
/// </summary> | |||||
[Column("QQ")] | |||||
public string QQ { get; set; } | |||||
/// <summary> | |||||
/// 户口所在地 | |||||
/// </summary> | |||||
[Column("FATHERUNIT")] | |||||
public string FatherUnit { get; set; } | |||||
/// <summary> | |||||
/// 父亲姓名 | |||||
/// </summary> | |||||
[Column("FATHERNAME")] | |||||
public string FatherName { get; set; } | |||||
/// <summary> | |||||
/// 父亲电话 | |||||
/// </summary> | |||||
[Column("FATHERPHONE")] | |||||
public string FatherPhone { get; set; } | |||||
/// <summary> | |||||
/// 母亲姓名 | |||||
/// </summary> | |||||
[Column("MATHERNAME")] | |||||
public string MatherName { get; set; } | |||||
/// <summary> | |||||
/// 档案所在地 | |||||
/// </summary> | |||||
[Column("MATHERUNIT")] | |||||
public string MatherUnit { get; set; } | |||||
/// <summary> | |||||
/// 母亲电话 | |||||
/// </summary> | |||||
[Column("MATHERPHONE")] | |||||
public string MatherPhone { get; set; } | |||||
/// <summary> | |||||
/// 用户名 | |||||
/// </summary> | |||||
[Column("USERNAME")] | |||||
public string username { get; set; } | |||||
/// <summary> | |||||
/// 密码 | |||||
/// </summary> | |||||
[Column("PASSWORD")] | |||||
public string password { get; set; } | |||||
/// <summary> | |||||
/// MailAddress收件人名址(收件人地址+ 姓名,可置默认值为家庭地址) | |||||
/// </summary> | |||||
[Column("MAILADDRESS")] | |||||
public string MailAddress { get; set; } | |||||
/// <summary> | |||||
/// PostalCode邮政编码 | |||||
/// </summary> | |||||
[Column("POSTALCODE")] | |||||
public string PostalCode { get; set; } | |||||
/// <summary> | |||||
/// InSchoolStatus | |||||
/// </summary> | |||||
[Column("INSCHOOLSTATUS")] | |||||
public string InSchoolStatus { get; set; } | |||||
/// <summary> | |||||
/// TransMark | |||||
/// </summary> | |||||
[Column("TRANSMARK")] | |||||
public string TransMark { get; set; } | |||||
/// <summary> | |||||
/// ClassTutorNo | |||||
/// </summary> | |||||
[Column("CLASSTUTORNO")] | |||||
public string ClassTutorNo { get; set; } | |||||
/// <summary> | |||||
/// 学籍卡审核 | |||||
/// </summary> | |||||
[Column("RESUMECHECK")] | |||||
public string ResumeCheck { get; set; } | |||||
/// <summary> | |||||
/// PracStatus | |||||
/// </summary> | |||||
[Column("PRACSTATUS")] | |||||
public string PracStatus { get; set; } | |||||
/// <summary> | |||||
/// RegisterStatus | |||||
/// </summary> | |||||
[Column("REGISTERSTATUS")] | |||||
public int? RegisterStatus { get; set; } | |||||
/// <summary> | |||||
/// PunishmentDate | |||||
/// </summary> | |||||
[Column("PUNISHMENTDATE")] | |||||
public DateTime? PunishmentDate { get; set; } | |||||
/// <summary> | |||||
/// StuId | |||||
/// </summary> | |||||
[Column("STUID")] | |||||
public string StuId { get; set; } | |||||
/// <summary> | |||||
/// 学制 | |||||
/// </summary> | |||||
[Column("EDUSYSTEM")] | |||||
public string EduSystem { get; set; } | |||||
/// <summary> | |||||
/// 学习形式 | |||||
/// </summary> | |||||
[Column("STUDYMODALITY")] | |||||
public string StudyModality { get; set; } | |||||
/// <summary> | |||||
/// 学籍异动状态(1表示不显示成绩) | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("CHANGESTATUS")] | |||||
public int? ChangeStatus { get; set; } | |||||
/// <summary> | |||||
/// SyncFlag | |||||
/// </summary> | |||||
[Column("SYNCFLAG")] | |||||
public bool? SyncFlag { get; set; } | |||||
/// <summary> | |||||
/// 余额 | |||||
/// </summary> | |||||
[Column("BALANCE")] | |||||
public string Balance { get; set; } | |||||
/// <summary> | |||||
/// 身体健康状况 | |||||
/// </summary> | |||||
[Column("HEALTHSTATUS")] | |||||
public string HealthStatus { get; set; } | |||||
/// <summary> | |||||
/// 身份证件类型 | |||||
/// </summary> | |||||
[Column("IDCARDTYPE")] | |||||
public string IdCardType { get; set; } | |||||
/// <summary> | |||||
/// 入学方式 | |||||
/// </summary> | |||||
[Column("ENTRANCEWAY")] | |||||
public string EntranceWay { get; set; } | |||||
/// <summary> | |||||
/// 就读方式 | |||||
/// </summary> | |||||
[Column("STUDYINGWAY")] | |||||
public string StudyingWay { get; set; } | |||||
/// <summary> | |||||
/// 国籍/地区 | |||||
/// </summary> | |||||
[Column("COUNTRYNO")] | |||||
public string CountryNo { get; set; } | |||||
/// <summary> | |||||
/// 婚姻状况 | |||||
/// </summary> | |||||
[Column("MARRIAGESTATUS")] | |||||
public string MarriageStatus { get; set; } | |||||
/// <summary> | |||||
/// 乘火车区间 | |||||
/// </summary> | |||||
[Column("TRAININTERVAL")] | |||||
public string TrainInterval { get; set; } | |||||
/// <summary> | |||||
/// 是否随迁子女 | |||||
/// </summary> | |||||
[Column("ISTRAILCHILDREN")] | |||||
public string IsTrailChildren { get; set; } | |||||
/// <summary> | |||||
/// 生源地行政区划码 | |||||
/// </summary> | |||||
[Column("STUPLACECODE")] | |||||
public string StuPlaceCode { get; set; } | |||||
/// <summary> | |||||
/// 出生地行政区划码 | |||||
/// </summary> | |||||
[Column("BIRTHPLACECODE")] | |||||
public string BirthPlaceCode { get; set; } | |||||
/// <summary> | |||||
/// 籍贯地行政区划码 | |||||
/// </summary> | |||||
[Column("NATIVEPLACECODE")] | |||||
public string NativePlaceCode { get; set; } | |||||
/// <summary> | |||||
/// 户口所在地行政区划码 | |||||
/// </summary> | |||||
[Column("RESIDENCEPLACECODE")] | |||||
public string ResidencePlaceCode { get; set; } | |||||
/// <summary> | |||||
/// 所属派出所 | |||||
/// </summary> | |||||
[Column("BELONGPOLICE")] | |||||
public string BelongPolice { get; set; } | |||||
/// <summary> | |||||
/// 学生居住地类型 | |||||
/// </summary> | |||||
[Column("STULIVEPLACETYPE")] | |||||
public string StuLivePlaceType { get; set; } | |||||
/// <summary> | |||||
/// 学生来源 | |||||
/// </summary> | |||||
[Column("STUORIGIN")] | |||||
public string StuOrigin { get; set; } | |||||
/// <summary> | |||||
/// 招生对象 | |||||
/// </summary> | |||||
[Column("RECRUITOBJECT")] | |||||
public string RecruitObject { get; set; } | |||||
/// <summary> | |||||
/// 贫困户否建档立卡贫困户 | |||||
/// </summary> | |||||
[Column("POORISRECORD")] | |||||
public string PoorIsRecord { get; set; } | |||||
/// <summary> | |||||
/// 招生方式 | |||||
/// </summary> | |||||
[Column("RECRUITWAY")] | |||||
public string RecruitWay { get; set; } | |||||
/// <summary> | |||||
/// 联招合作类型 | |||||
/// </summary> | |||||
[Column("RECRUITCOOPERATETYPE")] | |||||
public string RecruitCooperateType { get; set; } | |||||
/// <summary> | |||||
/// 准考证号 | |||||
/// </summary> | |||||
[Column("ADMISSIONNO")] | |||||
public string AdmissionNo { get; set; } | |||||
/// <summary> | |||||
/// 考试总分 | |||||
/// </summary> | |||||
[Column("EXAMSCORE")] | |||||
public decimal? ExamScore { get; set; } | |||||
/// <summary> | |||||
/// 联招合作办学形式 | |||||
/// </summary> | |||||
[Column("RECRUITCOOPERATEFORM")] | |||||
public string RecruitCooperateForm { get; set; } | |||||
/// <summary> | |||||
/// 联招合作学校代码 | |||||
/// </summary> | |||||
[Column("RECRUITCOOPERATESCHOOLNO")] | |||||
public string RecruitCooperateSchoolNo { get; set; } | |||||
/// <summary> | |||||
/// 校外教学点 | |||||
/// </summary> | |||||
[Column("SCHOOLOUTSIDEPLACE")] | |||||
public string SchoolOutsidePlace { get; set; } | |||||
/// <summary> | |||||
/// 分段培养方式 | |||||
/// </summary> | |||||
[Column("PIECECULTIVATEWAY")] | |||||
public string PieceCultivateWay { get; set; } | |||||
/// <summary> | |||||
/// 英文姓名 | |||||
/// </summary> | |||||
[Column("ENGLISHNAME")] | |||||
public string EnglishName { get; set; } | |||||
/// <summary> | |||||
/// 成员1关系 | |||||
/// </summary> | |||||
[Column("ONEMEMBERSHIP")] | |||||
public string OneMembership { get; set; } | |||||
/// <summary> | |||||
/// 成员1是否监护人 | |||||
/// </summary> | |||||
[Column("ONEISGUARDIAN")] | |||||
public string OneIsGuardian { get; set; } | |||||
/// <summary> | |||||
/// 成员1出生年月 | |||||
/// </summary> | |||||
[Column("ONEBIRTHDAY")] | |||||
public string OneBirthday { get; set; } | |||||
/// <summary> | |||||
/// 成员1身份证件类型 | |||||
/// </summary> | |||||
[Column("ONEIDCARDTYPE")] | |||||
public string OneIdCardType { get; set; } | |||||
/// <summary> | |||||
/// 成员1身份证件号 | |||||
/// </summary> | |||||
[Column("ONEIDCARDNO")] | |||||
public string OneIdCardNo { get; set; } | |||||
/// <summary> | |||||
/// 成员1民族 | |||||
/// </summary> | |||||
[Column("ONENATIONALITYNO")] | |||||
public string OneNationalityNo { get; set; } | |||||
/// <summary> | |||||
/// 成员1政治面貌 | |||||
/// </summary> | |||||
[Column("ONEPARTYFACENO")] | |||||
public string OnePartyFaceNo { get; set; } | |||||
/// <summary> | |||||
/// 成员1健康状况 | |||||
/// </summary> | |||||
[Column("ONEHEALTHSTATUS")] | |||||
public string OneHealthStatus { get; set; } | |||||
/// <summary> | |||||
/// 成员1工作或学习单位 | |||||
/// </summary> | |||||
[Column("ONEJOB")] | |||||
public string OneJob { get; set; } | |||||
/// <summary> | |||||
/// 成员1职务 | |||||
/// </summary> | |||||
[Column("ONEPOSITION")] | |||||
public string OnePosition { get; set; } | |||||
/// <summary> | |||||
/// 成员2关系 | |||||
/// </summary> | |||||
[Column("TWOMEMBERSHIP")] | |||||
public string TwoMembership { get; set; } | |||||
/// <summary> | |||||
/// 成员2是否监护人 | |||||
/// </summary> | |||||
[Column("TWOISGUARDIAN")] | |||||
public string TwoIsGuardian { get; set; } | |||||
/// <summary> | |||||
/// 成员2出生年月 | |||||
/// </summary> | |||||
[Column("TWOBIRTHDAY")] | |||||
public string TwoBirthday { get; set; } | |||||
/// <summary> | |||||
/// 成员2身份证件类型 | |||||
/// </summary> | |||||
[Column("TWOIDCARDTYPE")] | |||||
public string TwoIdCardType { get; set; } | |||||
/// <summary> | |||||
/// 成员2身份证件号 | |||||
/// </summary> | |||||
[Column("TWOIDCARDNO")] | |||||
public string TwoIdCardNo { get; set; } | |||||
/// <summary> | |||||
/// 成员2民族 | |||||
/// </summary> | |||||
[Column("TWONATIONALITYNO")] | |||||
public string TwoNationalityNo { get; set; } | |||||
/// <summary> | |||||
/// 成员2政治面貌 | |||||
/// </summary> | |||||
[Column("TWOPARTYFACENO")] | |||||
public string TwoPartyFaceNo { get; set; } | |||||
/// <summary> | |||||
/// 成员2健康状况 | |||||
/// </summary> | |||||
[Column("TWOHEALTHSTATUS")] | |||||
public string TwoHealthStatus { get; set; } | |||||
/// <summary> | |||||
/// 成员2工作或学习单位 | |||||
/// </summary> | |||||
[Column("TWOJOB")] | |||||
public string TwoJob { get; set; } | |||||
/// <summary> | |||||
/// 成员2职务 | |||||
/// </summary> | |||||
[Column("TWOPOSITION")] | |||||
public string TwoPosition { get; set; } | |||||
/// <summary> | |||||
/// 学号 | |||||
/// </summary> | |||||
[Column("PROVINCECODE")] | |||||
public string ProvinceCode { get; set; } | |||||
/// <summary> | |||||
/// 监护人 | |||||
/// </summary> | |||||
[Column("GUARDIAN")] | |||||
public string Guardian { get; set; } | |||||
/// <summary> | |||||
/// 监护人电话 | |||||
/// </summary> | |||||
[Column("GUARDIANPHONE")] | |||||
public string GuardianPhone { get; set; } | |||||
/// <summary> | |||||
/// 监护人与被监护人的关系 | |||||
/// </summary> | |||||
[Column("GUARDIANTYPE")] | |||||
public string GuardianType { get; set; } | |||||
/// <summary> | |||||
/// 单亲 | |||||
/// </summary> | |||||
[Column("ISSINGLE")] | |||||
public bool? IsSingle { get; set; } | |||||
/// <summary> | |||||
/// 留守 | |||||
/// </summary> | |||||
[Column("ISLEFT")] | |||||
public bool? IsLeft { get; set; } | |||||
/// <summary> | |||||
/// 残疾 | |||||
/// </summary> | |||||
[Column("ISDISABILITY")] | |||||
public bool? IsDisability { get; set; } | |||||
/// <summary> | |||||
/// 走读 | |||||
/// </summary> | |||||
[Column("ISRUNSCHOOL")] | |||||
public bool? IsRunSchool { get; set; } | |||||
/// <summary> | |||||
/// 困难 | |||||
/// </summary> | |||||
[Column("ISDDIFFICULTY")] | |||||
public bool? IsDdifficulty { get; set; } | |||||
/// <summary> | |||||
/// 五年一贯制 | |||||
/// </summary> | |||||
[Column("FiveYear")] | |||||
public string FiveYear { get; set; } | |||||
/// <summary> | |||||
/// 实习状态 | |||||
/// </summary> | |||||
[Column("INTERNSHIPSTATUS")] | |||||
public string InternshipStatus { get; set; } | |||||
/// <summary> | |||||
/// 是否复读 | |||||
/// </summary> | |||||
[Column("ISRESTUDY")] | |||||
public string IsRestudy { get; set; } | |||||
/// <summary> | |||||
/// 成员1名称 | |||||
/// </summary> | |||||
[Column("OneName")] | |||||
public string OneName { get; set; } | |||||
/// <summary> | |||||
/// 成员2名称 | |||||
/// </summary> | |||||
[Column("TWONAME")] | |||||
public string TwoName { get; set; } | |||||
/// <summary> | |||||
/// 其他联系方式 | |||||
/// </summary> | |||||
[Column("OTHERCONTACT")] | |||||
public string OtherContact { get; set; } | |||||
/// <summary> | |||||
/// 成员1联系方式 | |||||
/// </summary> | |||||
[Column("ONEMOBILE")] | |||||
public string OneMobile { get; set; } | |||||
/// <summary> | |||||
/// 成员2联系方式 | |||||
/// </summary> | |||||
[Column("TWOMOBILE")] | |||||
public string TwoMobile { get; set; } | |||||
/// <summary> | |||||
/// 图书资料归还状态 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("RETURNBOOKSSTATUS")] | |||||
public string ReturnBooksStatus { get; set; } | |||||
/// <summary> | |||||
/// 图书资料归还时间 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("RETURNBOOKSDATE")] | |||||
public DateTime? ReturnBooksDate { get; set; } | |||||
/// <summary> | |||||
/// 就业协议备案状态 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("EMPLOYAGREESTATUS")] | |||||
public string EmployAgreeStatus { get; set; } | |||||
/// <summary> | |||||
/// 就业协议备案时间 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("EMPLOYAGREEDATE")] | |||||
public DateTime? EmployAgreeDate { get; set; } | |||||
/// <summary> | |||||
/// 学杂费结算状态 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("FEESETTLESTATUS")] | |||||
public string FeeSettleStatus { get; set; } | |||||
/// <summary> | |||||
/// 学杂费结算时间 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("FEESETTLEDATE")] | |||||
public DateTime? FeeSettleDate { get; set; } | |||||
/// <summary> | |||||
/// 办理退住手续状态 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("CHECKOUTSTATUS")] | |||||
public string CheckOutStatus { get; set; } | |||||
/// <summary> | |||||
/// 办理退住手续时间 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("CHECKOUTDATE")] | |||||
public DateTime? CheckOutDate { get; set; } | |||||
/// <summary> | |||||
/// 校园卡注销状态 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("CARDDEREGISTRATESTATUS")] | |||||
public string CardDeregistrateStatus { get; set; } | |||||
/// <summary> | |||||
/// 校园卡注销时间 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("CARDDEREGISTRATEDATE")] | |||||
public DateTime? CardDeregistrateDate { get; set; } | |||||
/// <summary> | |||||
/// 毕业证领取状态 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("DIPLOMARECEIVESTATUS")] | |||||
public string DiplomaReceiveStatus { get; set; } | |||||
/// <summary> | |||||
/// 毕业证领取时间 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("DIPLOMARECEIVEDATE")] | |||||
public DateTime? DiplomaReceiveDate { get; set; } | |||||
/// <summary> | |||||
/// 档案关系转出状态 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("FILETRANSFERSTATUS")] | |||||
public string FileTransferStatus { get; set; } | |||||
/// <summary> | |||||
/// 档案关系转出状态时间 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("FILETRANSFERDATE")] | |||||
public DateTime? FileTransferDate { get; set; } | |||||
/// <summary> | |||||
/// 组织关系转出状态 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("TISSUESTATUS")] | |||||
public string TissueStatus { get; set; } | |||||
/// <summary> | |||||
/// 组织关系转出状态时间 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("TISSUEDATE")] | |||||
public DateTime? TissueDate { get; set; } | |||||
/// <summary> | |||||
/// 毕业证领取-领取人签名 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("DIPLOMARECEIVESIGN")] | |||||
public string DiplomaReceiveSign { get; set; } | |||||
/// <summary> | |||||
/// 毕业证领取-代领人身份证号 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("DIPLOMARECEIVEIDCARD")] | |||||
public string DiplomaReceiveIdcard { get; set; } | |||||
/// <summary> | |||||
/// 毕业证领取-代领备注 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("DIPLOMARECEIVEREMARK")] | |||||
public string DiplomaReceiveRemark { get; set; } | |||||
#endregion | |||||
#region 扩展操作 | |||||
/// <summary> | |||||
/// 新增调用 | |||||
/// </summary> | |||||
public void Create() | |||||
{ | |||||
this.StuId = Guid.NewGuid().ToString(); | |||||
} | |||||
/// <summary> | |||||
/// 编辑调用 | |||||
/// </summary> | |||||
/// <param name="keyValue"></param> | |||||
public void Modify(string keyValue) | |||||
{ | |||||
this.StuId = keyValue; | |||||
} | |||||
#endregion | |||||
#region 扩展字段 | |||||
#endregion | |||||
} | |||||
} | |||||
@@ -273,6 +273,7 @@ | |||||
<Compile Include="EducationalAdministration\StuInfoBasicChange\StuInfoBasicChangeEntity.cs" /> | <Compile Include="EducationalAdministration\StuInfoBasicChange\StuInfoBasicChangeEntity.cs" /> | ||||
<Compile Include="EducationalAdministration\StuInfoBasicChange\StuInfoBasicChangeIBLL.cs" /> | <Compile Include="EducationalAdministration\StuInfoBasicChange\StuInfoBasicChangeIBLL.cs" /> | ||||
<Compile Include="EducationalAdministration\StuInfoBasicChange\StuInfoBasicChangeService.cs" /> | <Compile Include="EducationalAdministration\StuInfoBasicChange\StuInfoBasicChangeService.cs" /> | ||||
<Compile Include="EducationalAdministration\StuInfoDrop\StuInfoDropEntity.cs" /> | |||||
<Compile Include="EducationalAdministration\StuInfoFreshOnlineService\StuInfoFreshOnlineServiceBLL.cs" /> | <Compile Include="EducationalAdministration\StuInfoFreshOnlineService\StuInfoFreshOnlineServiceBLL.cs" /> | ||||
<Compile Include="EducationalAdministration\StuInfoFreshOnlineService\StuInfoFreshOnlineServiceEntity.cs" /> | <Compile Include="EducationalAdministration\StuInfoFreshOnlineService\StuInfoFreshOnlineServiceEntity.cs" /> | ||||
<Compile Include="EducationalAdministration\StuInfoFreshOnlineService\StuInfoFreshOnlineServiceIBLL.cs" /> | <Compile Include="EducationalAdministration\StuInfoFreshOnlineService\StuInfoFreshOnlineServiceIBLL.cs" /> | ||||