|
@@ -122,7 +122,7 @@ public class UserController {
|
|
List<AdminUserDO> studentList =userService.selectAllList(reqVO);
|
|
List<AdminUserDO> studentList =userService.selectAllList(reqVO);
|
|
if (studentList!=null&&!studentList.isEmpty()){
|
|
if (studentList!=null&&!studentList.isEmpty()){
|
|
studentList.forEach(student->{
|
|
studentList.forEach(student->{
|
|
- //TODO设置为0需要判断很多
|
|
|
|
|
|
+ //0为无效
|
|
student.setSupervisorId(0L);
|
|
student.setSupervisorId(0L);
|
|
userService.updateUser(BeanUtils.toBean(student,UserSaveReqVO.class));
|
|
userService.updateUser(BeanUtils.toBean(student,UserSaveReqVO.class));
|
|
});
|
|
});
|