Ejemplo n.º 1
0
        /// <summary>
        /// 收款员业务汇总(打印)
        /// </summary>
        /// <param name="?"></param>
        /// <returns></returns>
        public static DataTable GetSellerBusTotal(DateTime Querytime, DateTime Endtime, string Dept, string Seller, string ordercolumn, string ordertype)
        {
            if (Querytime == null)
            {
                return(null);
            }
            string strCompanyCD = string.Empty;

            try
            {
                strCompanyCD = ((UserInfoUtil)SessionUtil.Session["UserInfo"]).CompanyCD;
            }
            catch
            {
                strCompanyCD = "AAAAAA";
            }
            return(SubStorageDBHelper.GetSellerBusTotal(Querytime, Endtime, strCompanyCD, Dept, Seller, ordercolumn, ordertype));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 收款员业务汇总(查询)
        /// </summary>
        /// <param name="?"></param>
        /// <returns></returns>
        public static DataTable GetSellerBusTotal(DateTime Querytime, DateTime Endtime, string Dept, string Seller, int pageIndex, int pageCount, string OrderBy, ref int totalCount)
        {
            if (Querytime == null)
            {
                return(null);
            }
            string strCompanyCD = string.Empty;

            try
            {
                strCompanyCD = ((UserInfoUtil)SessionUtil.Session["UserInfo"]).CompanyCD;
            }
            catch
            {
                strCompanyCD = "AAAAAA";
            }
            return(SubStorageDBHelper.GetSellerBusTotal(Querytime, Endtime, strCompanyCD, Dept, Seller, pageIndex, pageCount, OrderBy, ref totalCount));
        }