|
|
@@ -148,6 +148,15 @@ public class ScheduleController {
|
|
|
|
|
|
for (AttendanceRuleListEventByClazzResult.DataItem eventId : eventItems) {
|
|
|
|
|
|
+ //判断考勤是否开始 用考勤事件的开始时间和当前时间判断
|
|
|
+ Date eventStartTime =TimeExchange.StringToDate((TimeExchange.getDate() + " " + eventId.getAttendStartTime() + ":00"), "yyyy-MM-dd HH:mm:ss");
|
|
|
+ Date nowDate = new Date();
|
|
|
+ if(nowDate.compareTo(eventStartTime) < 0){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 定时获取考勤
|
|
|
*/
|