修复bug
This commit is contained in:
@@ -2,9 +2,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using WMS.Web.Core.Dto;
|
||||
using WMS.Web.Core.Dto.Login;
|
||||
using WMS.Web.Core.Dto.Login.Temp;
|
||||
using WMS.Web.Core.Dto.Login.Temp.v3;
|
||||
using WMS.Web.Core.Help;
|
||||
using WMS.Web.Domain.Entitys;
|
||||
|
||||
namespace WMS.Web.Domain.Mappers
|
||||
{
|
||||
@@ -61,7 +64,11 @@ namespace WMS.Web.Domain.Mappers
|
||||
.ForMember(x => x.Roles, opt => opt.Ignore()).ReverseMap();
|
||||
|
||||
|
||||
|
||||
CreateMap<FileDownManager, FileDownInfoManagerResponse>()
|
||||
.ForMember(x => x.Date, ops => ops.MapFrom(x => x.Date.DateToStringSeconds()))
|
||||
//.ForMember(x => x.StatusKey, ops => ops.MapFrom(x => (int)x.Status))
|
||||
// .ForMember(x => x.Status, ops => ops.MapFrom(x => x.Status.GetRemark()))
|
||||
.ForMember(x => x.Type, ops => ops.MapFrom(x => (int)x.Type));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user