src/main/java/com/mzl/flower/schedule/PointScheduleService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/mzl/flower/schedule/PointScheduleService.java
@@ -68,7 +68,8 @@ if(customerPoint == null ){ log.error("用户积分记录不存在,userId={},customerId={}",pointDTO.getUserId(),pointDTO.getCustomerId()); }else { customerPoint.setExpiredPoint(expiredPoint); Integer expiredPointTotal = customerPoint.getExpiredPoint()==null?0:customerPoint.getExpiredPoint(); customerPoint.setExpiredPoint(expiredPoint+expiredPointTotal); customerPointMapper.updateById(customerPoint); }