|
@@ -21,6 +21,7 @@ import lombok.Data;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.data.domain.PageRequest;
|
|
|
+import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.util.StringUtils;
|
|
|
|
|
@@ -64,12 +65,12 @@ public class WorkHourStatistics {
|
|
|
/**
|
|
|
* 更新所有项目工时
|
|
|
*/
|
|
|
- // @Scheduled(fixedDelay = 432000000L)
|
|
|
+ @Scheduled(fixedDelay = 432000000L)
|
|
|
public void updateHour() {
|
|
|
//每日工时标准化
|
|
|
standardWorkHour();
|
|
|
- standardWeeklyWorkHour();
|
|
|
- standardMonthlyWorkHour();
|
|
|
+// standardWeeklyWorkHour();
|
|
|
+// standardMonthlyWorkHour();
|
|
|
// projectMemberHour();
|
|
|
//离职人员工时标准化
|
|
|
// quitStandardHour();
|