1
zrg
2025-02-28 4099d7f8f117570380ca75541f7b909433818cf8
WebAPI/Controllers/CGGL/Kf_POStockInBackBillController.cs
@@ -238,6 +238,8 @@
                                 + ",HAddress='" + HAddress + "'where HInterID=" + HInterID;
                    oCN.RunProc(sql);
                    //采购退料删除回填退料通知单关联数量
                    oCN.RunProc("exec h_p_Kf_UpDateRelation_POStockInBackToPOInStockBack_Del " + HInterID);
                    //删除子表
                    oCN.RunProc("delete from Kf_ICStockBillSub where HInterID='" + HInterID + "'");
                }
@@ -445,6 +447,8 @@
                string sReturn = "";
                oCN.BeginTran();
                //采购退料删除回填退料通知单关联数量
                oCN.RunProc("exec h_p_Kf_UpDateRelation_POStockInBackToPOInStockBack_Del " + HInterID);
                oCN.RunProc("Delete From Kf_ICStockBillMain where HInterID = " + HInterID);
                oCN.RunProc("Delete From Kf_ICStockBillSub where HInterID = " + HInterID);
                oCN.Commit();