|
|
@@ -1138,7 +1138,8 @@ namespace MySystem
|
|
|
if (pos != null)
|
|
|
{
|
|
|
function.WriteLog("sn:" + pos.PosSn, "开机奖励发放日志");
|
|
|
- if (pos.BindingTime > DateTime.Now.AddDays(-30))
|
|
|
+ bool IsGet = db.OpenRewardDetail.Any(m => m.SnNo == pos.PosSn);
|
|
|
+ if (pos.BindingTime > DateTime.Now.AddDays(-30) && !IsGet)
|
|
|
{
|
|
|
decimal ActPrize = decimal.Parse(function.CheckNum(pos.SeoKeyword));
|
|
|
function.WriteLog("押金:" + pos.SeoKeyword, "开机奖励发放日志");
|