|  | @@ -322,12 +322,11 @@ public class StudentServeServiceImpl implements StudentServeService {
 | 
	
		
			
				|  |  |          Set<Integer> hss = studentCourseHomeworkDao.checkStudentHaveHomeworkInDateRange(monDayDate.toString(), sunDayDate.toString(), studentIds);
 | 
	
		
			
				|  |  |          Set<Integer> ess = extracurricularExercisesReplyDao.checkStudentHaveExercisesInDateRange(monDayDate.toString(), sunDayDate.toString(), studentIds);
 | 
	
		
			
				|  |  |          for (Integer studentId : studentIds) {
 | 
	
		
			
				|  |  | -            if(!hss.contains(studentId)&&!ess.contains(studentId)){
 | 
	
		
			
				|  |  | +            if(hss.contains(studentId)||ess.contains(studentId)){
 | 
	
		
			
				|  |  |                  result.put("isAssignHomework", 1);
 | 
	
		
			
				|  |  |                  return result;
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        result.put("isAssignHomework", 0);
 | 
	
		
			
				|  |  |          return result;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  }
 |