|  | @@ -419,7 +419,7 @@ public class MusicGroupPaymentCalenderServiceImpl extends BaseServiceImpl<Long,
 | 
	
		
			
				|  |  |  				}else if(musicGroupPaymentCalenderDto.getMergeClassFlag()){
 | 
	
		
			
				|  |  |  					//缴费项目添加学员
 | 
	
		
			
				|  |  |  					int[] ints = Arrays.stream(musicGroupPaymentCalenderDto.getStudentIds().split(",")).mapToInt(Integer::parseInt).toArray();
 | 
	
		
			
				|  |  | -					List<Integer> list2 = Arrays.stream(ints).boxed().collect(Collectors.toList());
 | 
	
		
			
				|  |  | +					Set<Integer> list2 = Arrays.stream(ints).boxed().collect(Collectors.toSet());
 | 
	
		
			
				|  |  |  					musicGroupPaymentCalenderDetailService.batchAdd(musicGroupPaymentCalender.getId(),list2);
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  |  			}
 | 
	
	
		
			
				|  | @@ -965,7 +965,7 @@ public class MusicGroupPaymentCalenderServiceImpl extends BaseServiceImpl<Long,
 | 
	
		
			
				|  |  |  		for (MusicGroupPaymentCalender calender : musicGroupPaymentCalenders) {
 | 
	
		
			
				|  |  |  			//缴费项目添加学员
 | 
	
		
			
				|  |  |  			int[] ints = Arrays.stream(calender.getStudentIds().split(",")).mapToInt(Integer::parseInt).toArray();
 | 
	
		
			
				|  |  | -			List<Integer> list2 = Arrays.stream(ints).boxed().collect(Collectors.toList());
 | 
	
		
			
				|  |  | +			Set<Integer> list2 = Arrays.stream(ints).boxed().collect(Collectors.toSet());
 | 
	
		
			
				|  |  |  			musicGroupPaymentCalenderDetailService.batchAdd(calender.getId(),list2);
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  		//每种课程类型单独排课
 | 
	
	
		
			
				|  | @@ -1103,8 +1103,10 @@ public class MusicGroupPaymentCalenderServiceImpl extends BaseServiceImpl<Long,
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	//推送待续费通知
 | 
	
		
			
				|  |  | -	public void pushWaitRenewMessage(Long calenderId,MusicGroup musicGroup){
 | 
	
		
			
				|  |  | -		Set<Integer> studentIds = musicGroupPaymentCalenderDetailDao.queryNoPaymentStudentIds(calenderId);
 | 
	
		
			
				|  |  | +	public void pushWaitRenewMessage(Long calenderId,MusicGroup musicGroup,Set<Integer> studentIds){
 | 
	
		
			
				|  |  | +		if(studentIds == null){
 | 
	
		
			
				|  |  | +			studentIds = musicGroupPaymentCalenderDetailDao.queryNoPaymentStudentIds(calenderId);
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  |  		if (studentIds.size() > 0) {
 | 
	
		
			
				|  |  |  			String baseUrl = sysConfigDao.findConfigValue(SysConfigService.BASE_API_URL);
 | 
	
		
			
				|  |  |  			String memo = "4?" + baseUrl + "/#/musicGroupRenew?calenderId="+calenderId+"&id=" + musicGroup.getId();
 | 
	
	
		
			
				|  | @@ -1157,7 +1159,7 @@ public class MusicGroupPaymentCalenderServiceImpl extends BaseServiceImpl<Long,
 | 
	
		
			
				|  |  |  				mgpc.setStatus(PaymentCalenderStatusEnum.OPEN);
 | 
	
		
			
				|  |  |  				updateMusicGroupPaymentCalenderList.add(mgpc);
 | 
	
		
			
				|  |  |  				//推送待续费通知
 | 
	
		
			
				|  |  | -				pushWaitRenewMessage(mgpc.getId(),musicGroup);
 | 
	
		
			
				|  |  | +				pushWaitRenewMessage(mgpc.getId(),musicGroup,null);
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  		if (updateMusicGroupPaymentCalenderList.size() > 0) {
 |