From 353179332016eb4fcb579ad61946045b3ff2d745 Mon Sep 17 00:00:00 2001 From: ndbs Date: Tue, 30 Aug 2022 10:12:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E6=96=87=E6=9F=A5=E7=9C=8B=20?= =?UTF-8?q?=E9=99=84=E4=BB=B6=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Learun.Application.WebApi/Modules/Sys_ReceiveFileApi.cs | 3 ++- .../Sys_ReceiveFile/Sys_ReceiveFileEntity.cs | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Sys_ReceiveFileApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Sys_ReceiveFileApi.cs index 07cbb4738..1d0edacc8 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Sys_ReceiveFileApi.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Sys_ReceiveFileApi.cs @@ -29,7 +29,7 @@ namespace Learun.Application.WebApi Post["/delete"] = DeleteForm; Post["/save"] = SaveForm; Post["/read"] = NewsRead; - + } #region  获取数据 @@ -71,6 +71,7 @@ namespace Learun.Application.WebApi { string keyValue = this.GetReqData(); var Sys_ReceiveFileData = sys_ReceiveFileIBLL.GetSys_ReceiveFileEntity(keyValue); + Sys_ReceiveFileData.FilePath = Sys_ReceiveFileData.Url; if (Sys_ReceiveFileData != null) { var result = annexesFileIBLL.GetEntityByFolderId(Sys_ReceiveFileData.Url)?.F_FilePath; diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileEntity.cs index 3b91b4259..1bb0c835e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileEntity.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileEntity.cs @@ -149,6 +149,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration [Column("SLASTDATE")] public DateTime? SLastDate { get; set; } + /// + /// 路径 + /// + [NotMapped] + public string FilePath { get; set; } #endregion }