|
|
@ -69,7 +69,7 @@ public class UserInfoController implements UserInfoControllerApi { |
|
|
|
|
|
|
|
|
|
|
|
//新增学生
|
|
|
|
//新增学生
|
|
|
|
StudentVo studentVo = new StudentVo(); |
|
|
|
StudentVo studentVo = new StudentVo(); |
|
|
|
studentVo.setUserId(userInfoEntity.getUserId()); |
|
|
|
|
|
|
|
studentVo.setRoleId(Integer.valueOf(userInfoEntity.getRoleId())); |
|
|
|
studentVo.setRoleId(Integer.valueOf(userInfoEntity.getRoleId())); |
|
|
|
studentVo.setSchoolId(schoolId); |
|
|
|
studentVo.setSchoolId(schoolId); |
|
|
|
studentVo.setIsdel(0); |
|
|
|
studentVo.setIsdel(0); |
|
|
@ -92,7 +92,7 @@ public class UserInfoController implements UserInfoControllerApi { |
|
|
|
return R.error(400,"添加用户信息失败"); |
|
|
|
return R.error(400,"添加用户信息失败"); |
|
|
|
} |
|
|
|
} |
|
|
|
// userInfoEntity.setUserId(userId);
|
|
|
|
// userInfoEntity.setUserId(userId);
|
|
|
|
|
|
|
|
studentVo.setUserId(userInfoEntity.getUserId()); |
|
|
|
return studentService.addStudentInfo(studentVo); |
|
|
|
return studentService.addStudentInfo(studentVo); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|