|
@@ -1286,7 +1286,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
throw new BizException("班级不存在");
|
|
throw new BizException("班级不存在");
|
|
}
|
|
}
|
|
Integer num = classGroupStudentMapperDao.countClassGroupStudentNum(classGroupId);
|
|
Integer num = classGroupStudentMapperDao.countClassGroupStudentNum(classGroupId);
|
|
- classGroup.setStudentNum(num - 1);
|
|
|
|
|
|
+ classGroup.setStudentNum(num);
|
|
classGroup.setUpdateTime(new Date());
|
|
classGroup.setUpdateTime(new Date());
|
|
|
|
|
|
classGroupDao.update(classGroup);
|
|
classGroupDao.update(classGroup);
|