From 5060625aff047fc1227a7c9d4fc8044fd0531574 Mon Sep 17 00:00:00 2001
From: tjx <t2856754968@163.com>
Date: 星期六, 20 十二月 2025 09:20:42 +0800
Subject: [PATCH] 11

---
 MES.Service/service/QC/XJService.cs |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/MES.Service/service/QC/XJService.cs b/MES.Service/service/QC/XJService.cs
index 145d6cc..e0f3aed 100644
--- a/MES.Service/service/QC/XJService.cs
+++ b/MES.Service/service/QC/XJService.cs
@@ -138,7 +138,12 @@
                 !"鏈畬鎴�".Equals(queryObj.result),
                 (s, a, c, b) => s.FcheckResu != null)
             .WhereIF(id > 0, (s, a, c, b) => s.Id == id)
-            //.WhereIF(queryObj.Comments != null, (s, a, c, b) => s.Comments == queryObj.Comments)
+            .WhereIF(StringUtil.IsNotNullOrEmpty(queryObj.SearchValue),
+                (s, a, c, b) => s.ReleaseNo.Contains(queryObj.SearchValue) ||
+                                s.ItemNo.Contains(queryObj.SearchValue) ||
+                                s.BillNo.Contains(queryObj.SearchValue) ||
+                                b.ItemName.Contains(queryObj.SearchValue) ||
+                                c.LineNo.Contains(queryObj.SearchValue))
             .Select((s, a, c, b) => new QsQaItemXj
             {
                 Daa020 = c.LineNo,

--
Gitblit v1.9.3