xxx
This commit is contained in:
@@ -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 = "";
|
||||
|
||||
Reference in New Issue
Block a user