| 
					
				 | 
			
			
				@@ -2199,9 +2199,9 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             throw new BizException("未找到用户分部属性"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (sysUser.getOrganId().equals(DALIAN_ORGAN_ID)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            sysUser.setOrganId(SHENYANG_ORGAN_ID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//        if (sysUser.getOrganId().equals(DALIAN_ORGAN_ID)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//            sysUser.setOrganId(SHENYANG_ORGAN_ID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         List<Integer> includeTeacherIds = new ArrayList<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         List<ExtendTeacherBasicDto> organAndSubjectTeachers = teacherDao.findTeaTeachersByOrganAndSubject2(sysUser.getOrganId(), subjectId); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -2224,6 +2224,7 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             List<CourseSchedule> vipCourses = courseTypeCourseMap.get(CourseSchedule.CourseScheduleType.VIP); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (!CollectionUtils.isEmpty(vipCourses)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 for (CourseSchedule vipCourse : vipCourses) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -3389,24 +3390,32 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             throw new BizException("请指定推送类型:JIGUANG、SMS、ALL"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        String baseApiUrl = sysConfigDao.findConfigValue("base_api_url"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         List<CourseScheduleEvaluate> reports = courseScheduleEvaluateDao.findExpiredDateBeforeReport(expiredDate); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if(CollectionUtils.isEmpty(reports)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        String baseApiUrl = sysConfigDao.findConfigValue("base_api_url"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for (CourseScheduleEvaluate report : reports) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             PracticeGroup userFreePracticeGroup = practiceGroupDao.get(Long.valueOf(report.getMusicGroupId())); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(Objects.isNull(userFreePracticeGroup)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                continue; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ClassGroup classGroup = classGroupDao.findByMusicGroupAndType(userFreePracticeGroup.getId().toString(), GroupType.PRACTICE.getCode()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             CourseScheduleEvaluate courseScheduleEvaluate = courseScheduleEvaluateDao.findByClassGroupId(classGroup.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if(Objects.isNull(courseScheduleEvaluate)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                throw new BizException("未生成课程报告"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                continue; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             String pushUrl = baseApiUrl + "/#/reportDetail?classGroupId=" + classGroup.getId(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             String smsUrl = baseApiUrl + "/#/transfer?url=http://mstudev.dayaedu.com&hash=reportDetail&classGroupId=" + classGroup.getId(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SysUser student = sysUserFeignService.queryUserById(userFreePracticeGroup.getStudentId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//            SysUser student = sysUserFeignService.queryUserById(userFreePracticeGroup.getStudentId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            SysUser student = teacherDao.getUser(userFreePracticeGroup.getStudentId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if(pushType.equals("ALL")||pushType.equals("JIGUANG")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 Map<Integer, String> userMap = new HashMap<>(); 
			 |