| 
					
				 | 
			
			
				@@ -435,7 +435,7 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (courseRemitFee.compareTo(BigDecimal.ZERO) > 0 && !newCourse.getIsStudentOptional()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     studentPaymentOrderDetailCourse.setPrice(BigDecimal.ZERO); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     studentPaymentOrderDetailCourse.setRemitFee(newCourse.getCourseCurrentPrice()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     studentPaymentOrderDetailCourse.setPrice(newCourse.getCourseCurrentPrice()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     studentPaymentOrderDetailCourse.setRemitFee(BigDecimal.ZERO); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -578,7 +578,7 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (courseRemitFee.compareTo(BigDecimal.ZERO) > 0 && !newCourse.getIsStudentOptional()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     studentPaymentOrderDetailCourse.setPrice(BigDecimal.ZERO); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     studentPaymentOrderDetailCourse.setRemitFee(newCourse.getCourseCurrentPrice()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     studentPaymentOrderDetailCourse.setPrice(newCourse.getCourseCurrentPrice()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     studentPaymentOrderDetailCourse.setRemitFee(BigDecimal.ZERO); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1137,7 +1137,11 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (currentPaymentCalenderId.longValue() == musicGroupPaymentCalender.getId()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 musicGroupPaymentCalenderDetail.setExpectAmount(courseTotalPrice); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                musicGroupPaymentCalenderDetail.setActualAmount(courseTotalPrice); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (studentPaymentOrder.getCourseRemitFee() != null && (studentPaymentOrder.getCourseRemitFee().compareTo(BigDecimal.ZERO) > 0)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    musicGroupPaymentCalenderDetail.setActualAmount(BigDecimal.ZERO); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    musicGroupPaymentCalenderDetail.setActualAmount(courseTotalPrice); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 musicGroupPaymentCalenderDetail.setPaymentStatus(MusicGroupStudentFee.PaymentStatus.PAID_COMPLETED); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 musicGroupPaymentCalenderDetail.setPayTime(nowDate); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 musicGroupPaymentCalenderDetail.setPaymentOrderId(studentPaymentOrder.getId()); 
			 |