From 88f49ce7ac39cdfafead5c4a321d9a657b2ec465 Mon Sep 17 00:00:00 2001 From: zrg <z18737863051@163.com> Date: 星期一, 26 八月 2024 17:35:59 +0800 Subject: [PATCH] 1 --- WebAPI/Controllers/CGGL/YF_PayMentBillController.cs | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/WebAPI/Controllers/CGGL/YF_PayMentBillController.cs b/WebAPI/Controllers/CGGL/YF_PayMentBillController.cs index 03729bf..9267506 100644 --- a/WebAPI/Controllers/CGGL/YF_PayMentBillController.cs +++ b/WebAPI/Controllers/CGGL/YF_PayMentBillController.cs @@ -447,7 +447,13 @@ string sReturn = ""; oCN.BeginTran(); - + ds = oCN.RunProcReturn("select * from h_v_YF_PayMentBillList where hmainid=" + HInterID, "h_v_YF_PayMentBillList"); + string hSourceBillType = ds.Tables[0].Rows[0]["婧愬崟绫诲瀷"].ToString(); + if (hSourceBillType == "1114") + { + //鏀舵鍗� 鍒犻櫎鍥炲~ 搴斾粯鍗曞叧鑱旀暟閲� + oCN.RunProc("exec h_p_Cg_UpDateRelation_PayableToPayMent_Del " + HInterID); + } oCN.RunProc("delete from YF_PayMentBillMain where HInterID = " + HInterID); oCN.RunProc("delete from YF_PayMentBillSub where HInterID= " + HInterID); -- Gitblit v1.9.1