|
@@ -239,6 +239,7 @@ public class TeacherAttendanceServiceImpl extends BaseServiceImpl<Long, TeacherA
|
|
|
null);
|
|
|
teacherAttendance.setSignInTime(date);
|
|
|
teacherAttendance.setSignInStatus(YesOrNoEnum.YES);
|
|
|
+ teacherAttendance.setCurrentClassTimes(classGroup.getCurrentClassTimes() + 1);
|
|
|
boolean isSign = false;
|
|
|
if(yesOrNoEnum == YesOrNoEnum.YES){
|
|
|
isSign = true;
|
|
@@ -273,7 +274,6 @@ public class TeacherAttendanceServiceImpl extends BaseServiceImpl<Long, TeacherA
|
|
|
}else {
|
|
|
throw new BizException("签退时间异常");
|
|
|
}
|
|
|
- teacherAttendance.setCurrentClassTimes(classGroup.getCurrentClassTimes() + 1);
|
|
|
teacherAttendance.setSignOutTime(date);
|
|
|
teacherAttendanceDao.update(teacherAttendance);
|
|
|
//教师签退后,给未签到学员添加旷课记录
|