社稷积分
parent
13849ac7b8
commit
64700c9190
|
@ -70,6 +70,9 @@ public class Cmd_fixsj extends GmAbstract {
|
||||||
for (Integer uid : sendUids) {
|
for (Integer uid : sendUids) {
|
||||||
|
|
||||||
Double zSetScore1 = RedisUtil.getInstence().getZSetScore(RankEnum.EXPERT_RANK.getRedisKey(), "50002", Integer.toString(uid));
|
Double zSetScore1 = RedisUtil.getInstence().getZSetScore(RankEnum.EXPERT_RANK.getRedisKey(), "50002", Integer.toString(uid));
|
||||||
|
if(zSetScore1<0){
|
||||||
|
zSetScore1=0d;
|
||||||
|
}
|
||||||
sumValue+=zSetScore1;
|
sumValue+=zSetScore1;
|
||||||
}
|
}
|
||||||
if(sumValue<0){
|
if(sumValue<0){
|
||||||
|
|
Loading…
Reference in New Issue