|
@@ -18,7 +18,9 @@ namespace Learun.Application.WebApi.Modules |
|
|
//下载人事模板 |
|
|
//下载人事模板 |
|
|
Get["/downpersonneltemplate"] = DownPersonnelTemplate; |
|
|
Get["/downpersonneltemplate"] = DownPersonnelTemplate; |
|
|
|
|
|
|
|
|
|
|
|
//上传招生文件 |
|
|
Post["/uploadenroll"] = UploadEnroll; |
|
|
Post["/uploadenroll"] = UploadEnroll; |
|
|
|
|
|
//上传人事文件 |
|
|
Post["/uploadpersonnel"] = UploadPersonnel; |
|
|
Post["/uploadpersonnel"] = UploadPersonnel; |
|
|
} |
|
|
} |
|
|
private AnnexesFileIBLL annexesFileIBLL = new AnnexesFileBLL(); |
|
|
private AnnexesFileIBLL annexesFileIBLL = new AnnexesFileBLL(); |
|
@@ -87,12 +89,11 @@ namespace Learun.Application.WebApi.Modules |
|
|
fileAnnexesEntity.F_FileSize = files[0].Value.Length.ToString(); |
|
|
fileAnnexesEntity.F_FileSize = files[0].Value.Length.ToString(); |
|
|
fileAnnexesEntity.F_FileExtensions = FileEextension; |
|
|
fileAnnexesEntity.F_FileExtensions = FileEextension; |
|
|
fileAnnexesEntity.F_FileType = FileEextension.Replace(".", ""); |
|
|
fileAnnexesEntity.F_FileType = FileEextension.Replace(".", ""); |
|
|
//fileAnnexesEntity.F_CreateUserId = userInfo.userId; |
|
|
|
|
|
//fileAnnexesEntity.F_CreateUserName = userInfo.realName; |
|
|
|
|
|
|
|
|
|
|
|
annexesFileIBLL.SaveEntity(folderId, fileAnnexesEntity); |
|
|
annexesFileIBLL.SaveEntity(folderId, fileAnnexesEntity); |
|
|
|
|
|
|
|
|
enrollData.Create(); |
|
|
|
|
|
|
|
|
enrollData.Id = Guid.NewGuid().ToString(); |
|
|
|
|
|
enrollData.UploadTime = DateTime.Now; |
|
|
enrollData.Type = type; |
|
|
enrollData.Type = type; |
|
|
enrollData.Path = folderId; |
|
|
enrollData.Path = folderId; |
|
|
enrollDataIBLL.SaveEntity("",enrollData); |
|
|
enrollDataIBLL.SaveEntity("",enrollData); |
|
|