示例#1
0
        public static DataTable GetProductInfoBatchTableBycondition(ProductInfoModel model, string QueryID, string EFIndex, string EFDesc, int pageIndex, int pageCount, string OrderBy, ref int totalCount)
        {
            try
            {
                DataTable dt = new DataTable();
                if (QueryID == "-1")
                {
                    return(ProductInfoDBHelper.GetProductInfoBycondition(model));
                }
                else
                {
                    return(ProductInfoDBHelper.GetProductInfoBatchTableBycondition(model, QueryID, EFIndex, EFDesc, pageIndex, pageCount, OrderBy, ref totalCount));
                }
            }
            catch (Exception ex)
            {
                return(null);

                throw ex;
            }
        }