|
@@ -2066,8 +2066,8 @@ public class CourseScheduleTeacherSalaryServiceImpl extends BaseServiceImpl<Long
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public Map<String, BigDecimal> teacherIncomeStat(Integer teacherId, Integer year) {
|
|
|
- List<Map<String, BigDecimal>> monthIncomeMapList = courseScheduleTeacherSalaryDao.teacherIncomeStat(teacherId, year);
|
|
|
+ public Map<String, BigDecimal> teacherIncomeStat(Integer teacherId, Integer year, Integer month) {
|
|
|
+ List<Map<String, BigDecimal>> monthIncomeMapList = courseScheduleTeacherSalaryDao.teacherIncomeStat(teacherId, year, month);
|
|
|
Map<String, BigDecimal> monthIncomeMap = MapUtil.convertIntegerMap(monthIncomeMapList);
|
|
|
LocalDate now = LocalDate.now();
|
|
|
DateTimeFormatter dateFormatter = DateTimeFormatter.ofPattern("yyyy-MM");
|