diff --git a/BPA.SAAS.Manage.Application/Device/Services/DeviceService.cs b/BPA.SAAS.Manage.Application/Device/Services/DeviceService.cs index b8669e8..d661468 100644 --- a/BPA.SAAS.Manage.Application/Device/Services/DeviceService.cs +++ b/BPA.SAAS.Manage.Application/Device/Services/DeviceService.cs @@ -78,6 +78,7 @@ namespace BPA.SAAS.Manage.Application.Device.Services { x.Vesion = _db.Queryable().Where(s => s.Id == x.ProductVersionId).First()?.Vesion; x.ProductNumber = _db.Queryable().Where(s => s.Id == x.ProductVersionId).First()?.ProductNumber; + x.ProductName = _db.Queryable().Where(s => s.Id == x.ProductId).First()?.Name; x.PrductKey = _db.Queryable().Where(s => s.Id == x.ProductId).First()?.Key; }); return data; diff --git a/BPA.SAAS.Manage.Comm/Model/ListSelectQuery.cs b/BPA.SAAS.Manage.Comm/Model/ListSelectQuery.cs index 42805c3..5f90a56 100644 --- a/BPA.SAAS.Manage.Comm/Model/ListSelectQuery.cs +++ b/BPA.SAAS.Manage.Comm/Model/ListSelectQuery.cs @@ -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; } + } }