From a38479fba6d387a2f794cc5b6a79b7f6c4c4a082 Mon Sep 17 00:00:00 2001 From: zhaoy <137053305@qq.com> Date: Thu, 29 Feb 2024 15:16:43 +0800 Subject: [PATCH] z --- BPA.SAAS.Manage.Application/Device/Services/DeviceService.cs | 2 ++ BPA.SAAS.Manage.Comm/Model/ListSelectQuery.cs | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/BPA.SAAS.Manage.Application/Device/Services/DeviceService.cs b/BPA.SAAS.Manage.Application/Device/Services/DeviceService.cs index cdc34a2..2fd27d4 100644 --- a/BPA.SAAS.Manage.Application/Device/Services/DeviceService.cs +++ b/BPA.SAAS.Manage.Application/Device/Services/DeviceService.cs @@ -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().Where(s => s.Id == x.ProductVersionId).First()?.Vesion; x.ProductNumber = _db.Queryable().Where(s => s.Id == x.ProductVersionId).First()?.ProductNumber; + x.ProductUrl = _db.Queryable().Where(s => s.Id == x.ProductVersionId).First()?.ProductUrl; x.ProductName = _db.Queryable().Where(s => s.Id == x.ProductId).First()?.Name; x.PrductKey = _db.Queryable().Where(s => s.Id == x.ProductId).First()?.Key; }); diff --git a/BPA.SAAS.Manage.Comm/Model/ListSelectQuery.cs b/BPA.SAAS.Manage.Comm/Model/ListSelectQuery.cs index 5f90a56..97255b3 100644 --- a/BPA.SAAS.Manage.Comm/Model/ListSelectQuery.cs +++ b/BPA.SAAS.Manage.Comm/Model/ListSelectQuery.cs @@ -23,6 +23,7 @@ namespace BPA.SAAS.Manage.Comm.Model public string PrductKey { get; set; } public int? ProductNumber { get; set; } public string ProductName { get; set; } - + public string ProductUrl { get; set; } + } }