From 983a5fc0fe2b4c1021ad8eea190a5818d03f1738 Mon Sep 17 00:00:00 2001 From: "1005539536@qq.com" <58543wxm> Date: Tue, 31 May 2022 15:32:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=88=90=E6=9D=A1=E7=A0=81=20?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs b/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs index 09d1115..44ad328 100644 --- a/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs +++ b/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs @@ -49,7 +49,7 @@ where d.Type='1'"; { if (!string.IsNullOrWhiteSpace(queryParam["POCode"].ToString())) { - sql += " and a.POCode like '%" + queryParam["POCode"].ToString() + "%' "; + sql += " and a.ApplyNegCode like '%" + queryParam["POCode"].ToString() + "%' "; } if (!string.IsNullOrWhiteSpace(queryParam["InvCode"].ToString())) { @@ -565,7 +565,7 @@ where a.Type='2'"; { if (!string.IsNullOrWhiteSpace(queryParam["POCode"].ToString())) { - sql += " and a.MOCode like '%" + queryParam["POCode"].ToString() + "%' "; + sql += " and a.SDNCode like '%" + queryParam["POCode"].ToString() + "%' "; } if (!string.IsNullOrWhiteSpace(queryParam["InvCode"].ToString())) { @@ -1582,7 +1582,7 @@ where a.DNType='3' and a.Status='2' and a.EATTRIBUTE1 is NOT null { if (!string.IsNullOrWhiteSpace(queryParam["POCode"].ToString())) { - sql += " and a.RCVCode like '%" + queryParam["POCode"].ToString() + "%' "; + sql += " and a.ApplyNegCode like '%" + queryParam["POCode"].ToString() + "%' "; } if (!string.IsNullOrWhiteSpace(queryParam["InvCode"].ToString())) { @@ -1898,7 +1898,7 @@ left join (select b.TransCode,b.TransSequence,sum(isnull(Quantity,0)) LOTQTY fro { if (!string.IsNullOrWhiteSpace(queryParam["POCode"].ToString())) { - sql += " and a.RCVCode like '%" + queryParam["POCode"].ToString() + "%' "; + sql += " and a.ApplyNegCode like '%" + queryParam["POCode"].ToString() + "%' "; } if (!string.IsNullOrWhiteSpace(queryParam["InvCode"].ToString())) {