Merge branch 'master' of http://121.41.2.71:3000/wyw/mh_jy_safe
This commit is contained in:
commit
5b9bc66c20
@ -84,11 +84,12 @@ namespace APT.FO.WebApi.Controllers
|
|||||||
{
|
{
|
||||||
if (item.Nav_DetailFiles != null && item.Nav_DetailFiles.Any())
|
if (item.Nav_DetailFiles != null && item.Nav_DetailFiles.Any())
|
||||||
{
|
{
|
||||||
foreach (var item2 in item.Nav_DetailFiles)
|
foreach (var file in item.Nav_DetailFiles)
|
||||||
{
|
{
|
||||||
|
T_FO_PROFESSIONAL_RESUME_DETAIL_FILE item2 = new T_FO_PROFESSIONAL_RESUME_DETAIL_FILE();
|
||||||
item2.ORG_ID = entity.ORG_ID;
|
item2.ORG_ID = entity.ORG_ID;
|
||||||
item2.PROFESSIONAL_RESUME_DETAIL_ID = item.ID;
|
item2.PROFESSIONAL_RESUME_DETAIL_ID = item.ID;
|
||||||
item2.Nav_ImgFile = null;
|
item2.IMG_FILE_ID = file.IMG_FILE_ID;
|
||||||
detailFileList.Add(item2);
|
detailFileList.Add(item2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -108,11 +109,12 @@ namespace APT.FO.WebApi.Controllers
|
|||||||
var educationalList = new List<T_FO_PROFESSIONAL_RESUME_EDUCATIONAL_FILE>();
|
var educationalList = new List<T_FO_PROFESSIONAL_RESUME_EDUCATIONAL_FILE>();
|
||||||
if (educationals != null && educationals.Any())
|
if (educationals != null && educationals.Any())
|
||||||
{
|
{
|
||||||
foreach (var item in educationals)
|
foreach (var file in educationals)
|
||||||
{
|
{
|
||||||
|
T_FO_PROFESSIONAL_RESUME_EDUCATIONAL_FILE item = new T_FO_PROFESSIONAL_RESUME_EDUCATIONAL_FILE();
|
||||||
item.ORG_ID = entity.ORG_ID;
|
item.ORG_ID = entity.ORG_ID;
|
||||||
item.PROFESSIONAL_RESUME_ID = entity.ID;
|
item.PROFESSIONAL_RESUME_ID = entity.ID;
|
||||||
item.Nav_ImgFile = null;
|
item.IMG_FILE_ID = file.IMG_FILE_ID;
|
||||||
educationalList.Add(item);
|
educationalList.Add(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -126,11 +128,12 @@ namespace APT.FO.WebApi.Controllers
|
|||||||
var postList = new List<T_FO_PROFESSIONAL_RESUME_POST_FILE>();
|
var postList = new List<T_FO_PROFESSIONAL_RESUME_POST_FILE>();
|
||||||
if (posts != null && posts.Any())
|
if (posts != null && posts.Any())
|
||||||
{
|
{
|
||||||
foreach (var item in posts)
|
foreach (var file in posts)
|
||||||
{
|
{
|
||||||
|
T_FO_PROFESSIONAL_RESUME_POST_FILE item = new T_FO_PROFESSIONAL_RESUME_POST_FILE();
|
||||||
item.ORG_ID = entity.ORG_ID;
|
item.ORG_ID = entity.ORG_ID;
|
||||||
item.PROFESSIONAL_RESUME_ID = entity.ID;
|
item.PROFESSIONAL_RESUME_ID = entity.ID;
|
||||||
item.Nav_ImgFile = null;
|
item.IMG_FILE_ID = file.IMG_FILE_ID;
|
||||||
postList.Add(item);
|
postList.Add(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -144,11 +147,12 @@ namespace APT.FO.WebApi.Controllers
|
|||||||
var certificateList = new List<T_FO_PROFESSIONAL_RESUME_CERTIFICATE_FILE>();
|
var certificateList = new List<T_FO_PROFESSIONAL_RESUME_CERTIFICATE_FILE>();
|
||||||
if (certificates != null && certificates.Any())
|
if (certificates != null && certificates.Any())
|
||||||
{
|
{
|
||||||
foreach (var item in certificates)
|
foreach (var file in certificates)
|
||||||
{
|
{
|
||||||
|
T_FO_PROFESSIONAL_RESUME_CERTIFICATE_FILE item = new T_FO_PROFESSIONAL_RESUME_CERTIFICATE_FILE();
|
||||||
item.ORG_ID = entity.ORG_ID;
|
item.ORG_ID = entity.ORG_ID;
|
||||||
item.PROFESSIONAL_RESUME_ID = entity.ID;
|
item.PROFESSIONAL_RESUME_ID = entity.ID;
|
||||||
item.Nav_ImgFile = null;
|
item.IMG_FILE_ID = file.IMG_FILE_ID;
|
||||||
certificateList.Add(item);
|
certificateList.Add(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -162,11 +166,12 @@ namespace APT.FO.WebApi.Controllers
|
|||||||
var medicalList = new List<T_FO_PROFESSIONAL_RESUME_MEDICAL_FILE>();
|
var medicalList = new List<T_FO_PROFESSIONAL_RESUME_MEDICAL_FILE>();
|
||||||
if (medicals != null && medicals.Any())
|
if (medicals != null && medicals.Any())
|
||||||
{
|
{
|
||||||
foreach (var item in medicals)
|
foreach (var file in medicals)
|
||||||
{
|
{
|
||||||
|
T_FO_PROFESSIONAL_RESUME_MEDICAL_FILE item = new T_FO_PROFESSIONAL_RESUME_MEDICAL_FILE();
|
||||||
item.ORG_ID = entity.ORG_ID;
|
item.ORG_ID = entity.ORG_ID;
|
||||||
item.PROFESSIONAL_RESUME_ID = entity.ID;
|
item.PROFESSIONAL_RESUME_ID = entity.ID;
|
||||||
item.Nav_ImgFile = null;
|
item.IMG_FILE_ID = file.IMG_FILE_ID;
|
||||||
medicalList.Add(item);
|
medicalList.Add(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -180,11 +185,12 @@ namespace APT.FO.WebApi.Controllers
|
|||||||
var trainList = new List<T_FO_PROFESSIONAL_RESUME_TRAIN_FILE>();
|
var trainList = new List<T_FO_PROFESSIONAL_RESUME_TRAIN_FILE>();
|
||||||
if (trains != null && trains.Any())
|
if (trains != null && trains.Any())
|
||||||
{
|
{
|
||||||
foreach (var item in trains)
|
foreach (var file in trains)
|
||||||
{
|
{
|
||||||
|
T_FO_PROFESSIONAL_RESUME_TRAIN_FILE item = new T_FO_PROFESSIONAL_RESUME_TRAIN_FILE();
|
||||||
item.ORG_ID = entity.ORG_ID;
|
item.ORG_ID = entity.ORG_ID;
|
||||||
item.PROFESSIONAL_RESUME_ID = entity.ID;
|
item.PROFESSIONAL_RESUME_ID = entity.ID;
|
||||||
item.Nav_ImgFile = null;
|
item.IMG_FILE_ID = file.IMG_FILE_ID;
|
||||||
trainList.Add(item);
|
trainList.Add(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -198,11 +204,12 @@ namespace APT.FO.WebApi.Controllers
|
|||||||
var otherList = new List<T_FO_PROFESSIONAL_RESUME_OTHER_FILE>();
|
var otherList = new List<T_FO_PROFESSIONAL_RESUME_OTHER_FILE>();
|
||||||
if (others != null && others.Any())
|
if (others != null && others.Any())
|
||||||
{
|
{
|
||||||
foreach (var item in others)
|
foreach (var file in others)
|
||||||
{
|
{
|
||||||
|
T_FO_PROFESSIONAL_RESUME_OTHER_FILE item = new T_FO_PROFESSIONAL_RESUME_OTHER_FILE();
|
||||||
item.ORG_ID = entity.ORG_ID;
|
item.ORG_ID = entity.ORG_ID;
|
||||||
item.PROFESSIONAL_RESUME_ID = entity.ID;
|
item.PROFESSIONAL_RESUME_ID = entity.ID;
|
||||||
item.Nav_ImgFile = null;
|
item.IMG_FILE_ID = file.IMG_FILE_ID;
|
||||||
otherList.Add(item);
|
otherList.Add(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user