浏览代码

考勤出入记录调整

dzx 5 月之前
父节点
当前提交
8af7059e1e

+ 1 - 1
src/main/java/com/xjrsoft/module/hikvision/util/OutInRecordUtil.java

@@ -525,7 +525,7 @@ public class OutInRecordUtil {
                 String happenTime = eventObject.get("happenTime").getAsString();
                 String extEventPictureURL = dataObject.get("ExtEventPictureURL").getAsString();
                 int statusInt = dataObject.get("ExtEventInOut").getAsInt();
-                int status = -1;
+                int status = statusInt;
                 switch (statusInt){
                     case 0:
                         status = 1;

+ 1 - 1
src/main/java/com/xjrsoft/module/job/AttendanceMessageTask.java

@@ -83,7 +83,7 @@ public class AttendanceMessageTask {
     @Autowired
     private IWechatMessageLogService wechatMessageLogService;
 
-    @Scheduled(cron = "0 */15 * * * ?")
+    @Scheduled(cron = "0 */1 * * * ?")
     public void RefreshConnectionPool() {
         String active = SpringUtil.getActiveProfile();
         if(!"prod".equals(active)){