|
|
@@ -439,6 +439,19 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
|
} |
|
|
|
List<StuInfoFreshEmergePeopleEntity> stuInfoFreshEmergePeopleList = strstuInfoFreshEmergePeopleList.ToObject<List<StuInfoFreshEmergePeopleEntity>>(); |
|
|
|
List<StuInfoFreshFamilyEntity> stuInfoFreshFamilyList = strstuInfoFreshFamilyList.ToObject<List<StuInfoFreshFamilyEntity>>(); |
|
|
|
var kshList = stuInfoFreshIBLL.Getksh(entity.ksh); |
|
|
|
if (!string.IsNullOrEmpty(keyValue)) |
|
|
|
{ |
|
|
|
kshList.Where(x => x.ID == keyValue); |
|
|
|
if (kshList.Count() > 0) |
|
|
|
{ |
|
|
|
return Fail("保存失败,考生号不可重复"); |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
return Fail("保存失败,考生号不可重复"); |
|
|
|
} |
|
|
|
stuInfoFreshIBLL.SaveEntity(keyValue, entity, stuInfoFreshEmergePeopleList, stuInfoFreshFamilyList); |
|
|
|
return Success("保存成功!"); |
|
|
|
} |
|
|
|