|
|
@@ -1646,7 +1646,7 @@ public class TeacherServiceImpl extends ServiceImpl<TeacherDao, Teacher> impleme
|
|
|
teacher.setLockFlag(UserLockFlag.NORMAL.equals(teacher.getLockFlag()) ? UserLockFlag.LOCKED : UserLockFlag.NORMAL);
|
|
|
|
|
|
if(teacher.getLockFlag() == UserLockFlag.LOCKED){
|
|
|
- userFeignService.exitByPhone(ClientEnum.TEACHER.getCode().toLowerCase(), sysUser.getPhone());
|
|
|
+ userFeignService.exitByPhone(ClientEnum.TEACHER.getCode().toLowerCase(), baseMapper.getBasicUserInfo(teacherId).getPhone());
|
|
|
}
|
|
|
|
|
|
this.updateById(teacher);
|