Authored by chenjian

判断是否已经领过券

... ... @@ -446,10 +446,10 @@ public class OrderShareActivityServiceImpl implements IOrderShareActivityService
int count = userCouponHistoryDAO.selectCountAfter(uid, activityId, todayZero);
if(count > 0) {
log.warn("the user have draw coupon today, uid: {}, count: {}", uid, count);
return false;
return true;
}
log.info("the user haven't draw coupon today, uid: {}, fromTime: {}", uid, todayZero);
return true;
return false;
}
/**
... ...