From 72e0c48841482d66677f636b1796002f7b7fbe82 Mon Sep 17 00:00:00 2001 From: pzy <2829717936@qq.com> Date: 星期五, 23 八月 2024 10:42:56 +0800 Subject: [PATCH] 11 --- WebAPI/Controllers/XSGL/YS_ReceiveBillController.cs | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/WebAPI/Controllers/XSGL/YS_ReceiveBillController.cs b/WebAPI/Controllers/XSGL/YS_ReceiveBillController.cs index 26eae8e..be4b46e 100644 --- a/WebAPI/Controllers/XSGL/YS_ReceiveBillController.cs +++ b/WebAPI/Controllers/XSGL/YS_ReceiveBillController.cs @@ -393,6 +393,14 @@ oCN.BeginTran(); + ds = oCN.RunProcReturn("select * from h_v_YS_ReceiveBillList where hmainid=" + HInterID, "h_v_YS_ReceiveBillList"); + string hSourceBillType = ds.Tables[0].Rows[0]["婧愬崟绫诲瀷"].ToString(); + if (hSourceBillType == "1426") + { + //鏀舵鍗� 鍒犻櫎鍥炲~ 搴斾粯鍗曞叧鑱旀暟閲� + oCN.RunProc("exec h_p_Xs_UpDateRelation_ReceiveToReceivableIn_Del " + HInterID); + } + oCN.RunProc("delete from YS_ReceiveBillMain where HInterID = " + HInterID); oCN.RunProc("delete from YS_ReceiveBillSub where HInterID= " + HInterID); -- Gitblit v1.9.1