增加映射
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
dcfe28d950
commit
095db5786b
|
@ -486,11 +486,14 @@ namespace IRaCIS.Core.Application.Service
|
||||||
// 临床数据上传 路径拼接返回
|
// 临床数据上传 路径拼接返回
|
||||||
|
|
||||||
CreateMap<PreviousHistory, PreviousHistoryView>()
|
CreateMap<PreviousHistory, PreviousHistoryView>()
|
||||||
.ForMember(d => d.FullFilePath, u => u.MapFrom(s => s.Path + "?access_token=" + token));
|
.ForMember(d => d.CreateUser, u => u.MapFrom(s => s.CreateUser.FullName))
|
||||||
|
.ForMember(d => d.FullFilePath, u => u.MapFrom(s => s.Path ));
|
||||||
CreateMap<PreviousOther, PreviousOtherView>()
|
CreateMap<PreviousOther, PreviousOtherView>()
|
||||||
.ForMember(d => d.FullFilePath, u => u.MapFrom(s => s.Path + "?access_token=" + token));
|
.ForMember(d => d.CreateUser, u => u.MapFrom(s => s.CreateUser.FullName))
|
||||||
|
.ForMember(d => d.FullFilePath, u => u.MapFrom(s => s.Path ));
|
||||||
CreateMap<PreviousSurgery, PreviousSurgeryView>()
|
CreateMap<PreviousSurgery, PreviousSurgeryView>()
|
||||||
.ForMember(d => d.FullFilePath, u => u.MapFrom(s => s.Path + "?access_token=" + token));
|
.ForMember(d => d.CreateUser, u => u.MapFrom(s => s.CreateUser.FullName))
|
||||||
|
.ForMember(d => d.FullFilePath, u => u.MapFrom(s => s.Path ));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -116,18 +116,6 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public User CreateUser { get; set; }
|
public User CreateUser { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public abstract class BaseAddAuditEntityWithUserName : Entity, IAuditAddWithUserName
|
|
||||||
{
|
|
||||||
public string CreateUser { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public Guid CreateUserId { get; set; }
|
|
||||||
public DateTime CreateTime { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public abstract class BaseAuditUpdateEntity : Entity, IAuditUpdate
|
public abstract class BaseAuditUpdateEntity : Entity, IAuditUpdate
|
||||||
{
|
{
|
||||||
public Guid UpdateUserId { get; set; }
|
public Guid UpdateUserId { get; set; }
|
||||||
|
|
Loading…
Reference in New Issue