|  | @@ -11,6 +11,7 @@ import com.kmall.admin.service.mk.MkActivitiesScoreService;
 | 
	
		
			
				|  |  |  import com.kmall.admin.service.mk.MkActivitiesService;
 | 
	
		
			
				|  |  |  import com.kmall.admin.utils.ShiroUtils;
 | 
	
		
			
				|  |  |  import com.kmall.common.utils.BeanUtils;
 | 
	
		
			
				|  |  | +import com.kmall.common.utils.RRException;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  |  import org.springframework.stereotype.Service;
 | 
	
		
			
				|  |  |  import org.springframework.transaction.annotation.Transactional;
 | 
	
	
		
			
				|  | @@ -68,6 +69,12 @@ public class MkActivitiesServiceImpl implements MkActivitiesService {
 | 
	
		
			
				|  |  |  //            return 0;
 | 
	
		
			
				|  |  |  //        }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +        Integer priority = mkActivities.getPriority();
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        if (Objects.isNull(priority)) {
 | 
	
		
			
				|  |  | +            throw new RRException(String.format("活动【%s】未设置优先级!", mkaTopic));
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          SysUserEntity user = ShiroUtils.getUserEntity();
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          mkActivities.setCreaterSn(user.getUserId().toString());
 |