|
|
@@ -134,7 +134,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
|
//} |
|
|
|
//政治面貌 |
|
|
|
empInfo.PartyFaceNo = dataItemIBLL.GetDetailList("BCdPartyFace").FirstOrDefault(x => x.F_ItemValue == empInfo.PartyFaceNo)?.F_ItemName; |
|
|
|
|
|
|
|
|
|
|
|
//最高学历 |
|
|
|
var highestRecord = dataSourceIBLL.GetDataTable("BCdCultureDegree", "t.CultureDegreeNo='" + empInfo.HighestRecord + "'"); |
|
|
|
if (highestRecord != null && highestRecord.Rows.Count > 0) |
|
|
@@ -162,7 +162,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
|
//奖罚情况 |
|
|
|
empInfo.TeacherEncourgementList = teacherEncourgementIBLL.GetListByEmpId(empInfo.EmpId).OrderByDescending(x => x.EncourgeDate).ToList(); |
|
|
|
empInfo.TeacherPunishmentList = teacherPunishmentIBLL.GetListByEmpId(empInfo.EmpId).OrderByDescending(x => x.StartTime).ToList(); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return View(empInfo); |
|
|
@@ -186,13 +186,13 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
|
{ |
|
|
|
foreach (var item in data) |
|
|
|
{ |
|
|
|
if (!item.IdentityCardNo.IsEmpty()) |
|
|
|
if (!item.IdentityCardNo.IsEmpty() && item.IdentityCardNo.Length >=15) |
|
|
|
{ |
|
|
|
item.IdentityCardNo = $"{item.IdentityCardNo.Substring(0, 2)}************{item.IdentityCardNo.Substring(14, 4)}"; |
|
|
|
item.IdentityCardNo = $"{item.IdentityCardNo.Substring(0, 2)}************{item.IdentityCardNo.Substring(item.IdentityCardNo.Length - 4, 4)}"; |
|
|
|
} |
|
|
|
if (!item.mobile.IsEmpty()) |
|
|
|
if (!item.mobile.IsEmpty() && item.mobile.Length >= 7) |
|
|
|
{ |
|
|
|
item.mobile = $"{item.mobile.Substring(0, 3)}****{item.mobile.Substring(7, 4)}"; |
|
|
|
item.mobile = $"{item.mobile.Substring(0, 3)}****{item.mobile.Substring(item.mobile.Length - 4, 4)}"; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@@ -416,7 +416,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
|
/// <returns></returns> |
|
|
|
[HttpPost] |
|
|
|
[AjaxOnly] |
|
|
|
public ActionResult UpdateQRCodeStatus(string keyValue,int QRCodeStatus) |
|
|
|
public ActionResult UpdateQRCodeStatus(string keyValue, int QRCodeStatus) |
|
|
|
{ |
|
|
|
empInfoIBLL.UpdateQRCodeStatus(keyValue, QRCodeStatus); |
|
|
|
return Success("操作成功!"); |
|
|
|