提交 f4798cfd 作者: 张小凤

Merge branch 'develop'

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