瀏覽代碼

公文查看 附件回显

临城职教中职
ndbs 2 年之前
父節點
當前提交
3531793320
共有 2 個文件被更改,包括 7 次插入1 次删除
  1. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Sys_ReceiveFileApi.cs
  2. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileEntity.cs

+ 2
- 1
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;


+ 5
- 0
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; }
/// <summary>
/// 路径
/// </summary>
[NotMapped]
public string FilePath { get; set; }

#endregion
}


Loading…
取消
儲存