|
@@ -137,7 +137,7 @@ public class TeacherDefaultMusicGroupSalaryServiceImpl extends BaseServiceImpl<L
|
|
|
throw new BizException("课酬设置不完整");
|
|
|
}
|
|
|
Integer studentNum = classGroupStudentNumMap.get(ts.getClassGroupId());
|
|
|
- if(studentNum == null){
|
|
|
+ if(studentNum == null || studentNum == 0){
|
|
|
studentNum = 1;
|
|
|
}
|
|
|
ts.setExpectSalary(new BigDecimal(obj.getDouble(studentNum + "")));
|