|
@@ -4322,7 +4322,10 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
Map<String, String> convertIntegerMap = MapUtil.convertIntegerMap(classGroupStudents);
|
|
|
List<Integer> classIdList = convertIntegerMap.keySet().stream().map(e->Integer.parseInt(e)).collect(Collectors.toList());
|
|
|
classIdList.add(masterClassGroupId);
|
|
|
- Boolean hasConverCourse = classGroupDao.hasConvertCourse(classIdList);
|
|
|
+ Boolean hasConvertCourse = classGroupDao.hasConvertCourse(classIdList);
|
|
|
+ if(hasConvertCourse != null && hasConvertCourse){
|
|
|
+ throw new BizException("所选班级有转换课,请重新选择");
|
|
|
+ }
|
|
|
//主班
|
|
|
//获取学员列表
|
|
|
Map<Integer, String> userNames = MapUtil.convertMybatisMap(teacherDao.queryUsernameByIds(studentIds));
|