From c04b6f681dcf426a332741d930b8d9a7da84c8cb Mon Sep 17 00:00:00 2001 From: zhaoy <137053305@qq.com> Date: Thu, 18 Jan 2024 18:34:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E8=89=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DataBase/Services/GoodsTechnologyService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BPA.SAAS.Manage.Application/DataBase/Services/GoodsTechnologyService.cs b/BPA.SAAS.Manage.Application/DataBase/Services/GoodsTechnologyService.cs index 712e38d..a4c825f 100644 --- a/BPA.SAAS.Manage.Application/DataBase/Services/GoodsTechnologyService.cs +++ b/BPA.SAAS.Manage.Application/DataBase/Services/GoodsTechnologyService.cs @@ -457,7 +457,7 @@ namespace BPA.SAAS.Manage.Application.DataBase.Services Id = x.Id.SelectAll(), }).Mapper(a => { - a.GoodsTechnologyInfo = _db.Queryable().Where(d => d.DeviceVersionKey == a.ProductVersionId).Select(d => new GoodsTechnologyInfo() + a.GoodsTechnologyInfo = _db.Queryable().Where(d => d.DeviceVersionKey == a.ProductVersionId && d.Type==1).Select(d => new GoodsTechnologyInfo() { DeviceTechnologyId = d.Id, DeviceVersionKey = d.DeviceVersionKey,