yujian
2019-11-12 46a33cb062800fe051a75dd025a57d70994217d5
fanli/src/main/java/com/yeshi/fanli/service/impl/redpack/RedPackWinInviteServiceImpl.java
@@ -255,6 +255,15 @@
      if(boss == null) 
         return;
      
      UserActiveLog activeLog = userActiveLogService.getUserLatestActiveInfo(boss.getId());
      if (activeLog != null) {
         // 小于2.0.2版本不增加积分
         if (!VersionUtil.greaterThan_2_0_2("appstore".equalsIgnoreCase(activeLog.getChannel()) ? "ios" : "android",
               activeLog.getVersionCode()))
            return;
      }
      // 同一队员奖励一次
      long totalReward = redPackWinInviteMapper.countByUidAndTeamUidAndType(boss.getId(), uid, RedPackWinInviteTypeEnum.inviteSucceed.name());
      if (totalReward > 0)