|
@@ -24,6 +24,7 @@ import org.springframework.util.StringUtils;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.math.RoundingMode;
|
|
|
+import java.time.Instant;
|
|
|
import java.time.LocalDateTime;
|
|
|
import java.time.format.DateTimeFormatter;
|
|
|
import java.util.ArrayList;
|
|
@@ -289,8 +290,10 @@ public class ChuanyunProjectScheduledTask {
|
|
|
//逐个将员工每天工时进行统计汇总
|
|
|
List<ChuanyunUserCompanyDO> userCompanyDOList = chuanyunUserCompanyList.getContent();
|
|
|
userCompanyDOList.forEach(chuanyunUserCompanyDO -> {
|
|
|
+ long start= Instant.now().getEpochSecond();
|
|
|
//工时标准化
|
|
|
standardHour(chuanyunUserCompanyDO);
|
|
|
+ log.info("每日工时标准化"+chuanyunUserCompanyDO.getUserName()+(Instant.now().getEpochSecond()-start)+"毫秒");
|
|
|
});
|
|
|
}
|
|
|
}
|