Authored by tanling

过了奖励时间,不入库

... ... @@ -157,8 +157,9 @@ public class InviteSettlementItemCreator {
}
// 验证是否过了奖励时间
int days = activity.getRewardDays() * 24 * 60 * 60;
log.info("{} checkWithInviteActivity. deadlineTime is {}, orderTime is {}", tag, inviteTime + days, orderCreateTime);
if (inviteTime + days < orderCreateTime) {
log.warn("{} fail, reward end", tag);
log.warn("{} fail, reward end.", tag);
return false;
}
}
... ...