From 626324c6aac0ace48aeb6e7dc72b4ce49d9b240a Mon Sep 17 00:00:00 2001
From: yxj <yxj@hz-kingdee.com>
Date: 星期五, 23 八月 2024 09:45:16 +0800
Subject: [PATCH] 1

---
 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