예제 #1
0
        public PageList <StockItem> PageListItems(StockItemSearchParam param, int pageIndex = 1, int pageSize = 20)
        {
            var util = param.ToSearchUtil();

            return(db.Query <StockItem>(util, pageIndex, pageSize));
        }
예제 #2
0
        /// <summary>
        /// 获取符合条件的所有盘点项
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        public IEnumerable <StockItemDto> FetchDto(StockItemSearchParam param)
        {
            var util = param.ToSearchUtil();

            return(_db.Fetch <StockItemDto>(util, "StockItemView"));
        }
예제 #3
0
        public IEnumerable <StockItem> Items(StockItemSearchParam param)
        {
            var util = param.ToSearchUtil();

            return(db.Fetch <StockItem>(util));
        }