|
@@ -81,9 +81,7 @@ public class SubjectServiceImpl extends BaseServiceImpl<Integer, Subject> implem
|
|
|
Map<Integer, Integer> payNumMap = JSONObject.parseObject(JSONObject.toJSONString(MapUtil.convertIntegerMap(studentRegistrationDao.countPayNum(musicGroupId))), HashMap.class);
|
|
|
subApplyDetail.forEach(detail -> {
|
|
|
Integer num = payNumMap.get(detail.getSubjectId());
|
|
|
- if (!musicGroup.getCourseViewType().equals(CourseViewTypeEnum.CLOUD_TEACHER)) {
|
|
|
- detail.setPayNum(num == null ? 0 : num);
|
|
|
- }
|
|
|
+ detail.setPayNum(num == null ? 0 : num);
|
|
|
num = applyNum.get(detail.getSubjectId());
|
|
|
detail.setApplyStudentNum(num == null ? 0 : num);
|
|
|
|