@ -548,7 +548,7 @@ public class TeacherServiceImpl implements TeacherService {
}
for (TeacherGradeVo grade : gradeList) {
if(teacher.getId().equals(grade.getId())) {
if(StringUtils.isNotEmpty(teacher.getId()) && teacher.getId().equals(grade.getId())) {
if(StringUtils.isNotEmpty(grade.getPeriodId())) {
teacher.setPeriodId(grade.getPeriodId());