Browse Source

删除了日志打印内容

verguenza 4 years ago
parent
commit
0194c944e3

+ 1 - 1
src/main/java/com/galaxis/manatee/task/ChuanyunHumanResourceScheduledTask.java

@@ -132,7 +132,7 @@ public class ChuanyunHumanResourceScheduledTask {
                 log.error(e.getMessage());
                 e.printStackTrace();
             }
-            log.info(Instant.now().getEpochSecond()-startTime+"日志100条保存时间");
+//            log.info(Instant.now().getEpochSecond()-startTime+"日志100条保存时间");
         }
         log.info("历史日志信息保存" + totalCount);
     }

+ 2 - 2
src/main/java/com/galaxis/manatee/task/WorkHourStatisticsRecently.java

@@ -56,7 +56,7 @@ public class WorkHourStatisticsRecently {
         this.chuanyunSelfCostDao = chuanyunSelfCostDao;
     }
 
-    @Scheduled(fixedDelay = 3600000L)
+    @Scheduled(fixedDelay = 36000000L)
     public void updateHour() {
         dayLog();
         standardWorkHour();
@@ -137,7 +137,7 @@ public class WorkHourStatisticsRecently {
                 log.error(e.getMessage());
                 e.printStackTrace();
             }
-            log.info(Instant.now().getEpochSecond()-startTime+"日志100条保存时间");
+//            log.info(Instant.now().getEpochSecond()-startTime+"日志100条保存时间");
         }
         log.info("最近一月历史日志信息保存" + totalCount);
     }