提交 e70f27f2 作者: 张小凤

Merge branch 'develop'

...@@ -87,12 +87,13 @@ public class SignInServiceImpl implements SignInService { ...@@ -87,12 +87,13 @@ public class SignInServiceImpl implements SignInService {
Integer integral = signInDO.getIntegral(); Integer integral = signInDO.getIntegral();
Integer allPoint=0; Integer allPoint=0;
List<UserContinuousCheckInVO> userContinuousCheckInVO = signInDO.getUserContinuousCheckInVO(); List<UserContinuousCheckInVO> userContinuousCheckInVO = signInDO.getUserContinuousCheckInVO();
Integer bonusPoints=0;
List<UserContinuousCheckInVO> collect = userContinuousCheckInVO.stream().filter(t -> t.getNumberOfDays() == 1).collect(Collectors.toList()); List<UserContinuousCheckInVO> collect = userContinuousCheckInVO.stream().filter(t -> t.getNumberOfDays() == 1).collect(Collectors.toList());
for (UserContinuousCheckInVO continuousCheckInVO : collect) { for (UserContinuousCheckInVO continuousCheckInVO : collect) {
Integer bonusPoints = continuousCheckInVO.getBonusPoints(); bonusPoints= continuousCheckInVO.getBonusPoints();
allPoint=integral+bonusPoints;
} }
allPoint=integral+bonusPoints;
changeUserPointVO.setChangePoint(allPoint); changeUserPointVO.setChangePoint(allPoint);
} }
userPointsService.change(changeUserPointVO); userPointsService.change(changeUserPointVO);
......
...@@ -18,4 +18,4 @@ patches: ...@@ -18,4 +18,4 @@ patches:
images: images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG - name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/cms newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/cms
newTag: f26701983c97bf4eb7320469b3f5596813008986 newTag: cef2a5b7c70595d4ed54105a080d5eef44541bfa
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论