From bf4da57a1dd067849696a99b06e5a8da7b93804b Mon Sep 17 00:00:00 2001 From: wtt <1985833171@qq.com> Date: 星期二, 05 十一月 2024 21:09:09 +0800 Subject: [PATCH] 采购销售修改单据号 --- WebAPI/Controllers/CJGL/Cj_StationInBillController.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WebAPI/Controllers/CJGL/Cj_StationInBillController.cs b/WebAPI/Controllers/CJGL/Cj_StationInBillController.cs index 0e5dc14..6a5c68d 100644 --- a/WebAPI/Controllers/CJGL/Cj_StationInBillController.cs +++ b/WebAPI/Controllers/CJGL/Cj_StationInBillController.cs @@ -578,10 +578,10 @@ Where a.HInterID={HProcExchInterID} and b.HEntryID={HProcExchEntryID} ) a inner join ( -select a.HICMOInterID,a.HICMOEntryID, b.HProcID +select a.HICMOInterID,a.HICMOEntryID,isnull(c.HItemID,0) HProcID from Sc_PPBomBillMain a with(nolock) inner join Sc_PPBomBillSub b with(nolock) on a.HInterID=b.HInterID -Where b.HKeyMaterID_Line<>0 +left join Gy_Process c on b.HProcName = c.HName )b on a.HICMOInterID=b.HICMOInterID and a.HICMOEntryID=b.HICMOEntryID and a.HProcID=b.HProcID", "Sc_ProcessExchangeBillMain"); if (ds.Tables[0].Rows.Count > 0) { -- Gitblit v1.9.1