添加功能
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user