|
@@ -495,6 +495,12 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
|
|
|
userId = sysUser.getId();
|
|
|
}
|
|
|
if(!flag3){
|
|
|
+ int courseTimeError = indexBaseMonthDataDao.getCourseTimeError(organIds);
|
|
|
+ if(courseTimeError > 0){
|
|
|
+ flag3 = true;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(!flag3){
|
|
|
int inspectionItem = indexBaseMonthDataDao.queryInspectionItem(organIdsStr,startTime,userId);
|
|
|
if(inspectionItem > 0){
|
|
|
flag3 = true;
|
|
@@ -516,12 +522,6 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
|
|
|
|
|
|
boolean flag4 = false;
|
|
|
if(!flag4){
|
|
|
- int courseTimeError = indexBaseMonthDataDao.getCourseTimeError(organIds);
|
|
|
- if(courseTimeError > 0){
|
|
|
- flag4 = true;
|
|
|
- }
|
|
|
- }
|
|
|
- if(!flag4){
|
|
|
int attendanceError = indexBaseMonthDataDao.getAttendanceError(organIds,startTime);
|
|
|
if(attendanceError > 0){
|
|
|
flag4 = true;
|