|
@@ -2845,8 +2845,10 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
for (CourseScheduleTeacherSalary ts : teacherSalaryList) {
|
|
|
dto = map.get(ts.getMusicGroupId());
|
|
|
if (dto != null) {
|
|
|
- ts.setExpectSalary(dto.getTotalAmount().divide(new BigDecimal(dto.getTotalCourseTimes()), RoundingMode.HALF_UP)
|
|
|
- .divide(new BigDecimal(dto.getStudentNum()), RoundingMode.HALF_UP).multiply(new BigDecimal(0.6)));
|
|
|
+ ts.setExpectSalary(dto
|
|
|
+ .getTotalAmount()
|
|
|
+ .divide(new BigDecimal(dto.getTotalCourseTimes()).divide(new BigDecimal(dto.getStudentNum()), RoundingMode.HALF_UP),
|
|
|
+ RoundingMode.HALF_UP).multiply(new BigDecimal(0.6)));
|
|
|
}
|
|
|
}
|
|
|
|