|
@@ -97,7 +97,16 @@ namespace GxPress.Service.Implement.Navigation
|
|
|
public async Task<MiddleLableResult> GetMiddleLableResultAsync(int middleLableId)
|
|
|
{
|
|
|
var middleLable = await middleLableRepository.GetAsync(middleLableId);
|
|
|
- var middleLableResult = _mapper.Map<MiddleLableResult>(middleLable);
|
|
|
+ var middleLableResult = new MiddleLableResult()
|
|
|
+ {
|
|
|
+ Id = middleLable.Id,
|
|
|
+ Name = middleLable.Name,
|
|
|
+ Sort = middleLable.Sort,
|
|
|
+ IsDisable = middleLable.IsDisable,
|
|
|
+ IsSearch = middleLable.IsSearch,
|
|
|
+ IsSlide = middleLable.IsSlide,
|
|
|
+ TypeId = middleLable.TypeId
|
|
|
+ };
|
|
|
middleLableResult.MiddleLableNexusResults = new List<MiddleLableNexusResult>();
|
|
|
var middleLableNexusList = await middleLableNexusRepository.GetAllTaskAsync(middleLableId);
|
|
|
var systemLabels = await systemLabelRepository.GetAllAsync(middleLableNexusList.Select(n => n.LableId).ToList());
|