mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-07 18:06:50 +08:00
提交耗时统计
This commit is contained in:
@@ -103,13 +103,13 @@ public class CasesRecommendPushRecordServiceImpl implements ICasesRecommendPushR
|
||||
allAudienceList.forEach(auditList -> userIds.add(String.valueOf(auditList.getUserId())));
|
||||
}
|
||||
}
|
||||
log.info("耗时 受众查询 {}", (System.currentTimeMillis()) / 1000);
|
||||
log.info("耗时受众查询 {}", (System.currentTimeMillis() - t2) / 1000);
|
||||
}
|
||||
if (CollectionUtil.isEmpty(userIds)) {
|
||||
throw new RuntimeException("推荐人不能为空");
|
||||
}
|
||||
|
||||
log.info("查询用户消耗时长为 {}秒", (System.currentTimeMillis() - t1) / 1000);
|
||||
log.info("查询用户总共消耗时长为 {}秒", (System.currentTimeMillis() - t1) / 1000);
|
||||
|
||||
CasesRecommend casesRecommend = new CasesRecommend();
|
||||
casesRecommend.setRecommendId(currentUser.getAccountId());
|
||||
|
||||
Reference in New Issue
Block a user