|
@@ -193,7 +193,9 @@ public class TeacherAttendanceServiceImpl extends BaseServiceImpl<Long, TeacherA
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
if(isAttendance){
|
|
if(isAttendance){
|
|
- teacherAttendanceDao.update(teacherAttendance);
|
|
|
|
|
|
+ if(SignStatusEnum.SIGN_OUT.equals(signStatus)){
|
|
|
|
+ teacherAttendanceDao.update(teacherAttendance);
|
|
|
|
+ }
|
|
}else{
|
|
}else{
|
|
teacherAttendanceDao.insert(teacherAttendance);
|
|
teacherAttendanceDao.insert(teacherAttendance);
|
|
}
|
|
}
|