From 53ad51d3ca943a98c5a5a9450db0235562fd5500 Mon Sep 17 00:00:00 2001 From: lilili Date: Wed, 29 Mar 2023 09:15:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8B=A3=E6=96=99=E5=AD=90?= =?UTF-8?q?=E8=A1=A8=E6=9F=A5=E8=AF=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WMS-BS/NFine.Application/WMS/PickMaterialApp.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/WMS-BS/NFine.Application/WMS/PickMaterialApp.cs b/WMS-BS/NFine.Application/WMS/PickMaterialApp.cs index 49fbb15..54e749d 100644 --- a/WMS-BS/NFine.Application/WMS/PickMaterialApp.cs +++ b/WMS-BS/NFine.Application/WMS/PickMaterialApp.cs @@ -365,7 +365,7 @@ where a.IssueCode='{0}' and a.WorkPoint='{1}'"; left join ICSInventory d on a.InvCode=d.InvCode and a.WorkPoint=d.WorkPoint left join ICSMOPickMerge e on a.ID=e.SourceID and a.WorkPoint=e.WorkPoint left join ICSExtension f on a.ExtensionID=f.ID and a.WorkPoint=f.WorkPoint - where a.ApplyCode='{0}' and b.WorkPoint='{1}'"; + where a.ApplyCode='{0}' and a.WorkPoint='{1}'"; sql = string.Format(sql, Code, WorkPoint); return Repository().FindTableBySql(sql.ToString()); } @@ -441,7 +441,7 @@ where a.IssueCode='{0}' and a.WorkPoint='{1}'"; left join ICSInventory d on a.InvCode=d.InvCode and a.WorkPoint=d.WorkPoint left join ICSMOPickMerge e on a.ID=e.SourceID and a.WorkPoint=e.WorkPoint left join ICSExtension f on a.ExtensionID=f.ID and a.WorkPoint=f.WorkPoint - where a.IssueCode='{0}' and b.WorkPoint='{1}'"; + where a.IssueCode='{0}' and a.WorkPoint='{1}'"; sql = string.Format(sql, Code, WorkPoint); return Repository().FindTableBySql(sql.ToString()); } @@ -511,7 +511,7 @@ where a.IssueCode='{0}' and a.WorkPoint='{1}'"; left join ICSInventory d on a.InvCode=d.InvCode and a.WorkPoint=d.WorkPoint left join ICSMOPickMerge e on a.ID=e.SourceID and a.WorkPoint=e.WorkPoint left join ICSExtension f on a.ExtensionID=f.ID and a.WorkPoint=f.WorkPoint - where a.SDNCode='{0}' and b.WorkPoint='{1}'"; + where a.SDNCode='{0}' and a.WorkPoint='{1}'"; sql = string.Format(sql, Code, WorkPoint); return Repository().FindTableBySql(sql.ToString()); } @@ -582,7 +582,7 @@ where a.IssueCode='{0}' and a.WorkPoint='{1}'"; left join ICSInventory d on a.InvCode=d.InvCode and a.WorkPoint=d.WorkPoint left join ICSMOPickMerge e on a.ID=e.SourceID and a.WorkPoint=e.WorkPoint left join ICSExtension f on a.ExtensionID=f.ID and a.WorkPoint=f.WorkPoint - where a.OutCode='{0}' and b.WorkPoint='{1}'"; + where a.OutCode='{0}' and a.WorkPoint='{1}'"; sql = string.Format(sql, Code, WorkPoint); return Repository().FindTableBySql(sql.ToString()); } @@ -656,7 +656,7 @@ where a.IssueCode='{0}' and a.WorkPoint='{1}'"; left join ICSInventory d on a.InvCode=d.InvCode and a.WorkPoint=d.WorkPoint left join ICSMOPickMerge e on a.ID=e.SourceID and a.WorkPoint=e.WorkPoint left join ICSExtension f on a.ExtensionID=f.ID and a.WorkPoint=f.WorkPoint - where a.BrrowCode='{0}' and b.WorkPoint='{1}'"; + where a.BrrowCode='{0}' and a.WorkPoint='{1}'"; sql = string.Format(sql, Code, WorkPoint); return Repository().FindTableBySql(sql.ToString()); } @@ -794,7 +794,7 @@ where a.IssueCode='{0}' and a.WorkPoint='{1}'"; left join ICSInventory d on a.InvCode=d.InvCode and a.WorkPoint=d.WorkPoint left join ICSMOPickMerge e on a.ID=e.SourceID and a.WorkPoint=e.WorkPoint left join ICSExtension f on a.ExtensionID=f.ID and a.WorkPoint=f.WorkPoint - where a.OutCode='{0}' and b.WorkPoint='{1}'"; + where a.OutCode='{0}' and a.WorkPoint='{1}'"; sql = string.Format(sql, Code, WorkPoint); return Repository().FindTableBySql(sql.ToString()); } @@ -900,7 +900,7 @@ b.InvUnit, a.InvCode, b.InvName, b.InvStd, -b.InvUnit, + b.InvUnit, SUM(ISNULL(a.Quantity, 0)) AS iQuantity, a.WhCode, a.ExtensionID @@ -938,7 +938,7 @@ b.InvUnit, a.InvCode, b.InvName, b.InvStd, -b.InvUnit, + b.InvUnit, SUM(ISNULL(a.Quantity, 0)) AS iQuantity, a.WhCode, a.ExtensionID