Browse Source

改为实时记录考勤情况。

tomatozq 5 years ago
parent
commit
3225fd03d6

+ 1 - 1
common/src/main/java/com/jpsoft/smart/modules/business/service/impl/WorkAttendanceServiceImpl.java

@@ -147,7 +147,7 @@ public class WorkAttendanceServiceImpl implements WorkAttendanceService {
 						List<WorkAttendance> workAttendances = workAttendanceDAO.findByPeriod(personId,alarmConfig.getId(),recordTime.toDate());
 
 						if (workAttendances.size()>0){
-							break;
+							continue;
 						}
 
 						//准时上班