|
|
@@ -319,7 +319,7 @@ public class LiveRedConfServiceImpl implements ILiveRedConfService {
|
|
|
// 更新数据库
|
|
|
Date now = new Date();
|
|
|
Integer remaining = getRemaining(red.getRedId());
|
|
|
- red.setTotalSend(red.getTotalLots() - remaining);
|
|
|
+ red.setTotalSend(redisUtil.size(String.format(LiveKeysConstant.LIVE_HOME_PAGE_CONFIG_RED, red.getLiveId(), red.getRedId())));
|
|
|
red.setRemaining(remaining);
|
|
|
red.setUpdateTime(now);
|
|
|
baseMapper.updateLiveRedConf(red);
|