|
@@ -1931,6 +1931,9 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
// throw new BizException(classGroup.getName() + numWaring + "请调整");
|
|
|
// }
|
|
|
salary = JSON.parseObject(teacherDefaultMusicGroupSalary.getSalaryRuleJson()).getBigDecimal(studentNum.toString());
|
|
|
+ if(Objects.isNull(salary)){
|
|
|
+ throw new BizException("课酬设置异常");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if (classGroup4MixDto.getCourseType().equals(CourseSchedule.CourseScheduleType.MUSIC_NETWORK)) {
|
|
@@ -2234,6 +2237,9 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
// throw new BizException(classGroup.getName() + numWaring + "请调整");
|
|
|
// }
|
|
|
salary = JSON.parseObject(teacherDefaultMusicGroupSalary.getSalaryRuleJson()).getBigDecimal(studentNum.toString());
|
|
|
+ if(Objects.isNull(salary)){
|
|
|
+ throw new BizException("课酬设置异常");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if (classGroup4MixDto.getCourseType().equals(CourseSchedule.CourseScheduleType.MUSIC_NETWORK)) {
|
|
@@ -2520,6 +2526,9 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
// throw new BizException(classGroup.getName() + numWaring + "请调整");
|
|
|
// }
|
|
|
salary = JSON.parseObject(teacherDefaultMusicGroupSalary.getSalaryRuleJson()).getBigDecimal(studentNum.toString());
|
|
|
+ if(Objects.isNull(salary)){
|
|
|
+ throw new BizException("课酬设置异常");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if (classGroup4MixDto.getCourseType().equals(CourseSchedule.CourseScheduleType.MUSIC_NETWORK)) {
|