diff --git a/bonus-modules/bonus-system/src/main/java/com/bonus/system/att/tasks/AttTasks.java b/bonus-modules/bonus-system/src/main/java/com/bonus/system/att/tasks/AttTasks.java index 494b38c..e480fc0 100644 --- a/bonus-modules/bonus-system/src/main/java/com/bonus/system/att/tasks/AttTasks.java +++ b/bonus-modules/bonus-system/src/main/java/com/bonus/system/att/tasks/AttTasks.java @@ -139,7 +139,7 @@ public class AttTasks { */ private void pushAttData(String pushDate, int pushType) { //获取黔送云的考勤数据 -// getQsyAttendanceData(pushDate, pushType); + getQsyAttendanceData(pushDate, pushType); //获取考勤机中的考勤数据 getMachineAttendanceData(pushDate, pushType); // //查出每一个考勤组的应出勤天数以及考勤组的规则 @@ -660,19 +660,19 @@ public class AttTasks { // System.out.println("c.getAttCurrentTime() = "); // } // 处理逻辑 出入异常的逻辑 - try { - Map> result = checkAdjacentAttType1WithGapAndCheckTypesBefore(v, attGroupBean.getEntryAbnormalMinute()); - if (result.containsKey(true)) { - List matchingItems = result.get(true); - frontToWorkBean = matchingItems.get(0); - frontToWorkBean.setAbnormalAttTime(matchingItems.get(1).getAttCurrentTime()); - frontToWorkBean.setAbnormalAttAddress(matchingItems.get(1).getAttAddress()); - frontToWorkBean.setAttStatus(8); - } - }catch(Exception e){ - e.printStackTrace(); - log.error("出入异常处理报错"); - } +// try { +// Map> result = checkAdjacentAttType1WithGapAndCheckTypesBefore(v, attGroupBean.getEntryAbnormalMinute()); +// if (result.containsKey(true)) { +// List matchingItems = result.get(true); +// frontToWorkBean = matchingItems.get(0); +// frontToWorkBean.setAbnormalAttTime(matchingItems.get(1).getAttCurrentTime()); +// frontToWorkBean.setAbnormalAttAddress(matchingItems.get(1).getAttAddress()); +// frontToWorkBean.setAttStatus(8); +// } +// }catch(Exception e){ +// e.printStackTrace(); +// log.error("出入异常处理报错"); +// } //没有下班卡则添加第一次打卡数据 newList.add(frontToWorkBean); //获取工作异常 diff --git a/bonus-modules/bonus-system/src/main/resources/mapper/att/AttSourceDataMapper.xml b/bonus-modules/bonus-system/src/main/resources/mapper/att/AttSourceDataMapper.xml index c1f3dfe..28db24a 100644 --- a/bonus-modules/bonus-system/src/main/resources/mapper/att/AttSourceDataMapper.xml +++ b/bonus-modules/bonus-system/src/main/resources/mapper/att/AttSourceDataMapper.xml @@ -337,7 +337,7 @@