|
@@ -61,7 +61,9 @@ public class LogStandardService {
|
|
|
*/
|
|
|
@Async
|
|
|
public void standardAllWeekMemberHour(){
|
|
|
+ long start=Instant.now().getEpochSecond();
|
|
|
chuanyunUserCompanyDao.findAll().forEach(chuanyunUserCompanyDO -> this.standardWeekMemberHourByUserId(chuanyunUserCompanyDO.getUserId()));
|
|
|
+ log.info("标准化所有日工时耗时"+(Instant.now().getEpochSecond()-start)+"秒");
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -89,7 +91,6 @@ public class LogStandardService {
|
|
|
if (!StringUtils.isEmpty(userId)) {
|
|
|
long start=Instant.now().getEpochSecond();
|
|
|
//更新数据库
|
|
|
- log.info("统一开始周工时标准化");
|
|
|
List<ChuanyunWeekMemberHourDO> list = chuanyunWeekMemberHourDao.getWeekMemberHourByUserId(userId);
|
|
|
this.generateWeekMemberHourByWeekMemberHourList(list);
|
|
|
log.info(userId+"统一周工时标准化"+(Instant.now().getEpochSecond()-start)+"秒");
|
|
@@ -153,7 +154,6 @@ public class LogStandardService {
|
|
|
log.error(e.getMessage()+"周工时标准化异常");
|
|
|
}
|
|
|
});
|
|
|
- log.info("统一周工时标准化"+(Instant.now().getEpochSecond()-start)+"秒");
|
|
|
}
|
|
|
|
|
|
/**
|