gongzuming
2024-09-13 ba985bbb61f8639e3057da519b534778f21709b2
优化
已修改1个文件
3 ■■■■ 文件已修改
src/main/java/com/mzl/flower/schedule/PointScheduleService.java 3 ●●●● 补丁 | 查看 | 原始文档 | 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);
                    }