添加功能
This commit is contained in:
@@ -0,0 +1,124 @@
|
||||
package com.ruoyi.cms.controller;
|
||||
|
||||
import com.ruoyi.cms.domain.dto.QueryParamDto;
|
||||
import com.ruoyi.cms.service.AnalysisLaborForceRecruitmentDemandService;
|
||||
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/30
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/analysis/laborForceRecruitmentDemand")
|
||||
@RequiredArgsConstructor
|
||||
public class AnalysisLaborForceRecruitmentDemandController {
|
||||
|
||||
private final AnalysisLaborForceRecruitmentDemandService analysisLaborForceRecruitmentDemandService;
|
||||
|
||||
/**
|
||||
* 数据总览
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 数据总览
|
||||
*/
|
||||
@PostMapping("/overview")
|
||||
public AjaxResult overview(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisLaborForceRecruitmentDemandService.overview(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 月度招聘需求规模趋势
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 趋势列表
|
||||
*/
|
||||
@PostMapping("/recruitmentTrend")
|
||||
public AjaxResult recruitmentTrend(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisLaborForceRecruitmentDemandService.recruitmentTrend(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 重点产业招聘需求对比
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/majorIndustryRecruitment")
|
||||
public AjaxResult majorIndustryRecruitment(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisLaborForceRecruitmentDemandService.majorIndustryRecruitment(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 重点监测行业劳动力动态走势
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 趋势数据
|
||||
*/
|
||||
@PostMapping("/majorIndustryLaborForceTread")
|
||||
public AjaxResult majorIndustryLaborForceTread(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisLaborForceRecruitmentDemandService.majorIndustryLaborForceTread(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 不同类型企业用工规模
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/companyRecruitmentCount")
|
||||
public AjaxResult companyRecruitmentCount(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisLaborForceRecruitmentDemandService.companyRecruitmentCount(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 不同企业类型招聘活跃度
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/companyRecruitmentWay")
|
||||
public AjaxResult companyRecruitmentWay(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisLaborForceRecruitmentDemandService.companyRecruitmentWay(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 不同类型企业的人才结构需求
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/companyRecruitmentEducationLevel")
|
||||
public AjaxResult companyRecruitmentEducationLevel(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisLaborForceRecruitmentDemandService.companyRecruitmentEducationLevel(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 招聘需求区域分布
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/recruitmentArea")
|
||||
public AjaxResult recruitmentArea(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisLaborForceRecruitmentDemandService.recruitmentArea(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 承诺薪酬分布分布
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/commitmentSalary")
|
||||
public AjaxResult commitmentSalary(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisLaborForceRecruitmentDemandService.commitmentSalary(dto));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user