|
@@ -567,7 +567,7 @@ public class StatisticsServiceImpl implements StatisticsService {
|
|
public List<HourNewAddCount> findOneDaySystemDataCount(Date day) {
|
|
public List<HourNewAddCount> findOneDaySystemDataCount(Date day) {
|
|
List<HourNewAddCount> jobUserCount = statisticsCQuery.findJobUserHourNewAddCount(day);
|
|
List<HourNewAddCount> jobUserCount = statisticsCQuery.findJobUserHourNewAddCount(day);
|
|
List<HourNewAddCount> companyCount = statisticsCQuery.findCompanyHourNewAddCount(day);
|
|
List<HourNewAddCount> companyCount = statisticsCQuery.findCompanyHourNewAddCount(day);
|
|
- List<HourNewAddCount> postCount = statisticsCQuery.findPostHourNewAddCount(day);
|
|
|
|
|
|
+ List<HourNewAddCount> postRecruitCount = statisticsCQuery.findPostHourNewAddCount(day);
|
|
Map<Integer, HourNewAddCount> resultMap = new HashMap<>();
|
|
Map<Integer, HourNewAddCount> resultMap = new HashMap<>();
|
|
|
|
|
|
// 合并三个结果
|
|
// 合并三个结果
|
|
@@ -579,9 +579,9 @@ public class StatisticsServiceImpl implements StatisticsService {
|
|
resultMap.computeIfAbsent(item.getHour(), k -> new HourNewAddCount(item.getHour()))
|
|
resultMap.computeIfAbsent(item.getHour(), k -> new HourNewAddCount(item.getHour()))
|
|
.setCompanyCount(item.getCompanyCount());
|
|
.setCompanyCount(item.getCompanyCount());
|
|
});
|
|
});
|
|
- postCount.forEach(item -> {
|
|
|
|
|
|
+ postRecruitCount.forEach(item -> {
|
|
resultMap.computeIfAbsent(item.getHour(), k -> new HourNewAddCount(item.getHour()))
|
|
resultMap.computeIfAbsent(item.getHour(), k -> new HourNewAddCount(item.getHour()))
|
|
- .setPostCount(item.getPostCount());
|
|
|
|
|
|
+ .setPostRecruitCount(item.getPostRecruitCount());
|
|
});
|
|
});
|
|
return new ArrayList<>(resultMap.values());
|
|
return new ArrayList<>(resultMap.values());
|
|
}
|
|
}
|