修复bug

This commit is contained in:
18942506660
2023-11-16 15:27:16 +08:00
parent 48c79e69f0
commit 5583cf1d82

View File

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