|
@@ -1096,7 +1096,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
//如果学员已经在某些班级,
|
|
//如果学员已经在某些班级,
|
|
Boolean isExistClassGroup = classGroupStudentMapperDao.existByClassGroupIds(classGroupIdListStr,studentId);
|
|
Boolean isExistClassGroup = classGroupStudentMapperDao.existByClassGroupIds(classGroupIdListStr,studentId);
|
|
if(isExistClassGroup){
|
|
if(isExistClassGroup){
|
|
- throw new BizException("操作失败:学员已存在");
|
|
|
|
|
|
+ return true;
|
|
}
|
|
}
|
|
List<ClassGroup> classGroupList = classGroupDao.findClassGroupByIds(classGroupIdListStr);
|
|
List<ClassGroup> classGroupList = classGroupDao.findClassGroupByIds(classGroupIdListStr);
|
|
if (classGroupList == null || classGroupList.size() == 0) {
|
|
if (classGroupList == null || classGroupList.size() == 0) {
|