From 015997e4efd5e5189498c9af00b7805919a676b2 Mon Sep 17 00:00:00 2001 From: duhe <226547893@qq.com> Date: 星期三, 15 十一月 2023 19:44:17 +0800 Subject: [PATCH] 特批申请单:审核时判断源单是否处于创建状态,不是则审核失败 --- WebAPI/Controllers/SCGL/Sc_ComplementGoodBillController.cs | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/WebAPI/Controllers/SCGL/Sc_ComplementGoodBillController.cs b/WebAPI/Controllers/SCGL/Sc_ComplementGoodBillController.cs index 273dfc6..ee29387 100644 --- a/WebAPI/Controllers/SCGL/Sc_ComplementGoodBillController.cs +++ b/WebAPI/Controllers/SCGL/Sc_ComplementGoodBillController.cs @@ -774,6 +774,11 @@ //鎷f枡閰嶉�� 涓嬫煡 ds = oCN.RunProcReturn($"exec h_p_JIT_ComplementGoodsBillList_DownQuery '{com.HSouceInterID}',{com.HSourceEntryID}", "h_p_JIT_ComplementGoodsBillList_DownQuery"); } + else if (com.Type == 3772) + { + //鐢熶骇璁㈠崟 涓嬫煡 宸ュ簭娴佽浆鍗� + ds = oCN.RunProcReturn($"select * from h_v_Sc_ProcessExchangeBillQuery where HICMOInterID='{com.HSouceInterID}' and HICMOEntryID={com.HSourceEntryID} and HBillSubType<>'SUB'", "h_v_Sc_ProcessExchangeBillQuery"); + } //娣诲姞鍒楀悕 foreach (DataColumn col in ds.Tables[0].Columns) -- Gitblit v1.9.1