|
@@ -313,10 +313,10 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
|
|
|
three.setDesc(IndexErrorType.TEACHER_INFO.getMsg());
|
|
|
List<IndexErrInfoDto> threeChild = new ArrayList<>();
|
|
|
|
|
|
- int attendanceError = indexBaseMonthDataDao.getAttendanceError(organIdsStr,startTime);
|
|
|
+ int attendanceError = indexBaseMonthDataDao.getAttendanceError(organIds,startTime);
|
|
|
threeChild.add(new IndexErrInfoDto(IndexErrorType.TEACHER_EXCEPTION_ATTENDANCE, IndexErrorType.TEACHER_EXCEPTION_ATTENDANCE.getMsg(), attendanceError, null));
|
|
|
|
|
|
- int noAttendance = indexBaseMonthDataDao.getNoAttendance(organIdsStr,startTime);
|
|
|
+ int noAttendance = indexBaseMonthDataDao.getNoAttendance(organIds,startTime);
|
|
|
threeChild.add(new IndexErrInfoDto(IndexErrorType.TEACHER_NOT_A_CLASS, IndexErrorType.TEACHER_NOT_A_CLASS.getMsg(), noAttendance, null));
|
|
|
|
|
|
// int teacherLeave = indexBaseMonthDataDao.queryTeacherLeave(organIdsStr,startTime);
|
|
@@ -411,28 +411,16 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
|
|
|
flag2 = true;
|
|
|
}
|
|
|
}
|
|
|
- /*if(!flag2){
|
|
|
- int attendanceInfo = indexBaseMonthDataDao.queryStudentAttendanceInfo(organIds, StudentAttendanceStatusEnum.TRUANT.getCode(),startTime);
|
|
|
- if(attendanceInfo > 0){
|
|
|
- flag2 = true;
|
|
|
- }
|
|
|
- }
|
|
|
- if(!flag2){
|
|
|
- int attendanceInfo1 = indexBaseMonthDataDao.queryStudentAttendanceInfo(organIds, StudentAttendanceStatusEnum.LEAVE.getCode(),startTime);
|
|
|
- if(attendanceInfo1 > 0){
|
|
|
- flag2 = true;
|
|
|
- }
|
|
|
- }*/
|
|
|
resultMap.put("studentInfo",flag2);
|
|
|
boolean flag3 = false;
|
|
|
if(!flag3){
|
|
|
- int attendanceError = indexBaseMonthDataDao.getAttendanceError(organIdsStr,startTime);
|
|
|
+ int attendanceError = indexBaseMonthDataDao.getAttendanceError(organIds,startTime);
|
|
|
if(attendanceError > 0){
|
|
|
flag3 = true;
|
|
|
}
|
|
|
}
|
|
|
if(!flag3){
|
|
|
- int noAttendance = indexBaseMonthDataDao.getNoAttendance(organIdsStr,startTime);
|
|
|
+ int noAttendance = indexBaseMonthDataDao.getNoAttendance(organIds,startTime);
|
|
|
if(noAttendance > 0){
|
|
|
flag3 = true;
|
|
|
}
|