This commit is contained in:
2022-04-28 15:04:43 +08:00
parent 3598ac4f5a
commit df8675e4c9
4 changed files with 8 additions and 1 deletions
@@ -37,6 +37,8 @@ namespace IRaCIS.Application.Contracts
public string ValueCN { get; set; } = String.Empty;
public int ChildCodeEnum { get; set; }
public int ShowOrder { get; set; }
@@ -68,6 +70,9 @@ namespace IRaCIS.Application.Contracts
public Guid? ParentId { get; set; }
public string ParentCode { get; set; } = string.Empty;
public int? ParentChildCodeEnum { get; set; }
}
public class BasicDicQuery:PageInput
@@ -40,6 +40,8 @@ namespace IRaCIS.Core.Application.Service
CreateMap<Dictionary, BasicDicSelect>()
.ForMember(o => o.ParentChildCodeEnum, t => t.MapFrom(u => u.Parent.ChildCodeEnum))
.ForMember(o => o.ParentCode, t => t.MapFrom(u => u.Parent.Code));
var token = "";