From 19c72cd56c38e575ac9ed5846feb32a346d21389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A2=E6=B1=9F=E6=B5=B7?= <18360817963@163.com> Date: Wed, 26 Mar 2025 10:39:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B2=B9=E6=BC=86=E5=AE=9E=E9=AA=8C=E5=AE=A4?= =?UTF-8?q?=E6=94=B9=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ZR.Service/mes/ql/PLRawMaterialService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ZR.Service/mes/ql/PLRawMaterialService.cs b/ZR.Service/mes/ql/PLRawMaterialService.cs index 25eab44c..05dac3a5 100644 --- a/ZR.Service/mes/ql/PLRawMaterialService.cs +++ b/ZR.Service/mes/ql/PLRawMaterialService.cs @@ -6,6 +6,7 @@ using ZR.Model.MES.ql; using ZR.Model.MES.wms; using ZR.Model.MES.wms.Dto; using ZR.Service.mes.ql.IService; +using static Org.BouncyCastle.Crypto.Engines.SM2Engine; namespace ZR.Service.mes.ql { @@ -70,7 +71,7 @@ namespace ZR.Service.mes.ql .AndIF(starttime > new DateTime(2023, 1, 1, 0, 0, 0), it => it.CreatedTime >= starttime.ToLocalTime()) .AndIF(endTime > new DateTime(2023, 1, 1, 0, 0, 0), it => it.CreatedTime <= endTime.ToLocalTime()) .AndIF(!string.IsNullOrEmpty(pci), it => it.Pci.Contains(pci)) - .AndIF(!string.IsNullOrEmpty(colorCode), it => it.Pci.Contains(colorCode)) + .AndIF(!string.IsNullOrEmpty(colorCode), it =>it.Code.Contains(colorCode)) .AndIF(!string.IsNullOrEmpty(description), it => it.Description.Contains(description)) .ToExpression();