|
@@ -34,7 +34,7 @@ namespace GxPress.Repository.Implement.VipEquity
|
|
|
public async Task<IEnumerable<VipEquityResult>> GetAllAsync()
|
|
|
{
|
|
|
var result = await _repository.GetAllAsync(Q.OrderByDesc(nameof(Entity.tede2.VipEquity.VipEquity.CreatedDate)));
|
|
|
- var items= result.Select(n => _mapper.Map<VipEquityResult>(n));
|
|
|
+ var items= result.Select(n => _mapper.Map<VipEquityResult>(n)).ToList();
|
|
|
foreach (var item in items)
|
|
|
{
|
|
|
item.VipTypeValue=((GxPress.EnumConst.VipCardTypeConst)item.VipType).GetDescriptionOriginal();
|