|  | @@ -910,6 +910,7 @@ public class StudentServeServiceImpl implements StudentServeService {
 | 
	
		
			
				|  |  |              result.put("isAssignHomework", 0);
 | 
	
		
			
				|  |  |              return result;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          String configValue = sysConfigDao.findConfigValue(SysConfigService.HOMEWORK_OPEN_FLAG);
 | 
	
		
			
				|  |  |          if(StringUtils.isEmpty(configValue)){
 | 
	
		
			
				|  |  |              configValue = "0";
 | 
	
	
		
			
				|  | @@ -928,6 +929,8 @@ public class StudentServeServiceImpl implements StudentServeService {
 | 
	
		
			
				|  |  |          LocalDate localDate=LocalDate.now();
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          if(Objects.nonNull(courseScheduleId)){
 | 
	
		
			
				|  |  | +            List<BasicUserDto> students = courseScheduleStudentPaymentDao.findStudents(courseScheduleId);
 | 
	
		
			
				|  |  | +            result.put("courseStudentNum", students.size());
 | 
	
		
			
				|  |  |              CourseSchedule courseSchedule = courseScheduleDao.get(courseScheduleId);
 | 
	
		
			
				|  |  |              if(Objects.isNull(courseSchedule)){
 | 
	
		
			
				|  |  |                  result.put("isAssignHomework", 0);
 | 
	
	
		
			
				|  | @@ -941,7 +944,6 @@ public class StudentServeServiceImpl implements StudentServeService {
 | 
	
		
			
				|  |  |                  if(musicGroup != null){
 | 
	
		
			
				|  |  |                      result.put("courseViewType", musicGroup.getCourseViewType());
 | 
	
		
			
				|  |  |                  }else if(result.get("memberNum") == null){
 | 
	
		
			
				|  |  | -                    List<BasicUserDto> students = courseScheduleStudentPaymentDao.findStudents(courseScheduleId);
 | 
	
		
			
				|  |  |                      Set<Integer> collect = students.stream().map(e -> e.getUserId()).collect(Collectors.toSet());
 | 
	
		
			
				|  |  |                      result.put("memberNum", studentDao.getMemberNum(StringUtils.join(collect,",")));
 | 
	
		
			
				|  |  |                  }
 |