chenhaozhe
2026-03-27 a0f8fee1feea1e1425f7061bbadda9a2f45f0ea1
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();