From acb04433b1cfe981f1e8090652d783e3190db22a Mon Sep 17 00:00:00 2001
From: Administrator <Administrator@DESKTOP-5BIMHQ3>
Date: 星期五, 15 三月 2024 16:45:00 +0800
Subject: [PATCH] 问题修改

---
 Wms/WMS.BLL/SysServer/CustomerServer.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Wms/WMS.BLL/SysServer/CustomerServer.cs b/Wms/WMS.BLL/SysServer/CustomerServer.cs
index c6895ce..0af5d65 100644
--- a/Wms/WMS.BLL/SysServer/CustomerServer.cs
+++ b/Wms/WMS.BLL/SysServer/CustomerServer.cs
@@ -25,11 +25,12 @@
         }
 
 
-        public List<CustomerDto> GetCustomerList(string name, int? type, string linkMan, string phone, int page, int limit, out int count)
+        public List<CustomerDto> GetCustomerList(string no,string name, int? type, string linkMan, string phone, int page, int limit, out int count)
         {
             try
             {
                 Expression<Func<SysCustomer, bool>> item = Expressionable.Create<SysCustomer>()
+                    .AndIF(!string.IsNullOrWhiteSpace(no), it => it.CustomerNo.Contains(no.Trim()))
                     .AndIF(!string.IsNullOrWhiteSpace(name), it => it.CustomerName.Contains(name.Trim()))
                     .AndIF(type >= 0, it => it.Type == type)
                     .AndIF(!string.IsNullOrWhiteSpace(linkMan), it => it.LinkMan.Contains(linkMan.Trim()))

--
Gitblit v1.8.0