Crazy 4 hónapja
szülő
commit
a2f8910d8d

+ 1 - 1
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/UserController.java

@@ -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));
                 });
                 });