浏览代码

删除学生修改

周箭河 5 年之前
父节点
当前提交
84cd9b0c8a

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/ClassGroupStudentMapperServiceImpl.java

@@ -56,7 +56,7 @@ public class ClassGroupStudentMapperServiceImpl extends BaseServiceImpl<Long, Cl
         classStudentMapper.setStatus(ClassGroupStudentStatusEnum.QUIT);
         update(classStudentMapper);
         StudentRegistration student = studentRegistrationService.findStudentByClassGroupIdAndUserId(userId, classGroupId);
-        student.setClassGroupId(null);
+        student.setClassGroupId(0);
         studentRegistrationService.update(student);
 
         //2、班级人数调整