|
|
@@ -8,6 +8,7 @@ import com.fs.common.constant.LiveKeysConstant;
|
|
|
import com.fs.common.core.domain.R;
|
|
|
import com.fs.common.core.redis.RedisCache;
|
|
|
import com.fs.common.utils.DateUtils;
|
|
|
+import com.fs.his.mapper.FsUserMapper;
|
|
|
import com.fs.his.service.IFsUserService;
|
|
|
import com.fs.live.domain.*;
|
|
|
import com.fs.live.mapper.LiveMapper;
|
|
|
@@ -48,7 +49,7 @@ public class LiveRedConfServiceImpl implements ILiveRedConfService {
|
|
|
private RedisCache redisCache;
|
|
|
|
|
|
@Autowired
|
|
|
- private IFsUserService userService;
|
|
|
+ private FsUserMapper userService;
|
|
|
@Autowired
|
|
|
private LiveMapper liveMapper;
|
|
|
@Autowired
|
|
|
@@ -297,7 +298,7 @@ public class LiveRedConfServiceImpl implements ILiveRedConfService {
|
|
|
.collect(Collectors.toList());
|
|
|
userRedRecordMapper.insertLiveUserRedRecordBatch(liveUserRedRecords);
|
|
|
for (LiveUserRedRecord liveUserRedRecord : liveUserRedRecords) {
|
|
|
- userService.increaseIntegral(Collections.singletonList(liveUserRedRecord.getUserId()), liveUserRedRecord.getIntegral());
|
|
|
+ userService.incrIntegral(Collections.singletonList(liveUserRedRecord.getUserId()), liveUserRedRecord.getIntegral());
|
|
|
// 保存用户领取芳华币记录 方便统计计算
|
|
|
saveUserRewardRecord(liveUserRedRecord);
|
|
|
}
|