zhaoy 10 months ago
parent
commit
e0b7724beb
2 changed files with 3 additions and 0 deletions
  1. +1
    -0
      BPA.SAAS.Manage.Application/Device/Services/DeviceService.cs
  2. +2
    -0
      BPA.SAAS.Manage.Comm/Model/ListSelectQuery.cs

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

@@ -78,6 +78,7 @@ namespace BPA.SAAS.Manage.Application.Device.Services
{
x.Vesion = _db.Queryable<BPA_ProductVesion>().Where(s => s.Id == x.ProductVersionId).First()?.Vesion;
x.ProductNumber = _db.Queryable<BPA_ProductVesion>().Where(s => s.Id == x.ProductVersionId).First()?.ProductNumber;
x.ProductName = _db.Queryable<BPA_Product>().Where(s => s.Id == x.ProductId).First()?.Name;
x.PrductKey = _db.Queryable<BPA_Product>().Where(s => s.Id == x.ProductId).First()?.Key;
});
return data;


+ 2
- 0
BPA.SAAS.Manage.Comm/Model/ListSelectQuery.cs View File

@@ -22,5 +22,7 @@ namespace BPA.SAAS.Manage.Comm.Model
public string Vesion { get; set; }
public string PrductKey { get; set; }
public int? ProductNumber { get; set; }
public string ProductName { get; set; }
}
}

Loading…
Cancel
Save