|
@@ -918,7 +918,7 @@ namespace MySystem
|
|
|
// int BigCount = db.PosMachinesTwo.Count(m => m.UserId == puser.Id && m.BrandId == 3); //判断是否拥有2台大机
|
|
|
// int BigActiveCount = db.PosMachinesTwo.Count(m => m.UserId == puser.Id && m.ActivationState == 1 && m.BrandId == 3); //判断是否拥有2台激活大机(不限购买或赠送)
|
|
|
function.WriteLog("条件:machineCount:" + machineCount + ",ActiveCount:" + ActiveCount + ",couponCount:" + couponCount + "", "开机奖励发放日志");
|
|
|
- if (machineCount + ActiveCount + couponCount >= 3)
|
|
|
+ if (ActiveCount + couponCount >= 3)
|
|
|
{
|
|
|
function.WriteLog("满足条件", "开机奖励发放日志");
|
|
|
int pTopUserId = 0;
|