|
@@ -19,6 +19,7 @@ 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;
|
|
|
|
|
@@ -57,7 +58,7 @@ public class WorkHourStatistics {
|
|
|
/**
|
|
|
* 每3小时上传一次所有日工时、周工时、月工时
|
|
|
*/
|
|
|
-// @Scheduled(fixedDelay = 10800000L)
|
|
|
+ @Scheduled(fixedDelay = 10800000L)
|
|
|
public void updateHour(){
|
|
|
logService.updateAllChuanyunSelfWorkHour();
|
|
|
logService.updateAllChuanyunWeekMemberHour();
|