|
@@ -229,7 +229,7 @@ public class StudentController extends BaseController {
|
|
if (sysUser != null && sysUser.getUserType().contains(ClientEnum.STUDENT.getCode())) {
|
|
if (sysUser != null && sysUser.getUserType().contains(ClientEnum.STUDENT.getCode())) {
|
|
throw new BizException("学生账号已经存在");
|
|
throw new BizException("学生账号已经存在");
|
|
}
|
|
}
|
|
- studentService.addStudent(student);
|
|
|
|
|
|
+ studentService.save(student);
|
|
return succeed();
|
|
return succeed();
|
|
}
|
|
}
|
|
}
|
|
}
|