|
@@ -82,14 +82,14 @@ namespace MySystem
|
|
UserId = Pos.BuyUserId,
|
|
UserId = Pos.BuyUserId,
|
|
Field1 = Pos.PosSn,
|
|
Field1 = Pos.PosSn,
|
|
});
|
|
});
|
|
|
|
+ //增加账户预扣总额
|
|
|
|
+ Utils.Instance.ToChargeAmount(Pos.BuyUserId, ChargeAmount);
|
|
}
|
|
}
|
|
PosMachinesTwo edit = db.PosMachinesTwo.FirstOrDefault(m => m.Id == Pos.Id);
|
|
PosMachinesTwo edit = db.PosMachinesTwo.FirstOrDefault(m => m.Id == Pos.Id);
|
|
if(edit != null)
|
|
if(edit != null)
|
|
{
|
|
{
|
|
edit.Sort = 2;
|
|
edit.Sort = 2;
|
|
}
|
|
}
|
|
- //增加账户预扣总额
|
|
|
|
- Utils.Instance.ToChargeAmount(Pos.BuyUserId, ChargeAmount);
|
|
|
|
Id = Pos.Id;
|
|
Id = Pos.Id;
|
|
}
|
|
}
|
|
db.SaveChanges();
|
|
db.SaveChanges();
|