|
|
@@ -117,7 +117,7 @@ public class UserPayListener {
|
|
|
ChannelUserPoint channelUserPoint = channelUserPointService.getBaseMapper().selectOne(new QueryWrapper<>(new ChannelUserPoint()).lambda()
|
|
|
.eq(ChannelUserPoint::getUserId, billRecord.getUserId())
|
|
|
.eq(ChannelUserPoint::getChannelId, pointChannel.getId()));
|
|
|
- //新增该用户在该商场的积分信息
|
|
|
+ //增加该用户在该商场的积分信息
|
|
|
channelUserPoint.setUsablePoint(channelUserPoint.getUsablePoint().add(mallPointDetail.getPoint()));
|
|
|
channelUserPoint.setTotalPoint(channelUserPoint.getTotalPoint().add(mallPointDetail.getPoint()));
|
|
|
channelUserPoint.setUsablePointValue(channelUserPoint.getUsablePoint().multiply(pointChannel.getPointValue()).divide(BigDecimal.valueOf(100)));
|