zhaoy 8 months ago
parent
commit
0d6f9a1326
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      BPA.SAAS.Manage.Application/Device/Services/DeviceService.cs

+ 2
- 1
BPA.SAAS.Manage.Application/Device/Services/DeviceService.cs View File

@@ -58,8 +58,9 @@ namespace BPA.SAAS.Manage.Application.Device.Services
.Mapper(x =>
{
var Vesion = _db.Queryable<BPA_ProductVesion>().Where(c => c.Id == x.ProductVersionId).First();
var Stop=dataStore?.Where(f => f.Id == x.StopId).FirstOrDefault();
x.ProductVersionName = Vesion?.Vesion;
x.StopName= dataStore?.Where(f=>f.Id==x.StopId).First()?.Name;
x.StopName= Stop?.Name;
})
.ToPageListAsync(inputDto.Current, inputDto.PageSize, total);
return new PageUtil()


Loading…
Cancel
Save