|  | @@ -913,18 +913,18 @@ public class StudentServeServiceImpl implements StudentServeService {
 | 
	
		
			
				|  |  |              return result;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        String configValue = sysConfigDao.findConfigValue(SysConfigService.HOMEWORK_OPEN_FLAG);
 | 
	
		
			
				|  |  | -        if(StringUtils.isEmpty(configValue)){
 | 
	
		
			
				|  |  | -            configValue = "0";
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | +//        String configValue = sysConfigDao.findConfigValue(SysConfigService.HOMEWORK_OPEN_FLAG);
 | 
	
		
			
				|  |  | +//        if(StringUtils.isEmpty(configValue)){
 | 
	
		
			
				|  |  | +//            configValue = "0";
 | 
	
		
			
				|  |  | +//        }
 | 
	
		
			
				|  |  |          List<Integer> studentIds=new ArrayList<>();
 | 
	
		
			
				|  |  |          if(StringUtils.isNotBlank(studentIdsStr)){
 | 
	
		
			
				|  |  | -            if(configValue.equals("0")){
 | 
	
		
			
				|  |  | -                result.put("memberNum",0);
 | 
	
		
			
				|  |  | -            }else {
 | 
	
		
			
				|  |  | +//            if(configValue.equals("0")){
 | 
	
		
			
				|  |  | +//                result.put("memberNum",0);
 | 
	
		
			
				|  |  | +//            }else {
 | 
	
		
			
				|  |  |                  //获取有会员的学员数
 | 
	
		
			
				|  |  | -                result.put("memberNum", studentDao.getMemberNum(studentIdsStr));
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | +//                result.put("memberNum", studentDao.getMemberNum(studentIdsStr));
 | 
	
		
			
				|  |  | +//            }
 | 
	
		
			
				|  |  |              studentIds= Arrays.asList(studentIdsStr.split(",")).stream().map(id->Integer.valueOf(id)).collect(Collectors.toList());
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -938,18 +938,18 @@ public class StudentServeServiceImpl implements StudentServeService {
 | 
	
		
			
				|  |  |                  result.put("isAssignHomework", 0);
 | 
	
		
			
				|  |  |                  return result;
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | -            if(configValue.equals("0")){
 | 
	
		
			
				|  |  | -                result.put("memberNum",0);
 | 
	
		
			
				|  |  | -                result.put("courseViewType", CourseViewTypeEnum.COURSE_FEE);
 | 
	
		
			
				|  |  | -            }else {
 | 
	
		
			
				|  |  | -                MusicGroup musicGroup = musicGroupDao.get(courseSchedule.getMusicGroupId());
 | 
	
		
			
				|  |  | -                if(musicGroup != null){
 | 
	
		
			
				|  |  | -                    result.put("courseViewType", musicGroup.getCourseViewType());
 | 
	
		
			
				|  |  | -                }else if(result.get("memberNum") == null){
 | 
	
		
			
				|  |  | -                    Set<Integer> collect = students.stream().map(e -> e.getUserId()).collect(Collectors.toSet());
 | 
	
		
			
				|  |  | -                    result.put("memberNum", studentDao.getMemberNum(StringUtils.join(collect,",")));
 | 
	
		
			
				|  |  | -                }
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | +//            if(configValue.equals("0")){
 | 
	
		
			
				|  |  | +//                result.put("memberNum",0);
 | 
	
		
			
				|  |  | +//                result.put("courseViewType", CourseViewTypeEnum.COURSE_FEE);
 | 
	
		
			
				|  |  | +//            }else {
 | 
	
		
			
				|  |  | +//                MusicGroup musicGroup = musicGroupDao.get(courseSchedule.getMusicGroupId());
 | 
	
		
			
				|  |  | +//                if(musicGroup != null){
 | 
	
		
			
				|  |  | +//                    result.put("courseViewType", musicGroup.getCourseViewType());
 | 
	
		
			
				|  |  | +//                }else if(result.get("memberNum") == null){
 | 
	
		
			
				|  |  | +//                    Set<Integer> collect = students.stream().map(e -> e.getUserId()).collect(Collectors.toSet());
 | 
	
		
			
				|  |  | +//                    result.put("memberNum", studentDao.getMemberNum(StringUtils.join(collect,",")));
 | 
	
		
			
				|  |  | +//                }
 | 
	
		
			
				|  |  | +//            }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              localDate=LocalDateTime.ofInstant(courseSchedule.getClassDate().toInstant(), DateUtil.zoneId).toLocalDate();
 | 
	
		
			
				|  |  |              List<CourseScheduleStudentPayment> courseScheduleStudentPayments = courseScheduleStudentPaymentDao.findByCourseSchedule(courseScheduleId);
 |