From d5ca00ae21018adf8987bde8b2ab4dc7c9a3fc7f Mon Sep 17 00:00:00 2001 From: 王 垚 <1402714037@qq.com> Date: 星期一, 06 十二月 2021 16:22:40 +0800 Subject: [PATCH] 工资结算单(其他) --- WebAPI/DLL/工资管理/ClsPay_OtherBalBill.cs | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/WebAPI/DLL/ClsPay_OtherBalBill.cs "b/WebAPI/DLL/\345\267\245\350\265\204\347\256\241\347\220\206/ClsPay_OtherBalBill.cs" similarity index 95% rename from WebAPI/DLL/ClsPay_OtherBalBill.cs rename to "WebAPI/DLL/\345\267\245\350\265\204\347\256\241\347\220\206/ClsPay_OtherBalBill.cs" index be97614..ef24bcd 100644 --- a/WebAPI/DLL/ClsPay_OtherBalBill.cs +++ "b/WebAPI/DLL/\345\267\245\350\265\204\347\256\241\347\220\206/ClsPay_OtherBalBill.cs" @@ -3,12 +3,12 @@ using System.Text; using System.Data; -namespace DAL +namespace WebAPI.DLL { public class ClsPay_OtherBalBill : DBUtility.ClsXt_BaseBill { - public Model.ClsPay_OtherBalBillMain omodel = new Model.ClsPay_OtherBalBillMain(); - public List<Model.ClsPay_OtherBalBillSub> DetailColl = new List<Model.ClsPay_OtherBalBillSub>(); + public Models.ClsPay_OtherBalBillMain omodel = new Models.ClsPay_OtherBalBillMain(); + public List<Models.ClsPay_OtherBalBillSub> DetailColl = new List<Models.ClsPay_OtherBalBillSub>(); public ClsPay_OtherBalBill() { @@ -61,7 +61,7 @@ DeleteBillSub(lngBillKey); //鎻掑叆瀛愯〃 omodel.HInterID = lngBillKey; - foreach (Model.ClsPay_OtherBalBillSub oSub in DetailColl) + foreach (Models.ClsPay_OtherBalBillSub oSub in DetailColl) { oCn.RunProc("Insert into Pay_OtherBalBillSub " + " (HInterID,HEntryID,HCloseMan,HEntryCloseDate,HCloseType,HRemark" + @@ -83,7 +83,7 @@ ") "); } // - //foreach (Model.ClsPay_SingleBalBillSub oSub in DetailColl) + //foreach (Models.ClsPay_SingleBalBillSub oSub in DetailColl) //{ // Ds = oCn.RunProcReturn("exec h_p_Pay_SingleBalBill_Qty " + oSub.HICMOInterID, ""); // if (Ds.Tables[0].Rows.Count == 0) @@ -117,15 +117,15 @@ //涓昏〃 oCn.RunProc("Insert Into Pay_OtherBalBillMain " + "(HBillType,HBillSubType,HInterID,HBillNo,HDate" + - ",HYear,HPeriod,HRemark,HMaker,HMakeDate,HSaveFlag" + + ",HYear,HPeriod,HRemark,HMaker,HMakeDate" + ",HGroupID,HDeptID,HEmpID,HPayType,HExplanation,HInnerBillNo" + ") " + " values('" + this.BillType + "','" + this.HBillSubType + "'," + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "','" + omodel.HDate + "'" + - ", " + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + DBUtility.ClsPub.CurUserName + "',getdate()," + + ", " + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + DBUtility.ClsPub.CurUserName + "',getdate()" + ", " + omodel.HGroupID.ToString() + "," + omodel.HDeptID.ToString() + "," + omodel.HEmpID.ToString() + "," + omodel.HPayType.ToString() + ",'" + omodel.HExplanation + "','" + omodel.HInnerBillNo + "'" + ") "); //鎻掑叆瀛愯〃 - foreach (Model.ClsPay_OtherBalBillSub oSub in DetailColl) + foreach (Models.ClsPay_OtherBalBillSub oSub in DetailColl) { oCn.RunProc("Insert into Pay_OtherBalBillSub " + " (HInterID,HEntryID,HCloseMan,HEntryCloseDate,HCloseType,HRemark" + @@ -147,7 +147,7 @@ ") "); } // - //foreach (Model.ClsPay_SingleBalBillSub oSub in DetailColl) + //foreach (Models.ClsPay_SingleBalBillSub oSub in DetailColl) //{ // Ds = oCn.RunProcReturn("exec h_p_Pay_SingleBalBill_Qty " + oSub.HICMOInterID, ""); // if (Ds.Tables[0].Rows.Count == 0) @@ -224,7 +224,7 @@ DetailColl.Clear();//娓呯┖ for (int i = 0; i < DsSub.Tables[0].Rows.Count; i++) { - Model.ClsPay_OtherBalBillSub oSub = new Model.ClsPay_OtherBalBillSub(); + Models.ClsPay_OtherBalBillSub oSub = new Models.ClsPay_OtherBalBillSub(); // 鍥哄畾璧嬪��=============================================== oSub.HInterID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HInterID"]); oSub.HEntryID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HEntryID"]); -- Gitblit v1.9.1