|
@@ -4,7 +4,6 @@ import com.galaxis.manatee.dao.ChuanyunGroupProjectDao;
|
|
|
import com.galaxis.manatee.dao.ChuanyunUserCompanyDao;
|
|
|
import com.galaxis.manatee.service.LogCheckService;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
-import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
/**
|
|
@@ -33,7 +32,7 @@ public class LogCheckTask {
|
|
|
* 2.遍历每个用户,核对每周、每月工时准确性
|
|
|
* 3.遍历每个项目核对每个项目总工时
|
|
|
*/
|
|
|
- @Scheduled(fixedDelay = 432000000L)
|
|
|
+// @Scheduled(fixedDelay = 432000000L)
|
|
|
private void checkLod(){
|
|
|
chuanyunUserCompanyDao.findAll().forEach(chuanyunUserCompanyDO -> {
|
|
|
try {
|