Browse Source

1.暂时取消更新定时任务

verguenza 4 years ago
parent
commit
7f699929b4
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/main/java/com/galaxis/manatee/task/WorkHourStatistics.java

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

@@ -19,7 +19,6 @@ import com.galaxis.manatee.service.LogStandardService;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.scheduling.annotation.Async;
-import org.springframework.scheduling.annotation.Scheduled;
 import org.springframework.stereotype.Service;
 import org.springframework.util.StringUtils;
 
@@ -58,7 +57,7 @@ public class WorkHourStatistics {
     /**
      * 每3小时上传一次所有日工时、周工时、月工时
      */
-    @Scheduled(fixedDelay = 10800000L)
+//    @Scheduled(fixedDelay = 10800000L)
     public void updateHour(){
         logService.updateAllChuanyunSelfWorkHour();
         logService.updateAllChuanyunWeekMemberHour();