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