feat(api): реализован GetAll UnitFieldValue по Id FieldValue
This commit is contained in:
@@ -108,7 +108,7 @@ namespace PARR.API.MappingProfiles
|
||||
CreateMap<UnitField, FieldResponse>()
|
||||
.ForMember(d => d.Name, o => o.MapFrom(s => (string.IsNullOrEmpty(s.DisplayName)) ? s.AihitName : s.DisplayName));
|
||||
|
||||
CreateMap<UnitFieldValue, ValueResponse>();
|
||||
CreateMap<UnitFieldValue, UnitFieldValueResponse>();
|
||||
|
||||
CreateMap<UnitInValue, AttributeResponse>()
|
||||
.ForMember(d => d.Field, o => o.MapFrom(s => s.Field))
|
||||
@@ -353,9 +353,6 @@ namespace PARR.API.MappingProfiles
|
||||
|
||||
CreateMap<WeekendDay, WeekendResponse>();
|
||||
|
||||
CreateMap<UnitField, FieldResponse>()
|
||||
.ForMember(d => d.Name, o => o.MapFrom(s => (s.DisplayName == null) ? s.AihitName : s.DisplayName));
|
||||
|
||||
#region TemplateHistory
|
||||
|
||||
CreateMap<TemplateHistory, TemplateHistoryResponse>()
|
||||
|
||||
Reference in New Issue
Block a user