|
@@ -172,7 +172,7 @@ public class StudentServiceImpl extends ServiceImpl<StudentDao, Student> impleme
|
|
|
if (null == detail) {
|
|
|
return HttpResponseResult.failed("未找老师信息");
|
|
|
}
|
|
|
- if (UserLockFlag.LOCKED.equals(detail.getLockFlag())) {
|
|
|
+ if (UserLockFlag.LOCK.equals(detail.getLockFlag())) {
|
|
|
return HttpResponseResult.failed("老师被锁定");
|
|
|
}
|
|
|
if (null == old || (null != isUpdate && isUpdate)) {
|