|
@@ -4318,13 +4318,18 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
if (masterMap.size() <= 0) {
|
|
|
throw new BizException("所选主班没有剩余课程,请重新选择");
|
|
|
}
|
|
|
+ List<Map<String, String>> classGroupStudents = (List<Map<String, String>>) JSON.parse(classGroupStudentMap);
|
|
|
+ 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);
|
|
|
+ //主班
|
|
|
//获取学员列表
|
|
|
Map<Integer, String> userNames = MapUtil.convertMybatisMap(teacherDao.queryUsernameByIds(studentIds));
|
|
|
Map<Integer, String> phoneMaps = MapUtil.convertMybatisMap(teacherDao.queryPhoneByIds(StringUtils.join(studentIds, ",")));
|
|
|
|
|
|
Map<Integer, Integer> studentCLassMap = new HashMap<>();
|
|
|
List<Map<Integer, BigDecimal>> surplusCourseFeeMapList = new ArrayList<>();
|
|
|
- List<Map<String, String>> classGroupStudents = (List<Map<String, String>>) JSON.parse(classGroupStudentMap);
|
|
|
//班级列表
|
|
|
/*List<Integer> classGroupIds = classGroupStudents.stream().map(e -> Integer.parseInt(e.keySet().iterator().next())).collect(Collectors.toList());
|
|
|
classGroupIds.add(masterClassGroupId);
|