@@ -215,7 +215,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers | |||||
[HttpPost] | [HttpPost] | ||||
[ValidateAntiForgeryToken] | [ValidateAntiForgeryToken] | ||||
[AjaxOnly] | [AjaxOnly] | ||||
public ActionResult SaveAgainEntity(string keyValue, StuTransferInfoEntity entity, string strStuTranEntity) | |||||
public ActionResult SaveAgainEntity(StuTransferInfoEntity entity, string strStuTranEntity) | |||||
{ | { | ||||
List<StuTransferInfoEntity> strStuTranList = strStuTranEntity.ToObject<List<StuTransferInfoEntity>>(); | List<StuTransferInfoEntity> strStuTranList = strStuTranEntity.ToObject<List<StuTransferInfoEntity>>(); | ||||
stuTransferInfoIBLL.SaveAgainEntity(entity, strStuTranList); | stuTransferInfoIBLL.SaveAgainEntity(entity, strStuTranList); | ||||
@@ -58,23 +58,23 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
<div class="lr-layout-body" style="height:50%;" id="gridtable"></div> | |||||
<div class="lr-layout-body" style="height:50%;border-bottom:1px solid #ccc;" id="gridtable"></div> | |||||
<div class="lr-layout-body" style="height:40%;border-top: 1px solid #ccc;margin-top:50px;" id="selgridtab"></div> | |||||
<div class="lr-layout-body" style="height:40%;border-top: 1px solid #ccc;border-bottom: 1px solid #ccc;margin-top:50px;" id="selgridtab"></div> | |||||
<div class="lr-form-wrap" style="height:30%;" id="form"> | <div class="lr-form-wrap" style="height:30%;" id="form"> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">异动类型<font face="宋体">*</font></div> | <div class="lr-form-item-title">异动类型<font face="宋体">*</font></div> | ||||
<div id="AnomalousType" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" readonly></div> | <div id="AnomalousType" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" readonly></div> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">注销账号<font face="宋体">*</font></div> | <div class="lr-form-item-title">注销账号<font face="宋体">*</font></div> | ||||
<div id="F_WriteMark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | <div id="F_WriteMark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">保留学籍<font face="宋体">*</font></div> | <div class="lr-form-item-title">保留学籍<font face="宋体">*</font></div> | ||||
<div id="StuStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | <div id="StuStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">离班日期<font face="宋体">*</font></div> | <div class="lr-form-item-title">离班日期<font face="宋体">*</font></div> | ||||
<input id="EnteDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#EnteDate').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | <input id="EnteDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#EnteDate').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | ||||
</div> | </div> | ||||
@@ -712,17 +712,11 @@ var bootstrap = function ($, learun) { | |||||
isPage: true, | isPage: true, | ||||
rows: 100, | rows: 100, | ||||
isMultiselect: true, | isMultiselect: true, | ||||
onSelectRow: function (rowdata) { | |||||
var selectedRow = $('#gridtable').jfGridGet('rowdata'); | |||||
if (list.length < 1) { | |||||
list = selectedRow | |||||
} else { | |||||
// 合并两个数组 | |||||
list = list.concat(selectedRow) | |||||
// 去重 | |||||
onSelectRow: function (rowdata, type) { | |||||
if (type) { | |||||
list.push(rowdata) | |||||
let temp = {} | let temp = {} | ||||
list = list.reduce((prev, curv) => { | list = list.reduce((prev, curv) => { | ||||
// 若临时对象中有一模一样的item,则什么都不做 | |||||
if (temp[curv.StuNo]) { } | if (temp[curv.StuNo]) { } | ||||
else { | else { | ||||
temp[curv.StuNo] = true | temp[curv.StuNo] = true | ||||
@@ -730,11 +724,10 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
return prev | return prev | ||||
}, []) | }, []) | ||||
//console.log('resources', list) | |||||
//var selectedRow = $('#gridtable').jfGridGet('rowdata'); | |||||
tempdatra = list | |||||
$('#selgridtab').jfGridSet('refreshdata', tempdatra); | |||||
} | } | ||||
//console.log(list) | |||||
tempdatra = list | |||||
$('#selgridtab').jfGridSet('refreshdata', tempdatra); | |||||
} | } | ||||
}); | }); | ||||
@@ -61,101 +61,101 @@ | |||||
<div class="condiv divactive" id="tab1"> | <div class="condiv divactive" id="tab1"> | ||||
<div class="lr-layout-center"> | <div class="lr-layout-center"> | ||||
<div class="lr-layout-wrap lr-layout-wrap-notitle " style="overflow-y:scroll; padding-top:15px; -webkit-scrollbar-track-piece{width:1px;background-color:#fff;}"> | |||||
<div class="lr-layout-wrap lr-layout-wrap-notitle " style="padding:15px; -webkit-scrollbar-track-piece{width:1px;background-color:#fff;}"> | |||||
<div class="lr-form-wrap" style="height:90%;" id="form"> | <div class="lr-form-wrap" style="height:90%;" id="form"> | ||||
@*转入班级*@ | @*转入班级*@ | ||||
<div style="font-size:16px;border-bottom:1px solid #eee;margin:20px 0;">转入班级</div> | |||||
<div class="col-xs-12 lr-form-item"> | |||||
<div style="font-size:18px;border-bottom:1px solid #eee;margin:20px;padding-bottom:10px;">转入班级</div> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">系部<font face="宋体">*</font></div> | <div class="lr-form-item-title">系部<font face="宋体">*</font></div> | ||||
<div id="NewDeptNo" isvalid="yes" checkexpession="NotNull"></div> | <div id="NewDeptNo" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">专业<font face="宋体">*</font></div> | <div class="lr-form-item-title">专业<font face="宋体">*</font></div> | ||||
<div id="NewMajorNo" isvalid="yes" checkexpession="NotNull"></div> | <div id="NewMajorNo" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="col-xs-2 lr-form-item"> | |||||
<div class="lr-form-item-title">年级<font face="宋体">*</font></div> | <div class="lr-form-item-title">年级<font face="宋体">*</font></div> | ||||
<div id="NewGrade" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | <div id="NewGrade" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="col-xs-2 lr-form-item"> | |||||
<div class="lr-form-item-title">班级<font face="宋体">*</font></div> | <div class="lr-form-item-title">班级<font face="宋体">*</font></div> | ||||
<div id="NewClassNo" isvalid="yes" checkexpession="NotNull"></div> | <div id="NewClassNo" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="col-xs-2 lr-form-item"> | |||||
<div class="lr-form-item-title">入班日期<font face="宋体">*</font></div> | <div class="lr-form-item-title">入班日期<font face="宋体">*</font></div> | ||||
<input id="LeaveDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#LeaveDate').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | <input id="LeaveDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#LeaveDate').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | ||||
</div> | </div> | ||||
@*转入学生信息*@ | @*转入学生信息*@ | ||||
<div style="font-size:16px;border-bottom:1px solid #eee;margin:20px 0;">转入学生信息</div> | |||||
<div class="col-xs-6 lr-form-item"> | |||||
<div style="font-size:18px;border-bottom:1px solid #eee;margin:20px;margin-top:120px;padding-bottom:10px;">转入学生信息</div> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">转学前学校</div> | <div class="lr-form-item-title">转学前学校</div> | ||||
<input id="TransferPreSchool" type="text" class="form-control" /> | <input id="TransferPreSchool" type="text" class="form-control" /> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">转学前年级</div> | <div class="lr-form-item-title">转学前年级</div> | ||||
<input id="TransferPreGrade" type="text" class="form-control" /> | <input id="TransferPreGrade" type="text" class="form-control" /> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">转学前班级</div> | <div class="lr-form-item-title">转学前班级</div> | ||||
<input id="TransferPreClass" type="text" class="form-control" /> | <input id="TransferPreClass" type="text" class="form-control" /> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">转学前专业</div> | <div class="lr-form-item-title">转学前专业</div> | ||||
<input id="TransferPreMajor" type="text" class="form-control" /> | <input id="TransferPreMajor" type="text" class="form-control" /> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">转学前学号</div> | <div class="lr-form-item-title">转学前学号</div> | ||||
<input id="TransferPreStuNo" type="text" class="form-control" /> | <input id="TransferPreStuNo" type="text" class="form-control" /> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">转学日期</div> | <div class="lr-form-item-title">转学日期</div> | ||||
<input id="TransferPreDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#TransferPreDate').trigger('change'); } })" /> | <input id="TransferPreDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#TransferPreDate').trigger('change'); } })" /> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">姓名<font face="宋体">*</font></div> | <div class="lr-form-item-title">姓名<font face="宋体">*</font></div> | ||||
<input id="StuName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | <input id="StuName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">学号<font face="宋体">*</font></div> | <div class="lr-form-item-title">学号<font face="宋体">*</font></div> | ||||
<input id="StuNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | <input id="StuNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">证件类型<font face="宋体">*</font></div> | <div class="lr-form-item-title">证件类型<font face="宋体">*</font></div> | ||||
<div id="IdCardType" isvalid="yes" checkexpession="NotNull"></div> | <div id="IdCardType" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">证件号码<font face="宋体">*</font></div> | <div class="lr-form-item-title">证件号码<font face="宋体">*</font></div> | ||||
<input id="IdentityCardNo" class="form-control" type="text" isvalid="yes" checkexpession="NotNull" /> | <input id="IdentityCardNo" class="form-control" type="text" isvalid="yes" checkexpession="NotNull" /> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">出生日期</div> | <div class="lr-form-item-title">出生日期</div> | ||||
<input id="Birthday" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#Birthday').trigger('change'); } })" /> | <input id="Birthday" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#Birthday').trigger('change'); } })" /> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">性别<font face="宋体">*</font></div> | <div class="lr-form-item-title">性别<font face="宋体">*</font></div> | ||||
<div id="Gender" isvalid="yes" checkexpession="NotNull"></div> | <div id="Gender" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">民族</div> | <div class="lr-form-item-title">民族</div> | ||||
<div id="NationalityNo"></div> | <div id="NationalityNo"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">户口所在地</div> | <div class="lr-form-item-title">户口所在地</div> | ||||
<input id="ResidencePlace" type="text" class="form-control" /> | <input id="ResidencePlace" type="text" class="form-control" /> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">籍贯</div> | <div class="lr-form-item-title">籍贯</div> | ||||
<input id="RegionNo" type="text" class="form-control" /> | <input id="RegionNo" type="text" class="form-control" /> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">是否住宿</div> | <div class="lr-form-item-title">是否住宿</div> | ||||
<div id="IsInAccommodation"></div> | <div id="IsInAccommodation"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">联系电话</div> | <div class="lr-form-item-title">联系电话</div> | ||||
<input id="Mobile" type="text" class="form-control" /> | <input id="Mobile" type="text" class="form-control" /> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">家庭地址</div> | <div class="lr-form-item-title">家庭地址</div> | ||||
<input id="MailAddress" type="text" class="form-control" /> | <input id="MailAddress" type="text" class="form-control" /> | ||||
</div> | </div> | ||||
@@ -827,25 +827,18 @@ var bootstrap = function ($, learun) { | |||||
rows: 100, | rows: 100, | ||||
isMultiselect: true, | isMultiselect: true, | ||||
onSelectRow: function (rowdata, type) { | onSelectRow: function (rowdata, type) { | ||||
//console.log(rowdata) | |||||
//console.log(type) | |||||
if (type) { | if (type) { | ||||
var selectedRow = $('#gridtable').jfGridGet('rowdata'); | |||||
if (list.length < 1) { | |||||
list = selectedRow | |||||
} else { | |||||
list = list.concat(selectedRow) | |||||
let temp = {} | |||||
list = list.reduce((prev, curv) => { | |||||
if (temp[curv.StuNo]) { } | |||||
else { | |||||
temp[curv.StuNo] = true | |||||
prev.push(curv) | |||||
} | |||||
return prev | |||||
}, []) | |||||
} | |||||
list.push(rowdata) | |||||
let temp = {} | |||||
list = list.reduce((prev, curv) => { | |||||
if (temp[curv.StuNo]) { } | |||||
else { | |||||
temp[curv.StuNo] = true | |||||
prev.push(curv) | |||||
} | |||||
return prev | |||||
}, []) | |||||
//var selectedRow = $('#gridtable').jfGridGet('rowdata'); | |||||
tempdatra = list | tempdatra = list | ||||
$('#selgridtab').jfGridSet('refreshdata', tempdatra); | $('#selgridtab').jfGridSet('refreshdata', tempdatra); | ||||
} | } | ||||
@@ -112,35 +112,36 @@ | |||||
<div class="lr-layout-body" style="height:40%;border-bottom:1px solid #ccc;border-top: 1px solid #ccc;margin-top:50px;" id="selgridtab"></div> | <div class="lr-layout-body" style="height:40%;border-bottom:1px solid #ccc;border-top: 1px solid #ccc;margin-top:50px;" id="selgridtab"></div> | ||||
<div class="lr-form-wrap" style="height:30%;" id="form"> | <div class="lr-form-wrap" style="height:30%;" id="form"> | ||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="col-xs-2 lr-form-item"> | |||||
<div class="lr-form-item-title">异动类型<font face="宋体">*</font></div> | <div class="lr-form-item-title">异动类型<font face="宋体">*</font></div> | ||||
<div id="AnomalousType" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" readonly="readonly" ></div> | |||||
<div id="AnomalousType" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" readonly="readonly"></div> | |||||
</div> | </div> | ||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="col-xs-2 lr-form-item"> | |||||
<div class="lr-form-item-title">注销账号<font face="宋体">*</font></div> | <div class="lr-form-item-title">注销账号<font face="宋体">*</font></div> | ||||
<div id="F_WriteMark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | <div id="F_WriteMark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="col-xs-2 lr-form-item"> | |||||
<div class="lr-form-item-title">保留学籍<font face="宋体">*</font></div> | <div class="lr-form-item-title">保留学籍<font face="宋体">*</font></div> | ||||
<div id="StuStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | <div id="StuStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="col-xs-2 lr-form-item"> | |||||
<div class="lr-form-item-title">离班日期<font face="宋体">*</font></div> | <div class="lr-form-item-title">离班日期<font face="宋体">*</font></div> | ||||
<input id="EnteDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#EnteDate').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | <input id="EnteDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#EnteDate').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | ||||
</div> | </div> | ||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="lr-form-item-title">异动原因</div> | |||||
<textarea id="Remark" class="form-control" style="height: 100px;"></textarea> | |||||
</div> | |||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-2 lr-form-item"> | |||||
<div class="lr-form-item-title">休学年限<font face="宋体">*</font></div> | <div class="lr-form-item-title">休学年限<font face="宋体">*</font></div> | ||||
<input id="SuspensionPeriod" class="form-control" type="text" isvalid="yes" checkexpession="NotNull" /> | <input id="SuspensionPeriod" class="form-control" type="text" isvalid="yes" checkexpession="NotNull" /> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item" style="padding-left:160px;"> | |||||
<div class="lr-form-item-title" style="width:160px;">休学时段(文本框暂时)<font face="宋体">*</font></div> | |||||
<div class="col-xs-2 lr-form-item" > | |||||
<div class="lr-form-item-title">休学时段<font face="宋体">*</font></div> | |||||
<input id="SuspensionBeginTime" class="form-control" type="text" isvalid="yes" checkexpession="NotNull" /> | <input id="SuspensionBeginTime" class="form-control" type="text" isvalid="yes" checkexpession="NotNull" /> | ||||
</div> | </div> | ||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="lr-form-item-title">异动原因</div> | |||||
<textarea id="Remark" class="form-control" style="height: 100px;"></textarea> | |||||
</div> | |||||
</div> | </div> | ||||
<div id="SubmitBtn" style="margin:0 auto;cursor:pointer;margin-bottom:10px; position:relative; width:80px; height:28px;line-height:28px;border-radius:4px; background:#039cfd;color:#FFF;text-align:center;"> | <div id="SubmitBtn" style="margin:0 auto;cursor:pointer;margin-bottom:10px; position:relative; width:80px; height:28px;line-height:28px;border-radius:4px; background:#039cfd;color:#FFF;text-align:center;"> | ||||
@@ -728,17 +728,11 @@ var bootstrap = function ($, learun) { | |||||
isPage: true, | isPage: true, | ||||
rows: 100, | rows: 100, | ||||
isMultiselect: true, | isMultiselect: true, | ||||
onSelectRow: function (rowdata) { | |||||
var selectedRow = $('#gridtable').jfGridGet('rowdata'); | |||||
if (list.length < 1) { | |||||
list = selectedRow | |||||
} else { | |||||
// 合并两个数组 | |||||
list = list.concat(selectedRow) | |||||
// 去重 | |||||
onSelectRow: function (rowdata, type) { | |||||
if (type) { | |||||
list.push(rowdata) | |||||
let temp = {} | let temp = {} | ||||
list = list.reduce((prev, curv) => { | list = list.reduce((prev, curv) => { | ||||
// 若临时对象中有一模一样的item,则什么都不做 | |||||
if (temp[curv.StuNo]) { } | if (temp[curv.StuNo]) { } | ||||
else { | else { | ||||
temp[curv.StuNo] = true | temp[curv.StuNo] = true | ||||
@@ -746,11 +740,10 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
return prev | return prev | ||||
}, []) | }, []) | ||||
//console.log('resources', list) | |||||
//var selectedRow = $('#gridtable').jfGridGet('rowdata'); | |||||
tempdatra = list | |||||
$('#selgridtab').jfGridSet('refreshdata', tempdatra); | |||||
} | } | ||||
//console.log(list) | |||||
tempdatra = list | |||||
$('#selgridtab').jfGridSet('refreshdata', tempdatra); | |||||
} | } | ||||
}); | }); | ||||
@@ -54,35 +54,35 @@ | |||||
<div class="lr-layout-body" style="height:40%;border-top: 1px solid #ccc;border-bottom:1px solid #ccc;margin-top:50px;" id="selgridtab"></div> | <div class="lr-layout-body" style="height:40%;border-top: 1px solid #ccc;border-bottom:1px solid #ccc;margin-top:50px;" id="selgridtab"></div> | ||||
<div class="lr-form-wrap" style="height:40%;" id="form"> | <div class="lr-form-wrap" style="height:40%;" id="form"> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">异动类型<font face="宋体">*</font></div> | <div class="lr-form-item-title">异动类型<font face="宋体">*</font></div> | ||||
<div id="NewAnomalousType" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" readonly="readonly"></div> | <div id="NewAnomalousType" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" readonly="readonly"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">恢复学籍<font face="宋体">*</font></div> | <div class="lr-form-item-title">恢复学籍<font face="宋体">*</font></div> | ||||
<div id="RecoverStuStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | <div id="RecoverStuStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">恢复账号<font face="宋体">*</font></div> | <div class="lr-form-item-title">恢复账号<font face="宋体">*</font></div> | ||||
<div id="RecoverWriteMark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | <div id="RecoverWriteMark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">入班日期<font face="宋体">*</font></div> | <div class="lr-form-item-title">入班日期<font face="宋体">*</font></div> | ||||
<input id="LeaveDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#LeaveDate').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | <input id="LeaveDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#LeaveDate').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">系部<font face="宋体">*</font></div> | <div class="lr-form-item-title">系部<font face="宋体">*</font></div> | ||||
<div id="NewDeptNo" isvalid="yes" checkexpession="NotNull"></div> | <div id="NewDeptNo" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">专业<font face="宋体">*</font></div> | <div class="lr-form-item-title">专业<font face="宋体">*</font></div> | ||||
<div id="NewMajorNo" isvalid="yes" checkexpession="NotNull"></div> | <div id="NewMajorNo" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">年级<font face="宋体">*</font></div> | <div class="lr-form-item-title">年级<font face="宋体">*</font></div> | ||||
<div id="NewGrade" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | <div id="NewGrade" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">班级<font face="宋体">*</font></div> | <div class="lr-form-item-title">班级<font face="宋体">*</font></div> | ||||
<div id="NewClassNo" isvalid="yes" checkexpession="NotNull"></div> | <div id="NewClassNo" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
@@ -20,7 +20,7 @@ var bootstrap = function ($, learun) { | |||||
var entity = $('body').lrGetFormData(); | var entity = $('body').lrGetFormData(); | ||||
entity.AnomalousType = entity.NewAnomalousType; | entity.AnomalousType = entity.NewAnomalousType; | ||||
var selgridtab = $('#selgridtab').jfGridGet('rowdatas'); | var selgridtab = $('#selgridtab').jfGridGet('rowdatas'); | ||||
$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/SaveForm', { entity: entity, strStuEntity: JSON.stringify(selgridtab) }, | |||||
$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/SaveAgainEntity', { entity: entity, strStuTranEntity: JSON.stringify(selgridtab) }, | |||||
function (res) { | function (res) { | ||||
//console.log(res) | //console.log(res) | ||||
if (res.code == 200) { | if (res.code == 200) { | ||||
@@ -830,17 +830,11 @@ var bootstrap = function ($, learun) { | |||||
isPage: true, | isPage: true, | ||||
rows: 100, | rows: 100, | ||||
isMultiselect: true, | isMultiselect: true, | ||||
onSelectRow: function (rowdata) { | |||||
var selectedRow = $('#gridtable').jfGridGet('rowdata'); | |||||
if (list.length < 1) { | |||||
list = selectedRow | |||||
} else { | |||||
// 合并两个数组 | |||||
list = list.concat(selectedRow) | |||||
// 去重 | |||||
onSelectRow: function (rowdata, type) { | |||||
if (type) { | |||||
list.push(rowdata) | |||||
let temp = {} | let temp = {} | ||||
list = list.reduce((prev, curv) => { | list = list.reduce((prev, curv) => { | ||||
// 若临时对象中有一模一样的item,则什么都不做 | |||||
if (temp[curv.StuNo]) { } | if (temp[curv.StuNo]) { } | ||||
else { | else { | ||||
temp[curv.StuNo] = true | temp[curv.StuNo] = true | ||||
@@ -848,11 +842,10 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
return prev | return prev | ||||
}, []) | }, []) | ||||
//console.log('resources', list) | |||||
//var selectedRow = $('#gridtable').jfGridGet('rowdata'); | |||||
tempdatra = list | |||||
$('#selgridtab').jfGridSet('refreshdata', tempdatra); | |||||
} | } | ||||
//console.log(list) | |||||
tempdatra = list | |||||
$('#selgridtab').jfGridSet('refreshdata', tempdatra); | |||||
} | } | ||||
}); | }); | ||||
@@ -58,23 +58,23 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
<div class="lr-layout-body" style="height:50%;" id="gridtable"></div> | |||||
<div class="lr-layout-body" style="height:50%;border-bottom:1px solid #ccc;" id="gridtable"></div> | |||||
<div class="lr-layout-body" style="height:40%;border-top: 1px solid #ccc;margin-top:50px;" id="selgridtab"></div> | |||||
<div class="lr-layout-body" style="height:40%;border-top: 1px solid #ccc;border-bottom: 1px solid #ccc;margin-top:50px;" id="selgridtab"></div> | |||||
<div class="lr-form-wrap" style="height:30%;" id="form"> | <div class="lr-form-wrap" style="height:30%;" id="form"> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">异动类型<font face="宋体">*</font></div> | <div class="lr-form-item-title">异动类型<font face="宋体">*</font></div> | ||||
<div id="AnomalousType" type="text" readonly="readonly" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | <div id="AnomalousType" type="text" readonly="readonly" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">注销账号<font face="宋体">*</font></div> | <div class="lr-form-item-title">注销账号<font face="宋体">*</font></div> | ||||
<div id="F_WriteMark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | <div id="F_WriteMark" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">保留学籍<font face="宋体">*</font></div> | <div class="lr-form-item-title">保留学籍<font face="宋体">*</font></div> | ||||
<div id="StuStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | <div id="StuStatus" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-3 lr-form-item"> | |||||
<div class="lr-form-item-title">离班日期<font face="宋体">*</font></div> | <div class="lr-form-item-title">离班日期<font face="宋体">*</font></div> | ||||
<input id="EnteDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#EnteDate').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | <input id="EnteDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#EnteDate').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | ||||
</div> | </div> | ||||
@@ -713,17 +713,11 @@ var bootstrap = function ($, learun) { | |||||
isPage: true, | isPage: true, | ||||
rows: 100, | rows: 100, | ||||
isMultiselect: true, | isMultiselect: true, | ||||
onSelectRow: function (rowdata) { | |||||
var selectedRow = $('#gridtable').jfGridGet('rowdata'); | |||||
if (list.length < 1) { | |||||
list = selectedRow | |||||
} else { | |||||
// 合并两个数组 | |||||
list = list.concat(selectedRow) | |||||
// 去重 | |||||
onSelectRow: function (rowdata, type) { | |||||
if (type) { | |||||
list.push(rowdata) | |||||
let temp = {} | let temp = {} | ||||
list = list.reduce((prev, curv) => { | list = list.reduce((prev, curv) => { | ||||
// 若临时对象中有一模一样的item,则什么都不做 | |||||
if (temp[curv.StuNo]) { } | if (temp[curv.StuNo]) { } | ||||
else { | else { | ||||
temp[curv.StuNo] = true | temp[curv.StuNo] = true | ||||
@@ -731,11 +725,10 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
return prev | return prev | ||||
}, []) | }, []) | ||||
//console.log('resources', list) | |||||
//var selectedRow = $('#gridtable').jfGridGet('rowdata'); | |||||
tempdatra = list | |||||
$('#selgridtab').jfGridSet('refreshdata', tempdatra); | |||||
} | } | ||||
//console.log(list) | |||||
tempdatra = list | |||||
$('#selgridtab').jfGridSet('refreshdata', tempdatra); | |||||
} | } | ||||
}); | }); | ||||
@@ -165,9 +165,8 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
} | } | ||||
} | } | ||||
/// <summary> | /// <summary> | ||||
/// 休学 | |||||
/// 复学 | |||||
/// </summary> | /// </summary> | ||||
/// <param name="keyValue"></param> | |||||
/// <param name="entity"></param> | /// <param name="entity"></param> | ||||
/// <param name="strStuList"></param> | /// <param name="strStuList"></param> | ||||
public void SaveAgainEntity(StuTransferInfoEntity entity, List<StuTransferInfoEntity> strStuList) | public void SaveAgainEntity(StuTransferInfoEntity entity, List<StuTransferInfoEntity> strStuList) | ||||
@@ -254,6 +254,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
InsertEntity.DeptNo = item.DeptNo; | InsertEntity.DeptNo = item.DeptNo; | ||||
InsertEntity.Grade = item.Grade; | InsertEntity.Grade = item.Grade; | ||||
InsertEntity.EduSystem = item.EduSystem; | InsertEntity.EduSystem = item.EduSystem; | ||||
InsertEntity.IdentityCardNo = item.IdentityCardNo; | |||||
InsertEntity.EnteDate = entity.EnteDate; //前端还是后端处理 | InsertEntity.EnteDate = entity.EnteDate; //前端还是后端处理 | ||||
//新数据 | //新数据 | ||||
InsertEntity.AnomalousType = entity.AnomalousType; | InsertEntity.AnomalousType = entity.AnomalousType; | ||||
@@ -360,6 +361,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
InsertEntity.NewGrade = entity.NewGrade; | InsertEntity.NewGrade = entity.NewGrade; | ||||
InsertEntity.LeaveDate = entity.LeaveDate; | InsertEntity.LeaveDate = entity.LeaveDate; | ||||
InsertEntity.StuStatus = entity.StuStatus; | InsertEntity.StuStatus = entity.StuStatus; | ||||
InsertEntity.IdentityCardNo = item.IdentityCardNo; | |||||
//恢复学籍,恢复账号 | //恢复学籍,恢复账号 | ||||
InsertEntity.RecoverStuStatus = entity.RecoverStuStatus; | InsertEntity.RecoverStuStatus = entity.RecoverStuStatus; | ||||
InsertEntity.RecoverWriteMark = entity.RecoverWriteMark; | InsertEntity.RecoverWriteMark = entity.RecoverWriteMark; | ||||
@@ -432,7 +434,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
case "06": //休学 | case "06": //休学 | ||||
case "08": //转专业 | case "08": //转专业 | ||||
#region 复制一份学生学籍表 | #region 复制一份学生学籍表 | ||||
InsertStuTran.StuId = stulist.StuId; | |||||
InsertStuTran.StuNo = stulist.StuNo; | InsertStuTran.StuNo = stulist.StuNo; | ||||
InsertStuTran.StuCode = stulist.StuCode; | InsertStuTran.StuCode = stulist.StuCode; | ||||
InsertStuTran.NoticeNo = stulist.NoticeNo; | InsertStuTran.NoticeNo = stulist.NoticeNo; | ||||
@@ -609,6 +611,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
InsertStuTran.AnomalousType = upTrua.AnomalousType; | InsertStuTran.AnomalousType = upTrua.AnomalousType; | ||||
InsertStuTran.ChangeReason = upTrua.ChangeReason; | InsertStuTran.ChangeReason = upTrua.ChangeReason; | ||||
InsertStuTran.TranDateTime = DateTime.Now; | InsertStuTran.TranDateTime = DateTime.Now; | ||||
InsertStuTran.Create(); | |||||
InStuinTran.Add(InsertStuTran); | InStuinTran.Add(InsertStuTran); | ||||
#endregion | #endregion | ||||
@@ -622,9 +625,9 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
StuEntity.StuNo = upTrua.StuNo; | StuEntity.StuNo = upTrua.StuNo; | ||||
StuEntity.StuName = upTrua.StuName; | StuEntity.StuName = upTrua.StuName; | ||||
StuEntity.ClassNo = upTrua.ClassNo; | StuEntity.ClassNo = upTrua.ClassNo; | ||||
StuEntity.MajorNo = upTrua.MajorNo; | |||||
StuEntity.DeptNo = upTrua.DeptNo; | |||||
StuEntity.Grade = upTrua.Grade; | |||||
StuEntity.MajorNo = upTrua.NewMajorNo; | |||||
StuEntity.DeptNo = upTrua.NewDeptNo; | |||||
StuEntity.Grade = upTrua.NewGrade; | |||||
StuEntity.EduSystem = upTrua.EduSystem; | StuEntity.EduSystem = upTrua.EduSystem; | ||||
upStulist.Add(StuEntity); | upStulist.Add(StuEntity); | ||||
} | } | ||||
@@ -637,10 +640,10 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
#region 删除用户表 | #region 删除用户表 | ||||
//是注销学籍,删除学籍 | |||||
if (upTrua.F_WriteMark == 0) | |||||
//是注销账号,账号禁用 | |||||
if (upTrua.F_WriteMark == 1) | |||||
{ | { | ||||
db1.ExecuteBySql(" update LR_Base_User set F_DeleteMark=1 where F_EnCode='" + upTrua.StuNo + "' and F_Account ='" + upTrua.StuNo + "'and F_RealName='" + upTrua.StuName + "' and F_IdentityCardNo ='" + upTrua.IdentityCardNo + "' "); | |||||
db1.ExecuteBySql(" update LR_Base_User set F_EnabledMark=0 where F_EnCode='" + upTrua.StuNo + "' and F_Account ='" + upTrua.StuNo + "'and F_RealName='" + upTrua.StuName + "' and F_IdentityCardNo ='" + upTrua.IdentityCardNo + "' "); | |||||
} | } | ||||
#endregion | #endregion | ||||
@@ -656,7 +659,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
var ReturnStu = this.BaseRepository("CollegeMIS").FindEntity<StuInfoBasicTranEntity>(x => x.StuId == upTrua.StuId); | var ReturnStu = this.BaseRepository("CollegeMIS").FindEntity<StuInfoBasicTranEntity>(x => x.StuId == upTrua.StuId); | ||||
#region 重新生成学籍 | #region 重新生成学籍 | ||||
addTruan.StuId = ReturnStu.StuId; | |||||
addTruan.StuNo = ReturnStu.StuNo; | addTruan.StuNo = ReturnStu.StuNo; | ||||
addTruan.StuCode = ReturnStu.StuCode; | addTruan.StuCode = ReturnStu.StuCode; | ||||
addTruan.NoticeNo = ReturnStu.NoticeNo; | addTruan.NoticeNo = ReturnStu.NoticeNo; | ||||
@@ -834,7 +837,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
} | } | ||||
if (upTrua.RecoverWriteMark == "0") //恢复账号 | if (upTrua.RecoverWriteMark == "0") //恢复账号 | ||||
{ | { | ||||
db1.ExecuteBySql(" update LR_Base_User set F_DeleteMark0 where F_EnCode='" + upTrua.StuNo + "' and F_Account ='" + upTrua.StuNo + "'and F_RealName='" + upTrua.StuName + "' and F_IdentityCardNo ='" + upTrua.IdentityCardNo + "' "); | |||||
db1.ExecuteBySql(" update LR_Base_User set F_EnabledMark= 1 where F_EnCode='" + upTrua.StuNo + "' and F_Account ='" + upTrua.StuNo + "'and F_RealName='" + upTrua.StuName + "' and F_IdentityCardNo ='" + upTrua.IdentityCardNo + "' "); | |||||
UpStuTran.Add(upTrua); //修改学籍异动表 为复学 | UpStuTran.Add(upTrua); //修改学籍异动表 为复学 | ||||
} | } | ||||
} | } | ||||
@@ -866,7 +869,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
default: | default: | ||||
#region 复制一份学生学籍表 | #region 复制一份学生学籍表 | ||||
InsertStuTran.StuNo = stulist.StuNo; | |||||
InsertStuTran.StuId = stulist.StuId; InsertStuTran.StuNo = stulist.StuNo; | |||||
InsertStuTran.StuCode = stulist.StuCode; | InsertStuTran.StuCode = stulist.StuCode; | ||||
InsertStuTran.NoticeNo = stulist.NoticeNo; | InsertStuTran.NoticeNo = stulist.NoticeNo; | ||||
InsertStuTran.GraduateYear = stulist.GraduateYear; | InsertStuTran.GraduateYear = stulist.GraduateYear; | ||||
@@ -1042,7 +1045,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
InsertStuTran.AnomalousType = upTrua.AnomalousType; | InsertStuTran.AnomalousType = upTrua.AnomalousType; | ||||
InsertStuTran.ChangeReason = upTrua.ChangeReason; | InsertStuTran.ChangeReason = upTrua.ChangeReason; | ||||
InsertStuTran.TranDateTime = DateTime.Now; | InsertStuTran.TranDateTime = DateTime.Now; | ||||
InsertStuTran.Create(); | |||||
InStuinTran.Add(InsertStuTran); | InStuinTran.Add(InsertStuTran); | ||||
#endregion | #endregion | ||||
@@ -1072,10 +1075,10 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
#region 删除用户表 | #region 删除用户表 | ||||
//是注销学籍,删除学籍 | |||||
if (upTrua.F_WriteMark == 0) | |||||
//是注销账号,账号禁用 | |||||
if (upTrua.F_WriteMark == 1) | |||||
{ | { | ||||
db1.ExecuteBySql(" update LR_Base_User set F_DeleteMark=1 where F_EnCode='" + upTrua.StuNo + "' and F_Account ='" + upTrua.StuNo + "'and F_RealName='" + upTrua.StuName + "' and F_IdentityCardNo ='" + upTrua.IdentityCardNo + "' "); | |||||
db1.ExecuteBySql(" update LR_Base_User set F_EnabledMark=0 where F_EnCode='" + upTrua.StuNo + "' and F_Account ='" + upTrua.StuNo + "'and F_RealName='" + upTrua.StuName + "' and F_IdentityCardNo ='" + upTrua.IdentityCardNo + "' "); | |||||
} | } | ||||
#endregion | #endregion | ||||