添加功能

This commit is contained in:
马宝龙
2026-07-01 11:50:25 +08:00
parent b8e37f5360
commit 5d34487344

View File

@@ -332,6 +332,8 @@ public class AnalysisMajorIndustryEmploymentMonitorServiceImpl implements Analys
@Override
public List<QueryResultVo> jobType(QueryParamDto dto) {
dealParam(dto);
// 用工需求
List<QueryResultVo> laborDemandList = themeRecruitmentJobMapper.queryEmploymentDemandCountByJobType(dto);
// 就业
@@ -366,7 +368,8 @@ public class AnalysisMajorIndustryEmploymentMonitorServiceImpl implements Analys
.orElse(QueryResultVo.builder().build());
BigDecimal unEmploymentRate =
MathUtil.calculatePercentage((employment.getCount() + unemployment.getCount()),
MathUtil.calculatePercentage((Optional.ofNullable(employment.getCount()).orElse(0L)
+ Optional.ofNullable(unemployment.getCount()).orElse(0L)),
unemployment.getCount());
QueryResultVo vo = QueryResultVo.builder()