如洲 陈
2025-09-30 af8a3bd6decd62c60993fa2a4d51866eb4d255de
MES.Service/service/QC/XJService.cs
@@ -114,6 +114,12 @@
            .WhereIF(queryObj.fsubmit.HasValue && queryObj.fsubmit.Value == 0,
                (s, a, c, b) => SqlFunc.IsNull(s.Fsubmit, 0) != 1)
            .WhereIF(id > 0, (s, a, c, b) => s.Id == id)
            .WhereIF(!string.IsNullOrEmpty(queryObj.lineNo), (s, a, c, b) => c.LineNo == queryObj.lineNo)
            .WhereIF(!string.IsNullOrEmpty(queryObj.SearchValue),
                (s, a, c, b) => s.ItemNo.ToLower().Contains(queryObj.SearchValue.ToLower()) ||
                               s.BillNo.ToLower().Contains(queryObj.SearchValue.ToLower()) ||
                               s.ReleaseNo.ToLower().Contains(queryObj.SearchValue.ToLower()) ||
                               b.ItemName.ToLower().Contains(queryObj.SearchValue.ToLower()))
            .Select((s, a, c, b) => new QsQaItemXj
            {
                Daa020 = c.LineNo,
@@ -168,6 +174,12 @@
            .WhereIF(queryObj.fsubmit.HasValue && queryObj.fsubmit.Value == 0,
                (s, a, c, b) => SqlFunc.IsNull(s.Fsubmit, 0) != 1)
            .WhereIF(id > 0, (s, a, c, b) => s.Id == id)
            .WhereIF(!string.IsNullOrEmpty(queryObj.lineNo), (s, a, c, b) => c.LineNo == queryObj.lineNo)
            .WhereIF(!string.IsNullOrEmpty(queryObj.SearchValue),
                (s, a, c, b) => s.ItemNo.ToLower().Contains(queryObj.SearchValue.ToLower()) ||
                               s.BillNo.ToLower().Contains(queryObj.SearchValue.ToLower()) ||
                               s.ReleaseNo.ToLower().Contains(queryObj.SearchValue.ToLower()) ||
                               b.ItemName.ToLower().Contains(queryObj.SearchValue.ToLower()))
            .Select((s, a, c, b) => new QsQaItemXj
            {
                Daa020 = c.LineNo,