| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -589,6 +589,7 @@ public class UserPointActionLogServiceImpl extends BaseServiceImpl<UserPointActi | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            return; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        list.forEach(grantPoint->{ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            if (null != grantPoint.getPoint()) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                //1.新增用户积分行为记录
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                UserPointActionLogEntity action = new UserPointActionLogEntity(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                action.setCustomerId(grantPoint.getCustomerId()); | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -610,7 +611,7 @@ public class UserPointActionLogServiceImpl extends BaseServiceImpl<UserPointActi | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                baseDao.insert(action); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                //2.新增/修改用户积分日统计
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                DimIdGenerator.DimIdBean dimVal = DimIdGenerator.getDimIdBean(new Date()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            UserPointStatisticalDailyEntity statistical = ConvertUtils.sourceToTarget(dimVal,UserPointStatisticalDailyEntity.class); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                UserPointStatisticalDailyEntity statistical = ConvertUtils.sourceToTarget(dimVal, UserPointStatisticalDailyEntity.class); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                statistical.setPointChange(grantPoint.getPoint()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                statistical.setActionFlag(grantPoint.getActionFlag()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                statistical.setCustomerId(grantPoint.getCustomerId()); | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -628,6 +629,7 @@ public class UserPointActionLogServiceImpl extends BaseServiceImpl<UserPointActi | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                point.setCreatedBy(grantPoint.getOperatorId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                point.setUpdatedBy(grantPoint.getOperatorId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                userPointTotalService.insertOrUpdate(point); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} |