|
@@ -114,15 +114,18 @@ public class StudentStatisticsController {
|
|
|
}
|
|
}
|
|
|
record.setActualCount(actualCount);
|
|
record.setActualCount(actualCount);
|
|
|
|
|
|
|
|
- Integer lateCount = 0;
|
|
|
|
|
|
|
+ Integer lateCount = 0, playTruantCount = 0;
|
|
|
for (StudentOutInRecordVo outInRecord : notStayMap.get(record.getId())) {
|
|
for (StudentOutInRecordVo outInRecord : notStayMap.get(record.getId())) {
|
|
|
if(outInRecord.getStatus() == 0){
|
|
if(outInRecord.getStatus() == 0){
|
|
|
continue;
|
|
continue;
|
|
|
}
|
|
}
|
|
|
if("迟到".equals(outInRecord.getAttendanceStatus())){
|
|
if("迟到".equals(outInRecord.getAttendanceStatus())){
|
|
|
lateCount ++;
|
|
lateCount ++;
|
|
|
|
|
+ }else if("旷课".equals(outInRecord.getAttendanceStatus())){
|
|
|
|
|
+ playTruantCount ++;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ record.setPlayTruantCount(playTruantCount);
|
|
|
record.setLateCount(lateCount);
|
|
record.setLateCount(lateCount);
|
|
|
|
|
|
|
|
//最后通过总人数-实到人数-请假人数计算出缺勤人数
|
|
//最后通过总人数-实到人数-请假人数计算出缺勤人数
|