|
|
@@ -19,6 +19,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
private StuInfoBasicService stuInfoBasicService = new StuInfoBasicService(); |
|
|
|
|
|
|
|
private DataItemIBLL dataItemIBLL = new DataItemBLL(); |
|
|
|
private AnnexesFileIBLL annesexFileIBll = new AnnexesFileBLL(); |
|
|
|
#region 获取数据 |
|
|
|
|
|
|
|
/// <summary> |
|
|
@@ -308,7 +309,22 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
if(ls.Any()) |
|
|
|
{ |
|
|
|
var mzs = dataItemIBLL.GetDetailList("National"); |
|
|
|
var zzmms = dataItemIBLL.GetDetailList("BCdPartyFace"); |
|
|
|
|
|
|
|
foreach (var item in ls) |
|
|
|
{ |
|
|
|
item.NationalityName = mzs.FirstOrDefault(x => x.F_ItemValue == item.NationalityNo)?.F_ItemName ?? ""; |
|
|
|
item.PartyFaceName = zzmms.FirstOrDefault(x => x.F_ItemValue == item.PartyFaceNo)?.F_ItemName ?? ""; |
|
|
|
if(!item.Photo.IsEmpty()) |
|
|
|
{ |
|
|
|
var photo = annesexFileIBll.GetEntityByFolderId(item.Photo)?.F_FilePath; |
|
|
|
if (photo != null) |
|
|
|
{ |
|
|
|
photo = "/" + photo.Substring(photo.IndexOf("Resource")); |
|
|
|
} |
|
|
|
item.Photo = photo; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return ls; |
|
|
|
} |
|
|
|