diff --git a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs index ceb9da4..6f88374 100644 --- a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs +++ b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs @@ -213,7 +213,7 @@ namespace ICSSoft.DataProject a.SDNQuantity AS IssueQuantity,"; tableNameMerge = @"ICSSDN a - INNER JOIN ICSMOPickMerge mer ON a.SDNDetailID=mer.SourceID AND a.WorkPoint=mer.WorkPoint"; + INNER JOIN ICSMOPickMerge mer ON a.ID=mer.SourceID AND a.WorkPoint=mer.WorkPoint"; columns = @"a.SDNCode AS TransCode, a.SDNDetailID AS DetailID, @@ -426,7 +426,7 @@ namespace ICSSoft.DataProject a.OutQuantity AS IssueQuantity,"; tableNameMerge = @"ICSOtherOut a - INNER JOIN ICSMOPickMerge mer ON a.OutDetailID=mer.SourceID AND a.WorkPoint=mer.WorkPoint"; + INNER JOIN ICSMOPickMerge mer ON a.ID=mer.SourceID AND a.WorkPoint=mer.WorkPoint"; columns = @"a.OutCode AS TransCode, a.OutDetailID AS DetailID, @@ -450,7 +450,7 @@ namespace ICSSoft.DataProject a.IssueQuantity AS IssueQuantity,"; tableNameMerge = @"ICSMOApply a - INNER JOIN ICSMOPickMerge mer ON a.ApplyDetailID=mer.SourceID AND a.WorkPoint=mer.WorkPoint"; + INNER JOIN ICSMOPickMerge mer ON a.ID=mer.SourceID AND a.WorkPoint=mer.WorkPoint"; columns = @"a.ApplyCode AS TransCode, a.ApplyDetailID AS DetailID, @@ -474,7 +474,7 @@ namespace ICSSoft.DataProject a.IssueQuantity AS IssueQuantity,"; tableNameMerge = @"ICSOApply a - INNER JOIN ICSMOPickMerge mer ON a.ApplyDetailID=mer.SourceID AND a.WorkPoint=mer.WorkPoint"; + INNER JOIN ICSMOPickMerge mer ON a.ID=mer.SourceID AND a.WorkPoint=mer.WorkPoint"; columns = @"a.ApplyCode AS TransCode, a.ApplyDetailID AS DetailID,