| 
														
															@@ -401,26 +401,11 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			three.setDesc(IndexErrorType.TEACHER_INFO.getMsg()); 
														 | 
														
														 | 
														
															 			three.setDesc(IndexErrorType.TEACHER_INFO.getMsg()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			List<IndexErrInfoDto> threeChild = new ArrayList<>(); 
														 | 
														
														 | 
														
															 			List<IndexErrInfoDto> threeChild = new ArrayList<>(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-//			int teacherLeave = indexBaseMonthDataDao.queryTeacherLeave(organIdsStr,startTime); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-//			threeChild.add(new IndexErrInfoDto(IndexErrorType.TEACHER_LEAVE, IndexErrorType.TEACHER_LEAVE.getMsg(),teacherLeave, null)); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			String monthStr = DateUtil.format(date, DateUtil.ISO_YEAR_MONTH_FORMAT); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			//全职未离职老师 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			//预计课酬较低 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			int lowTeacherSalary = indexBaseMonthDataDao.queryLowTeacherSalary(organIdsStr,monthStr); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			threeChild.add(new IndexErrInfoDto(IndexErrorType.TEACHER_EXPECT_SALARY_BE_LOW, IndexErrorType.TEACHER_EXPECT_SALARY_BE_LOW.getMsg(),lowTeacherSalary, null)); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			//课程时间安排异常 
														 | 
														
														 | 
														
															 			//课程时间安排异常 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			Integer userId = null; 
														 | 
														
														 | 
														
															 			Integer userId = null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			if (!userRole.contains(SysUserRole.SECTION_MANAGER) && !sysUser.getIsSuperAdmin()) { 
														 | 
														
														 | 
														
															 			if (!userRole.contains(SysUserRole.SECTION_MANAGER) && !sysUser.getIsSuperAdmin()) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				userId = sysUser.getId(); 
														 | 
														
														 | 
														
															 				userId = sysUser.getId(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			} 
														 | 
														
														 | 
														
															 			} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			int courseTimeError = 0; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			if(classGroupIds == null || classGroupIds.size() > 0){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-				courseTimeError = indexBaseMonthDataDao.getCourseTimeError(organIds,classGroupIds); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			} 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			threeChild.add(new IndexErrInfoDto(IndexErrorType.COURSE_TIME_ERROR, IndexErrorType.COURSE_TIME_ERROR.getMsg(), courseTimeError, null)); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			//乐团巡查任务未计划 
														 | 
														
														 | 
														
															 			//乐团巡查任务未计划 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			int inspectionItem = indexBaseMonthDataDao.queryInspectionItem(organIdsStr,startTime,userId); 
														 | 
														
														 | 
														
															 			int inspectionItem = indexBaseMonthDataDao.queryInspectionItem(organIdsStr,startTime,userId); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -448,10 +433,21 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			//课程考勤异常 
														 | 
														
														 | 
														
															 			//课程考勤异常 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			int attendanceError = 0; 
														 | 
														
														 | 
														
															 			int attendanceError = 0; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			int noAttendance = 0; 
														 | 
														
														 | 
														
															 			int noAttendance = 0; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			//课程时间安排异常 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			int courseTimeError = 0; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			if(classGroupIds == null || classGroupIds.size() > 0){ 
														 | 
														
														 | 
														
															 			if(classGroupIds == null || classGroupIds.size() > 0){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				attendanceError = indexBaseMonthDataDao.getAttendanceError(organIds,startTime,classGroupIds); 
														 | 
														
														 | 
														
															 				attendanceError = indexBaseMonthDataDao.getAttendanceError(organIds,startTime,classGroupIds); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				noAttendance = indexBaseMonthDataDao.getNoAttendance(organIds,startTime,classGroupIds); 
														 | 
														
														 | 
														
															 				noAttendance = indexBaseMonthDataDao.getNoAttendance(organIds,startTime,classGroupIds); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				courseTimeError = indexBaseMonthDataDao.getCourseTimeError(organIds,classGroupIds); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			} 
														 | 
														
														 | 
														
															 			} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			String monthStr = DateUtil.format(date, DateUtil.ISO_YEAR_MONTH_FORMAT); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			//全职未离职老师 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			//预计课酬较低 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			int lowTeacherSalary = indexBaseMonthDataDao.queryLowTeacherSalary(organIdsStr,monthStr); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			fourChild.add(new IndexErrInfoDto(IndexErrorType.TEACHER_EXPECT_SALARY_BE_LOW, IndexErrorType.TEACHER_EXPECT_SALARY_BE_LOW.getMsg(),lowTeacherSalary, null)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			fourChild.add(new IndexErrInfoDto(IndexErrorType.COURSE_TIME_ERROR, IndexErrorType.COURSE_TIME_ERROR.getMsg(), courseTimeError, null)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			fourChild.add(new IndexErrInfoDto(IndexErrorType.TEACHER_EXCEPTION_ATTENDANCE, IndexErrorType.TEACHER_EXCEPTION_ATTENDANCE.getMsg(), attendanceError, null)); 
														 | 
														
														 | 
														
															 			fourChild.add(new IndexErrInfoDto(IndexErrorType.TEACHER_EXCEPTION_ATTENDANCE, IndexErrorType.TEACHER_EXCEPTION_ATTENDANCE.getMsg(), attendanceError, null)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			//课程异常 
														 | 
														
														 | 
														
															 			//课程异常 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -804,26 +800,12 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				flag3 = true; 
														 | 
														
														 | 
														
															 				flag3 = true; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			} 
														 | 
														
														 | 
														
															 			} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		} 
														 | 
														
														 | 
														
															 		} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		if(!flag3){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			String monthStr = DateUtil.format(date, DateUtil.ISO_YEAR_MONTH_FORMAT); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			int lowTeacherSalary = indexBaseMonthDataDao.queryLowTeacherSalary(organIdsStr,monthStr); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			if(lowTeacherSalary > 0){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-				flag3 = true; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			} 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		} 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		Integer userId = null; 
														 | 
														
														 | 
														
															 		Integer userId = null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		if (!userRole.contains(SysUserRole.SECTION_MANAGER) && !sysUser.getIsSuperAdmin()) { 
														 | 
														
														 | 
														
															 		if (!userRole.contains(SysUserRole.SECTION_MANAGER) && !sysUser.getIsSuperAdmin()) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			userId = sysUser.getId(); 
														 | 
														
														 | 
														
															 			userId = sysUser.getId(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		} 
														 | 
														
														 | 
														
															 		} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		if(!flag3){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			int courseTimeError = 0; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			if(classGroupIds == null || classGroupIds.size() > 0){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-				courseTimeError = indexBaseMonthDataDao.getCourseTimeError(organIds,classGroupIds); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			} 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			if(courseTimeError > 0){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-				flag3 = true; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-			} 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		} 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		if(!flag3){ 
														 | 
														
														 | 
														
															 		if(!flag3){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			int inspectionItem = indexBaseMonthDataDao.queryInspectionItem(organIdsStr,startTime,userId); 
														 | 
														
														 | 
														
															 			int inspectionItem = indexBaseMonthDataDao.queryInspectionItem(organIdsStr,startTime,userId); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			if(inspectionItem > 0){ 
														 | 
														
														 | 
														
															 			if(inspectionItem > 0){ 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -846,6 +828,22 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		boolean flag4 = false; 
														 | 
														
														 | 
														
															 		boolean flag4 = false; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		if(!flag4){ 
														 | 
														
														 | 
														
															 		if(!flag4){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			String monthStr = DateUtil.format(date, DateUtil.ISO_YEAR_MONTH_FORMAT); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			int lowTeacherSalary = indexBaseMonthDataDao.queryLowTeacherSalary(organIdsStr,monthStr); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			if(lowTeacherSalary > 0){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				flag4 = true; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		if(!flag4){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			int courseTimeError = 0; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			if(classGroupIds == null || classGroupIds.size() > 0){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				courseTimeError = indexBaseMonthDataDao.getCourseTimeError(organIds,classGroupIds); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			if(courseTimeError > 0){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				flag4 = true; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		if(!flag4){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			int attendanceError = 0; 
														 | 
														
														 | 
														
															 			int attendanceError = 0; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			if(classGroupIds == null || classGroupIds.size() > 0){ 
														 | 
														
														 | 
														
															 			if(classGroupIds == null || classGroupIds.size() > 0){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				attendanceError = indexBaseMonthDataDao.getAttendanceError(organIds,startTime,classGroupIds); 
														 | 
														
														 | 
														
															 				attendanceError = indexBaseMonthDataDao.getAttendanceError(organIds,startTime,classGroupIds); 
														 |