Browse Source

拦不住了吗

feature/evaluate
yinzuomei 4 years ago
parent
commit
6bee625a4e
  1. 2
      epmet-module/epmet-point/epmet-point-server/src/main/java/com/epmet/service/impl/UserPointActionLogServiceImpl.java

2
epmet-module/epmet-point/epmet-point-server/src/main/java/com/epmet/service/impl/UserPointActionLogServiceImpl.java

@ -589,6 +589,7 @@ public class UserPointActionLogServiceImpl extends BaseServiceImpl<UserPointActi
return; return;
} }
list.forEach(grantPoint->{ list.forEach(grantPoint->{
if (null != grantPoint.getPoint()) {
//1.新增用户积分行为记录 //1.新增用户积分行为记录
UserPointActionLogEntity action = new UserPointActionLogEntity(); UserPointActionLogEntity action = new UserPointActionLogEntity();
action.setCustomerId(grantPoint.getCustomerId()); action.setCustomerId(grantPoint.getCustomerId());
@ -628,6 +629,7 @@ public class UserPointActionLogServiceImpl extends BaseServiceImpl<UserPointActi
point.setCreatedBy(grantPoint.getOperatorId()); point.setCreatedBy(grantPoint.getOperatorId());
point.setUpdatedBy(grantPoint.getOperatorId()); point.setUpdatedBy(grantPoint.getOperatorId());
userPointTotalService.insertOrUpdate(point); userPointTotalService.insertOrUpdate(point);
}
}); });
} }
} }
Loading…
Cancel
Save