Exemple #1
0
 private List <GoodsStockExtend> QueryGoods(Model.StockQueryAgrs entity)
 {
     if (user.IsAdmin && string.IsNullOrEmpty(entity.StoreID.ToString()))
     {
         entity.StoreID = null;
     }
     if (!user.IsAdmin)
     {
         entity.StoreID = user.StoreID;
     }
     return(stockBLL.GetGoodsStockInfo(entity));
 }