|  | @@ -137,8 +137,8 @@ public class TeacherDefaultMusicGroupSalaryServiceImpl extends BaseServiceImpl<L
 | 
											
												
													
														|  |  											throw new BizException("课酬设置不完整");
 |  |  											throw new BizException("课酬设置不完整");
 | 
											
												
													
														|  |  										}
 |  |  										}
 | 
											
												
													
														|  |  										Integer studentNum = classGroupStudentNumMap.get(ts.getClassGroupId());
 |  |  										Integer studentNum = classGroupStudentNumMap.get(ts.getClassGroupId());
 | 
											
												
													
														|  | -										if(studentNum == null || studentNum == 0){
 |  | 
 | 
											
												
													
														|  | -											studentNum = 1;
 |  | 
 | 
											
												
													
														|  | 
 |  | +										if(studentNum == null){
 | 
											
												
													
														|  | 
 |  | +											studentNum = 0;
 | 
											
												
													
														|  |  										}
 |  |  										}
 | 
											
												
													
														|  |  										if(studentNum>5){
 |  |  										if(studentNum>5){
 | 
											
												
													
														|  |  											studentNum = 5;
 |  |  											studentNum = 5;
 | 
											
										
											
												
													
														|  | @@ -170,8 +170,8 @@ public class TeacherDefaultMusicGroupSalaryServiceImpl extends BaseServiceImpl<L
 | 
											
												
													
														|  |  											classGroupStudentNumMap.put(ts.getClassGroupId(), strs.length);
 |  |  											classGroupStudentNumMap.put(ts.getClassGroupId(), strs.length);
 | 
											
												
													
														|  |  										}
 |  |  										}
 | 
											
												
													
														|  |  										Integer studentNum = classGroupStudentNumMap.get(ts.getClassGroupId());
 |  |  										Integer studentNum = classGroupStudentNumMap.get(ts.getClassGroupId());
 | 
											
												
													
														|  | -										if(studentNum == null || studentNum == 0){
 |  | 
 | 
											
												
													
														|  | -											studentNum = 1;
 |  | 
 | 
											
												
													
														|  | 
 |  | +										if(studentNum == null){
 | 
											
												
													
														|  | 
 |  | +											studentNum = 0;
 | 
											
												
													
														|  |  										}
 |  |  										}
 | 
											
												
													
														|  |  										ts.setExpectSalary(ts.getExpectSalary().multiply(new BigDecimal(studentNum)));
 |  |  										ts.setExpectSalary(ts.getExpectSalary().multiply(new BigDecimal(studentNum)));
 | 
											
												
													
														|  |  									}
 |  |  									}
 | 
											
										
											
												
													
														|  | @@ -200,8 +200,8 @@ public class TeacherDefaultMusicGroupSalaryServiceImpl extends BaseServiceImpl<L
 | 
											
												
													
														|  |  											classGroupStudentNumMap.put(ts.getClassGroupId(), strs.length);
 |  |  											classGroupStudentNumMap.put(ts.getClassGroupId(), strs.length);
 | 
											
												
													
														|  |  										}
 |  |  										}
 | 
											
												
													
														|  |  										Integer studentNum = classGroupStudentNumMap.get(ts.getClassGroupId());
 |  |  										Integer studentNum = classGroupStudentNumMap.get(ts.getClassGroupId());
 | 
											
												
													
														|  | -										if(studentNum == null || studentNum == 0){
 |  | 
 | 
											
												
													
														|  | -											studentNum = 1;
 |  | 
 | 
											
												
													
														|  | 
 |  | +										if(studentNum == null){
 | 
											
												
													
														|  | 
 |  | +											studentNum = 0;
 | 
											
												
													
														|  |  										}
 |  |  										}
 | 
											
												
													
														|  |  										ts.setExpectSalary(ts.getExpectSalary().multiply(new BigDecimal(studentNum)));
 |  |  										ts.setExpectSalary(ts.getExpectSalary().multiply(new BigDecimal(studentNum)));
 | 
											
												
													
														|  |  									}
 |  |  									}
 |