|
@@ -143,7 +143,7 @@ public class QywxCheckinTask {
|
|
|
for (GetCheckinDataResp.CheckinData data : dataList) {
|
|
|
if (!data.getException_type().equals("未打卡")) {
|
|
|
Employee employee = employeeMap.get(data.getUserid());
|
|
|
- logger.debug("get checkin data, user {}, type {}", employee.getEm_name(), data.getCheckin_type());
|
|
|
+// logger.debug("get checkin data, user {}, type {}", employee.getEm_name(), data.getCheckin_type());
|
|
|
if (endTime < data.getCheckin_time()) {
|
|
|
endTime = data.getCheckin_time();
|
|
|
}
|
|
@@ -164,9 +164,9 @@ public class QywxCheckinTask {
|
|
|
private Long saveCheckinByDevData(Long endTime, Map<String, Employee> employeeMap, List<GetCheckinByDevDataResp.CheckinData> dataList) {
|
|
|
for (GetCheckinByDevDataResp.CheckinData data : dataList) {
|
|
|
Employee employee = employeeMap.get(data.getUserid());
|
|
|
- DateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
- logger.debug("get checkin ByDev data, user {}, type {}, checkinTime {}", employee.getEm_name(), data.getDevice_name()
|
|
|
- , format.format(new Date((data.getCheckin_time() * 1000))));
|
|
|
+// DateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
+// logger.debug("get checkin ByDev data, user {}, type {}, checkinTime {}", employee.getEm_name(), data.getDevice_name()
|
|
|
+// , format.format(new Date((data.getCheckin_time() * 1000))));
|
|
|
cardLogService.saveWhenNotExist(new CardLog(employee, data));
|
|
|
if (endTime < data.getCheckin_time()) {
|
|
|
endTime = data.getCheckin_time();
|