From 5d7e809ed08be4354ec31e53b7a580f2c30c1e8a Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期日, 12 五月 2024 15:05:28 +0800
Subject: [PATCH] 盟祺-增加客户物料编码

---
 Tiger.Business/WMS/MengQi/Biz.Mq.SNData.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Tiger.Business/WMS/MengQi/Biz.Mq.SNData.cs b/Tiger.Business/WMS/MengQi/Biz.Mq.SNData.cs
index c6e8205..1d63e76 100644
--- a/Tiger.Business/WMS/MengQi/Biz.Mq.SNData.cs
+++ b/Tiger.Business/WMS/MengQi/Biz.Mq.SNData.cs
@@ -124,6 +124,7 @@
                         .WhereIF(!string.IsNullOrEmpty(strTime[2]), x => x.ModelCode.Equals(strTime[2]))
                         .WhereIF(!string.IsNullOrEmpty(strTime[3]), x => x.CustomerCode.Equals(strTime[3]))
                         .WhereIF(!string.IsNullOrEmpty(strTime[4]), x => x.DeliveryNo.Equals(strTime[4]))
+                        .WhereIF(!string.IsNullOrEmpty(strTime[5]), x => x.CustModel.Equals(strTime[5]))
                         .ToPageListAsync(pageList.pageIndex, pageList.pageSize, total);
                     pageList.totals = total;
                 }
@@ -157,6 +158,7 @@
                         .WhereIF(!string.IsNullOrEmpty(where.model), x => x.ModelCode == where.model)
                         .WhereIF(!string.IsNullOrEmpty(where.customerCode), x => x.CustomerCode.Equals(where.customerCode))
                         .WhereIF(!string.IsNullOrEmpty(where.deliveryNo), x => x.DeliveryNo.Equals(where.deliveryNo))
+                        .WhereIF(!string.IsNullOrEmpty(where.custParam1), x => x.CustModel.Equals(where.custParam1))
                         .ToListAsync();
                 }
                 catch (Exception ex)
@@ -189,6 +191,7 @@
                         .WhereIF(!string.IsNullOrEmpty(where.model), x => x.ItemCode == where.model)
                         .WhereIF(!string.IsNullOrEmpty(where.customerCode), x => x.CustomerCode.Equals(where.customerCode))
                         .WhereIF(!string.IsNullOrEmpty(where.deliveryNo), x => x.DeliveryNo.Equals(where.deliveryNo))
+                        .WhereIF(!string.IsNullOrEmpty(where.custParam1), x => x.CustModel.Equals(where.custParam1))
                         .OrderBy(x=>x.CREATE_TIME).OrderBy(x => x.Scanner).ToListAsync();
                 }
                 catch (Exception ex)

--
Gitblit v1.9.3