|
|
@@ -91,6 +91,10 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
otherItem.Add("Name", "大机券库存");
|
|
|
otherItem.Add("Count", maindb.PosCoupons.Count(m => m.IsUse == 0 && m.IsLock == 0 && m.UserId == 0 && m.QueryCount == 2));
|
|
|
statlist.Add(otherItem);
|
|
|
+ otherItem = new Dictionary<string, object>();
|
|
|
+ otherItem.Add("Name", "电渠卡库存");
|
|
|
+ otherItem.Add("Count", maindb.PosMachinesTwo.Count(m => m.BrandId == 14 && m.PosSn.StartsWith("CS") && m.BuyUserId == 0 && m.BindingState == 0 && m.ActivationState == 0));
|
|
|
+ statlist.Add(otherItem);
|
|
|
ViewBag.statlist = statlist;
|
|
|
List<BsModels.RightDic> datalist = db.RightDic.Where(m => m.MainDataList == 1).OrderBy(m => m.Id).ToList();
|
|
|
ViewBag.datalist = datalist;
|