添加功能
This commit is contained in:
@@ -52,4 +52,15 @@ public class AnalysisCommonController {
|
||||
public AjaxResult universityTypeList() {
|
||||
return AjaxResult.success(analysisCommonService.universityTypeList());
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询重点行业列表
|
||||
*
|
||||
* @return 重点行业列表
|
||||
*/
|
||||
@GetMapping("/majorIndustryList")
|
||||
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
||||
public AjaxResult majorIndustryList() {
|
||||
return AjaxResult.success(analysisCommonService.majorIndustryList());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,112 @@
|
||||
package com.ruoyi.cms.controller;
|
||||
|
||||
import com.ruoyi.cms.domain.dto.QueryParamDto;
|
||||
import com.ruoyi.cms.service.AnalysisMajorIndustryEmploymentMonitorService;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* 重点行业就失业监测分析
|
||||
*
|
||||
* @author 马宝龙
|
||||
* @date 2026/6/26
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/analysis/majorIndustryEmploymentMonitor")
|
||||
@RequiredArgsConstructor
|
||||
public class AnalysisMajorIndustryEmploymentMonitorController {
|
||||
|
||||
private final AnalysisMajorIndustryEmploymentMonitorService analysisMajorIndustryEmploymentMonitorService;
|
||||
|
||||
/**
|
||||
* 数据总览
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 数据总览
|
||||
*/
|
||||
@PostMapping("/overview")
|
||||
public AjaxResult overview(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisMajorIndustryEmploymentMonitorService.overview(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 用工需求和失业率趋势
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 趋势列表
|
||||
*/
|
||||
@PostMapping("/demandAndUnemploymentRate")
|
||||
public AjaxResult demandAndUnemploymentRate(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisMajorIndustryEmploymentMonitorService.demandAndUnemploymentRate(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 行业失业率对比
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/industryUnemploymentRate")
|
||||
public AjaxResult industryUnemploymentRate(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisMajorIndustryEmploymentMonitorService.industryUnemploymentRate(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 失业人员行业分布
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/industryDistribution")
|
||||
public AjaxResult industryDistribution(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisMajorIndustryEmploymentMonitorService.industryDistribution(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 薪资水平监测
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/salaryLevel")
|
||||
public AjaxResult salaryLevel(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisMajorIndustryEmploymentMonitorService.salaryLevel(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 性别就业差异分析
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/gender")
|
||||
public AjaxResult gender(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisMajorIndustryEmploymentMonitorService.gender(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 岗位类型就业分析
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/jobType")
|
||||
public AjaxResult jobType(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisMajorIndustryEmploymentMonitorService.jobType(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 裁员和用工缺口监测
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/layoffAndLaborGap")
|
||||
public AjaxResult layoffAndLaborGap(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisMajorIndustryEmploymentMonitorService.layoffAndLaborGap(dto));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user