|  | @@ -341,7 +341,8 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
 | 
	
		
			
				|  |  |  	@Override
 | 
	
		
			
				|  |  |  	public Map<String, Object> getIndexErrData(String organIdsStr, IndexErrorType errorType) {
 | 
	
		
			
				|  |  |  		//只筛选指定时间之后的数据
 | 
	
		
			
				|  |  | -		String startTime = "2020-12-01";
 | 
	
		
			
				|  |  | +		String startTime = DateUtil.format(DateUtil.getFirstDayOfMonth(DateUtil.addMonths(new Date(), -2)),DateUtil.ISO_EXPANDED_DATE_FORMAT);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  		Set<Integer> organIds = null;
 | 
	
		
			
				|  |  |  		if(StringUtils.isNotBlank(organIdsStr)){
 | 
	
		
			
				|  |  |  			organIds = Arrays.stream(organIdsStr.split(",")).map(Integer::new).collect(Collectors.toSet());
 | 
	
	
		
			
				|  | @@ -375,10 +376,10 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
 | 
	
		
			
				|  |  |  			twoChild.add(new IndexErrInfoDto(IndexErrorType.STUDENT_NOT_PAYMENT, IndexErrorType.STUDENT_NOT_PAYMENT.getMsg(), indexBaseMonthDataDao.countNoPaymentStudentNum(organIds), indexBaseMonthDataDao.getNoPaymentMusicGroup(organIds)));
 | 
	
		
			
				|  |  |  			List<Long> quitGroupNum = indexBaseMonthDataDao.queryApplyForQuitGroupNum(organIds);
 | 
	
		
			
				|  |  |  			twoChild.add(new IndexErrInfoDto(IndexErrorType.STUDENT_APPLY_FOR_QUIT_MUSIC_GROUP, IndexErrorType.STUDENT_APPLY_FOR_QUIT_MUSIC_GROUP.getMsg(), quitGroupNum.size(),  quitGroupNum));
 | 
	
		
			
				|  |  | -			int attendanceInfo = indexBaseMonthDataDao.queryStudentAttendanceInfo(organIds, StudentAttendanceStatusEnum.TRUANT.getCode(),startTime);
 | 
	
		
			
				|  |  | -			twoChild.add(new IndexErrInfoDto(IndexErrorType.COURSE_TRUANT_STUDENT_NUM, IndexErrorType.COURSE_TRUANT_STUDENT_NUM.getMsg(), attendanceInfo, null));
 | 
	
		
			
				|  |  | -			int attendanceInfo1 = indexBaseMonthDataDao.queryStudentAttendanceInfo(organIds, StudentAttendanceStatusEnum.LEAVE.getCode(),startTime);
 | 
	
		
			
				|  |  | -			twoChild.add(new IndexErrInfoDto(IndexErrorType.COURSE_LEAVE_STUDENT_NUM, IndexErrorType.COURSE_LEAVE_STUDENT_NUM.getMsg(), attendanceInfo1, null));
 | 
	
		
			
				|  |  | +//			int attendanceInfo = indexBaseMonthDataDao.queryStudentAttendanceInfo(organIds, StudentAttendanceStatusEnum.TRUANT.getCode(),startTime);
 | 
	
		
			
				|  |  | +//			twoChild.add(new IndexErrInfoDto(IndexErrorType.COURSE_TRUANT_STUDENT_NUM, IndexErrorType.COURSE_TRUANT_STUDENT_NUM.getMsg(), attendanceInfo, null));
 | 
	
		
			
				|  |  | +//			int attendanceInfo1 = indexBaseMonthDataDao.queryStudentAttendanceInfo(organIds, StudentAttendanceStatusEnum.LEAVE.getCode(),startTime);
 | 
	
		
			
				|  |  | +//			twoChild.add(new IndexErrInfoDto(IndexErrorType.COURSE_LEAVE_STUDENT_NUM, IndexErrorType.COURSE_LEAVE_STUDENT_NUM.getMsg(), attendanceInfo1, null));
 | 
	
		
			
				|  |  |  			two.setNum(twoChild.stream().mapToInt(IndexErrInfoDto::getNum).sum());
 | 
	
		
			
				|  |  |  			two.setResult(twoChild);
 | 
	
		
			
				|  |  |  			all.add(two);
 | 
	
	
		
			
				|  | @@ -455,7 +456,8 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	@Override
 | 
	
		
			
				|  |  |  	public Map<String,Boolean> hasIndexErrData(String organIdsStr) {
 | 
	
		
			
				|  |  | -		String startTime = "2020-12-01";
 | 
	
		
			
				|  |  | +		String startTime = DateUtil.format(DateUtil.getFirstDayOfMonth(DateUtil.addMonths(new Date(), -2)),DateUtil.ISO_EXPANDED_DATE_FORMAT);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  		Map<String,Boolean> resultMap = new HashMap<>();
 | 
	
		
			
				|  |  |  		Set<Integer> organIds = null;
 | 
	
		
			
				|  |  |  		if(StringUtils.isNotBlank(organIdsStr)){
 | 
	
	
		
			
				|  | @@ -487,7 +489,7 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
 | 
	
		
			
				|  |  |  				flag2 = true;
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  | -		if(!flag2){
 | 
	
		
			
				|  |  | +		/*if(!flag2){
 | 
	
		
			
				|  |  |  			int attendanceInfo = indexBaseMonthDataDao.queryStudentAttendanceInfo(organIds, StudentAttendanceStatusEnum.TRUANT.getCode(),startTime);
 | 
	
		
			
				|  |  |  			if(attendanceInfo > 0){
 | 
	
		
			
				|  |  |  				flag2 = true;
 | 
	
	
		
			
				|  | @@ -498,7 +500,7 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
 | 
	
		
			
				|  |  |  			if(attendanceInfo1 > 0){
 | 
	
		
			
				|  |  |  				flag2 = true;
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  | -		}
 | 
	
		
			
				|  |  | +		}*/
 | 
	
		
			
				|  |  |  		resultMap.put("studentInfo",flag2);
 | 
	
		
			
				|  |  |  		boolean flag3 = false;
 | 
	
		
			
				|  |  |  		if(!flag3){
 |