玉虚论道换一批log

back_recharge
xuexinpeng 2021-11-02 14:41:34 +08:00
parent fb5ec8ed1b
commit f1b2737821
1 changed files with 3 additions and 0 deletions

View File

@ -227,6 +227,9 @@ public class CrossYuxulundaoLogic {
Set<ZSetOperations.TypedTuple<String>> matchRival= RedisUtil.getInstence().getZsetRangeWithScores(RedisKey.CROSS_YUXULUNDAO_RANK_PERSON,
Integer.toString(crossGroup),con.getScoreLow1(),con.getScoreUp1());
matchRival = matchRival.stream().filter(n->Integer.valueOf(n.getValue())!=user.getId()).collect(Collectors.toSet());
LOGGER.info("yuxulundao player ID range from:"+con.getScoreLow1()+" to:"+con.getScoreUp1());
LOGGER.info("yuxulundao player num "+ matchRival.size());
LOGGER.info("yuxulundao player configid: "+ con.getId()+"redis score:"+myQuery.getCrossYuxulundaoNewScore());
if(matchRival.size() >0){
if(matchRival.size()<5){
//需要填充机器人