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