Esempio n. 1
0
        /// <summary>
        /// 查找仓库商品
        /// </summary>
        /// <param name="QueryStr"></param>
        /// <returns></returns>
        private IList <Item> SearchGoodsInventory(ref int totalNum, MYDZ.Entity.Goods.QueryCriteriaForInventory QueryStr = null)
        {
            IList <Item> list       = null;
            tbClientUser clientuser = GetUser("UserInfo");

            list = goodsinfo.ReturnInventoryByCriteria(clientuser.UserShops[0].SessionKey.ToString(), ref totalNum, QueryStr);
            return(list);
        }
Esempio n. 2
0
        public ViewResult SHowGoodsInventory(MYDZ.Entity.Goods.QueryCriteriaForInventory QueryStr)
        {
            IList <Item> result   = null;
            int          totalNum = 0;

            result           = (SearchGoodsInventory(ref totalNum, QueryStr));
            ViewBag.totalNum = totalNum;
            return(View(result));
        }