예제 #1
0
 /// <summary>
 /// 根据结算ID数组得到发票汇总数据(交款表汇总-打印结算交款表用)
 /// </summary>
 /// <param name="AccountIDs"></param>
 /// <returns></returns>
 public DataTable GetTicketTotle(int[] AccountIDs)
 {
     try
     {
         IcostDao icD = DaoFactory.GetObject <IcostDao>(typeof(CostDao));
         icD.oleDb = oleDb;
         return(icD.GetTicketTotle(AccountIDs));
     }
     catch (System.Exception e)
     {
         throw new Exception(e.Message);
     }
 }
예제 #2
0
 /// <summary>
 /// 得到所有票据汇总
 /// </summary>
 /// <param name="AccountID">交款ID</param>
 /// <returns></returns>
 public DataTable GetTicketTotle(int AccountID)
 {
     try
     {
         //IchargeListDao icLD = DaoFactory.GetObject<IchargeListDao>(typeof(ChargeListDao));
         IcostDao icD = DaoFactory.GetObject <IcostDao>(typeof(CostDao));
         //icLD.oleDb = oleDb;
         icD.oleDb = oleDb;
         return(icD.GetTicketTotle(AccountID));
     }
     catch (System.Exception e)
     {
         throw new Exception(e.Message);
     }
 }