From 97fd362bc8b849b89cb8087e2d86ad7f8280b0f5 Mon Sep 17 00:00:00 2001
From: 王 垚 <1402714037@qq.com>
Date: 星期二, 07 十二月 2021 09:51:55 +0800
Subject: [PATCH] 工资结算单 集体

---
 WebAPI/DLL/工资管理/ClsPay_GroupBalBill.cs |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git "a/WebAPI/DLL/\345\267\245\350\265\204\347\256\241\347\220\206/ClsPay_GroupBalBill.cs" "b/WebAPI/DLL/\345\267\245\350\265\204\347\256\241\347\220\206/ClsPay_GroupBalBill.cs"
index a1c1f2c..0ccab1b 100644
--- "a/WebAPI/DLL/\345\267\245\350\265\204\347\256\241\347\220\206/ClsPay_GroupBalBill.cs"
+++ "b/WebAPI/DLL/\345\267\245\350\265\204\347\256\241\347\220\206/ClsPay_GroupBalBill.cs"
@@ -7,9 +7,9 @@
 {
     public class ClsPay_GroupBalBill : DBUtility.ClsXt_BaseBill
     {
-        public Model.ClsPay_GroupBalBillMain omodel = new Model.ClsPay_GroupBalBillMain();
-        public List<Model.ClsPay_GroupBalBillSub> DetailColl = new List<Model.ClsPay_GroupBalBillSub>();
-        public List<Model.ClsPay_GroupBalBillEmp> DetailEmpColl = new List<Model.ClsPay_GroupBalBillEmp>();
+        public Models.ClsPay_GroupBalBillMain omodel = new Models.ClsPay_GroupBalBillMain();
+        public List<Models.ClsPay_GroupBalBillSub> DetailColl = new List<Models.ClsPay_GroupBalBillSub>();
+        public List<Models.ClsPay_GroupBalBillEmp> DetailEmpColl = new List<Models.ClsPay_GroupBalBillEmp>();
 
         public ClsPay_GroupBalBill()
         {
@@ -66,7 +66,7 @@
                 DeleteBillSub2(lngBillKey);
                 //鎻掑叆瀛愯〃
                 omodel.HInterID = lngBillKey;
-                foreach (Model.ClsPay_GroupBalBillSub oSub in DetailColl)
+                foreach (Models.ClsPay_GroupBalBillSub oSub in DetailColl)
                 {
                     oCn.RunProc("Insert into Pay_GroupBalBillSub " +
                       " (HInterID,HEntryID,HRemark" +
@@ -84,7 +84,7 @@
                 }
                 //
                 //鎻掑叆瀛愯〃2
-                foreach (Model.ClsPay_GroupBalBillEmp oSubSec in DetailEmpColl)
+                foreach (Models.ClsPay_GroupBalBillEmp oSubSec in DetailEmpColl)
                 {
                     oCn.RunProc("Insert into Pay_GroupBalBillEmp " +
                       " (HInterID,HEntryID,HRemark" +
@@ -102,7 +102,7 @@
                         "," + oSubSec.HBaseDays.ToString() + "," + oSubSec.HOverDays.ToString() + "," + oSubSec.HLeaveDays.ToString() + "," + oSubSec.HYf.ToString() +
                         "," + oSubSec.HMoney.ToString() + "," + oSubSec.HOtherSubsidy.ToString() + "," + oSubSec.HOtherDeduct.ToString() + "," + Convert.ToString(oSubSec.HIsPay ? 1 : 0) + "," + Convert.ToString(oSubSec.HAvgFlag ? 1 : 0) + ") ");
                 }
-                //foreach (Model.ClsPay_GroupBalBillSub oSub in DetailColl)
+                //foreach (Models.ClsPay_GroupBalBillSub oSub in DetailColl)
                 //{
                 //    Ds = oCn.RunProcReturn("exec h_p_Pay_GroupBalBill_Qty " + oSub.HICMOInterID, "");
                 //    if (Ds.Tables[0].Rows.Count == 0)
@@ -149,7 +149,7 @@
                 ") ");
                 //
                 //鎻掑叆瀛愯〃
-                foreach (Model.ClsPay_GroupBalBillSub oSub in DetailColl)
+                foreach (Models.ClsPay_GroupBalBillSub oSub in DetailColl)
                 {
                     oCn.RunProc("Insert into Pay_GroupBalBillSub " +
                       " (HInterID,HEntryID,HRemark" +
@@ -167,7 +167,7 @@
                 }
                 //
                 //鎻掑叆瀛愯〃2
-                foreach (Model.ClsPay_GroupBalBillEmp oSubSec in DetailEmpColl)
+                foreach (Models.ClsPay_GroupBalBillEmp oSubSec in DetailEmpColl)
                 {
                     oCn.RunProc("Insert into Pay_GroupBalBillEmp " +
                       " (HInterID,HEntryID,HRemark" +
@@ -186,7 +186,7 @@
                         "," + oSubSec.HMoney.ToString() + "," + oSubSec.HOtherSubsidy.ToString() + "," + oSubSec.HOtherDeduct.ToString() + "," + Convert.ToString(oSubSec.HIsPay ? 1 : 0) + "," + Convert.ToString(oSubSec.HAvgFlag ? 1 : 0) + ") ");
                 }
                 //
-                //foreach (Model.ClsPay_GroupBalBillSub oSub in DetailColl)
+                //foreach (Models.ClsPay_GroupBalBillSub oSub in DetailColl)
                 //{
                 //    Ds = oCn.RunProcReturn("exec h_p_Pay_GroupBalBill_Qty " + oSub.HICMOInterID, "");
                 //    if (Ds.Tables[0].Rows.Count == 0)
@@ -266,7 +266,7 @@
                 DetailColl.Clear();//娓呯┖
                 for (int i = 0; i < DsSub.Tables[0].Rows.Count; i++)
                 {
-                    Model.ClsPay_GroupBalBillSub oSub = new Model.ClsPay_GroupBalBillSub();
+                    Models.ClsPay_GroupBalBillSub oSub = new Models.ClsPay_GroupBalBillSub();
                     // 鍥哄畾璧嬪��===============================================
                     oSub.HInterID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HInterID"]);
                     oSub.HEntryID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HEntryID"]);
@@ -306,7 +306,7 @@
                 DetailEmpColl.Clear();//娓呯┖
                 for (int i = 0; i < DsSubSec.Tables[0].Rows.Count; i++)
                 {
-                    Model.ClsPay_GroupBalBillEmp oSubSec = new Model.ClsPay_GroupBalBillEmp();
+                    Models.ClsPay_GroupBalBillEmp oSubSec = new Models.ClsPay_GroupBalBillEmp();
                     // 鍥哄畾璧嬪��===============================================
                     oSubSec.HInterID = DBUtility.ClsPub.isLong(DsSubSec.Tables[0].Rows[i]["HInterID"]);
                     oSubSec.HEntryID = DBUtility.ClsPub.isLong(DsSubSec.Tables[0].Rows[i]["HEntryID"]);

--
Gitblit v1.9.1