配置移除 报错

back_recharge
zhangshanxue 2020-04-27 10:07:43 +08:00
parent f20ce8ad39
commit a011e862f2
1 changed files with 6 additions and 1 deletions

View File

@ -367,7 +367,12 @@ public class GlobalDataManaager implements IManager {
updateBuyTimesGoodsId.add(next.getKey());
long endTime = next.getValue();
while (endTime<now){
endTime += SRechargeCommodityConfig.rechargeCommodityConfigMap.get(next.getKey()).getDailyUpdate() * TimeUtils.ONE_DAY ;
SRechargeCommodityConfig sRechargeCommodityConfig = SRechargeCommodityConfig.rechargeCommodityConfigMap.get(next.getKey());
if(null==sRechargeCommodityConfig){
LOGGER.error("Exception旧配置删除");
break;
}
endTime += sRechargeCommodityConfig.getDailyUpdate() * TimeUtils.ONE_DAY ;
}
refreshBagMap.put(next.getKey(),endTime);
update =true;