Exemple #1
0
        /// <summary>
        /// 按商品统计销售数据
        /// </summary>
        /// <param name="paraModel"></param>
        /// <param name="startIndex"></param>
        /// <param name="pageSize"></param>
        /// <returns></returns>
        public PageModel <SaleQueryGoodsModel> GetSaleDataByGoods(QueryParaModel paraModel, int startIndex, int pageSize)
        {
            DataSet ds = vsgqDAL.GetSaleData(3, paraModel, startIndex, pageSize);
            BQuery <SaleQueryGoodsModel>    bq        = new BQuery <SaleQueryGoodsModel>();
            PageModel <SaleQueryGoodsModel> pageModel = bq.DsToPageModel <SaleQueryGoodsModel>(ds, "");

            return(pageModel);
        }
Exemple #2
0
        /// <summary>
        /// 按仓库统计采购数据
        /// </summary>
        /// <param name="paraModel"></param>
        /// <param name="startIndex"></param>
        /// <param name="pageSize"></param>
        /// <returns></returns>
        public PageModel <PerQueryStoreModel> GetPerDataByStore(QueryParaModel paraModel, int startIndex, int pageSize)
        {
            DataSet ds = vpgqDAL.GetPerData(2, paraModel, startIndex, pageSize);
            BQuery <PerQueryStoreModel>    bq        = new BQuery <PerQueryStoreModel>();
            PageModel <PerQueryStoreModel> pageModel = bq.DsToPageModel <PerQueryStoreModel>(ds, "");

            return(pageModel);
        }