Joburgess преди 5 години
родител
ревизия
3bb8af5fd8
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      mec-biz/src/main/java/com/ym/mec/biz/service/impl/ClassGroupTeacherMapperServiceImpl.java

+ 2 - 0
mec-biz/src/main/java/com/ym/mec/biz/service/impl/ClassGroupTeacherMapperServiceImpl.java

@@ -265,6 +265,8 @@ public class ClassGroupTeacherMapperServiceImpl extends BaseServiceImpl<Long, Cl
 
                 TeacherAttendance teacherAttendance=new TeacherAttendance();
                 teacherAttendance.setMusicGroupId(courseScheduleTeacherSalary.getMusicGroupId());
+                teacherAttendance.setTeacherId(classGroupTeacherMapper.getUserId());
+                teacherAttendance.setClassGroupId(classGroupTeacherMapper.getClassGroupId());
                 teacherAttendance.setGroupType(courseScheduleTeacherSalary.getGroupType());
                 teacherAttendance.setCourseScheduleId(courseScheduleTeacherSalary.getCourseScheduleId());
                 teacherAttendance.setCreateTime(date);