From 305e2990bb2161177e87ab7711f9dfb205762bcd Mon Sep 17 00:00:00 2001 From: kingno <30263@KINGNO> Date: 星期一, 09 六月 2025 15:52:42 +0800 Subject: [PATCH] 优化数据传递 --- src/Bro.M135.Common/FrmProductList.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/Bro.M135.Common/FrmProductList.cs b/src/Bro.M135.Common/FrmProductList.cs index ea835a5..13fc454 100644 --- a/src/Bro.M135.Common/FrmProductList.cs +++ b/src/Bro.M135.Common/FrmProductList.cs @@ -1,4 +1,5 @@ 锘縰sing Bro.Common.Helper; +using Bro.Common.Interface; using Bro.Common.Model; using Bro.UI.Model.Winform; using Sunny.UI; @@ -117,7 +118,7 @@ { this.Invoke(() => { - var specList = p.Details.SelectMany(u => u.SpecList ?? new List<Spec>()).ToList(); + var specList = p.Details.SelectMany(u => u.SpecList ?? new List<ISpec>()).ToList(); specList.AddRange(p.Details.SelectMany(u => u.ResultList.SelectMany(s => s.Specs.Select(m => (Spec)m)))); specList.Sort((a, b) => string.Compare(a.Code, b.Code)); -- Gitblit v1.8.0