Explorar el Código

公文查看 附件回显

临城职教中职
ndbs hace 2 años
padre
commit
3531793320
Se han modificado 2 ficheros con 7 adiciones y 1 borrados
  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 Ver fichero

@@ -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 Ver fichero

@@ -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
}


Cargando…
Cancelar
Guardar