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 +++ Tiger.Model.Net/Entitys/WMS/MengQi/SNData_His.cs | 12 ++++++++++++ Tiger.Model.Net/Entitys/WMS/MengQi/SNData.cs | 12 ++++++++++++ 3 files changed, 27 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) diff --git a/Tiger.Model.Net/Entitys/WMS/MengQi/SNData.cs b/Tiger.Model.Net/Entitys/WMS/MengQi/SNData.cs index 951d43d..28ae96e 100644 --- a/Tiger.Model.Net/Entitys/WMS/MengQi/SNData.cs +++ b/Tiger.Model.Net/Entitys/WMS/MengQi/SNData.cs @@ -249,6 +249,18 @@ _DeliveryNo = value; } } + private string _CustModel = null; + public string CustModel + { + get + { + return _CustModel; + } + set + { + _CustModel = value; + } + } } public class SNData_Ext diff --git a/Tiger.Model.Net/Entitys/WMS/MengQi/SNData_His.cs b/Tiger.Model.Net/Entitys/WMS/MengQi/SNData_His.cs index 1de6533..caf6f59 100644 --- a/Tiger.Model.Net/Entitys/WMS/MengQi/SNData_His.cs +++ b/Tiger.Model.Net/Entitys/WMS/MengQi/SNData_His.cs @@ -116,6 +116,18 @@ _DeliveryNo = value; } } + private string _CustModel = null; + public string CustModel + { + get + { + return _CustModel; + } + set + { + _CustModel = value; + } + } } public class SNDataWhere -- Gitblit v1.9.3