|  | @@ -433,6 +433,13 @@ public class MusicGroupPaymentCalenderServiceImpl extends BaseServiceImpl<Long,
 | 
	
		
			
				|  |  |  					musicGroupPaymentCalenderDetailService.batchAdd(musicGroupPaymentCalender.getId(),list2);
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +			if(musicGroupPaymentCalender.getStatus() == OPEN){
 | 
	
		
			
				|  |  | +				//将0元未缴费学员缴费状态更新为已缴费
 | 
	
		
			
				|  |  | +				int j = musicGroupPaymentCalenderDetailDao.updateNoPaymentAndZeroPaymentStatus(musicGroupPaymentCalender.getId());
 | 
	
		
			
				|  |  | +				musicGroupPaymentCalender.setActualNum((musicGroupPaymentCalender.getActualNum()==null?0:musicGroupPaymentCalender.getActualNum()) + j);
 | 
	
		
			
				|  |  | +				musicGroupPaymentCalenderDao.update(musicGroupPaymentCalender);
 | 
	
		
			
				|  |  | +			}
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  		// 如果是报名,需要修改乐团状态
 | 
	
	
		
			
				|  | @@ -756,6 +763,13 @@ public class MusicGroupPaymentCalenderServiceImpl extends BaseServiceImpl<Long,
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  |  				musicGroupPaymentCalenderCourseSettingsDao.batchInsert(currentMusicGroupPaymentCalenderCourseSettings);
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +			if(musicGroupPaymentCalender.getStatus() == OPEN){
 | 
	
		
			
				|  |  | +				//将0元未缴费学员缴费状态更新为已缴费
 | 
	
		
			
				|  |  | +				int j = musicGroupPaymentCalenderDetailDao.updateNoPaymentAndZeroPaymentStatus(musicGroupPaymentCalender.getId());
 | 
	
		
			
				|  |  | +				musicGroupPaymentCalender.setActualNum((musicGroupPaymentCalender.getActualNum()==null?0:musicGroupPaymentCalender.getActualNum()) + j);
 | 
	
		
			
				|  |  | +				musicGroupPaymentCalenderDao.update(musicGroupPaymentCalender);
 | 
	
		
			
				|  |  | +			}
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  		// 如果是报名,需要修改乐团状态
 | 
	
	
		
			
				|  | @@ -1080,6 +1094,11 @@ public class MusicGroupPaymentCalenderServiceImpl extends BaseServiceImpl<Long,
 | 
	
		
			
				|  |  |  				List<MusicGroupPaymentCalenderCourseSettings> musicGroupPaymentCalenderCourseSettings = musicGroupPaymentCalenderCourseSettingsDao.queryCalenderCourseSettings(musicGroupPaymentCalender.getId());
 | 
	
		
			
				|  |  |  				addStudent(musicGroupPaymentCalender,musicGroupPaymentCalenderCourseSettings);
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  | +			if(musicGroupPaymentCalender.getStatus() == OPEN){
 | 
	
		
			
				|  |  | +				//将0元未缴费学员缴费状态更新为已缴费
 | 
	
		
			
				|  |  | +				int j = musicGroupPaymentCalenderDetailDao.updateNoPaymentAndZeroPaymentStatus(musicGroupPaymentCalender.getId());
 | 
	
		
			
				|  |  | +				musicGroupPaymentCalender.setActualNum((musicGroupPaymentCalender.getActualNum()==null?0:musicGroupPaymentCalender.getActualNum()) + j);
 | 
	
		
			
				|  |  | +			}
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  		MusicGroupPaymentCalender calender = musicGroupPaymentCalenders.get(0);
 | 
	
		
			
				|  |  |  		//如果是报名,并且所有的报名都审核通过,需要修改乐团状态
 |