|
|
@@ -78,11 +78,13 @@ namespace BPA.SAAS.Manage.Application.Device.Services |
|
|
|
AutoKey=a.AutoKey.ToString(), |
|
|
|
ProductVersionId=a.ProductVersionId, |
|
|
|
ProductId=a.ProductId, |
|
|
|
|
|
|
|
}) .ToListAsync(); |
|
|
|
data.ForEach(x => |
|
|
|
{ |
|
|
|
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.ProductUrl = _db.Queryable<BPA_ProductVesion>().Where(s => s.Id == x.ProductVersionId).First()?.ProductUrl; |
|
|
|
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; |
|
|
|
}); |
|
|
|