添加功能
This commit is contained in:
@@ -0,0 +1,101 @@
|
||||
package com.ruoyi.cms.controller;
|
||||
|
||||
import com.ruoyi.cms.domain.dto.QueryParamDto;
|
||||
import com.ruoyi.cms.service.AnalysisSectorTalentService;
|
||||
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/sectorTalent")
|
||||
@RequiredArgsConstructor
|
||||
public class AnalysisSectorTalentController {
|
||||
|
||||
private final AnalysisSectorTalentService analysisSectorTalentService;
|
||||
|
||||
/**
|
||||
* 数据总览
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 数据总览
|
||||
*/
|
||||
@PostMapping("/overview")
|
||||
public AjaxResult overview(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisSectorTalentService.overview(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 产业景气指数
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 产业景气指数
|
||||
*/
|
||||
@PostMapping("/sectorProsperityIndex")
|
||||
public AjaxResult sectorProsperityIndex(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisSectorTalentService.sectorProsperityIndex(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 产业发展趋势分析
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 趋势列表
|
||||
*/
|
||||
@PostMapping("/sectorDevelopTrend")
|
||||
public AjaxResult sectorDevelopTrend(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisSectorTalentService.sectorDevelopTrend(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 人才需求结构分析
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/talentDemandStructure")
|
||||
public AjaxResult talentDemandStructure(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisSectorTalentService.talentDemandStructure(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 高校毕业生人才供给专业分布
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/talentSupplyDistribution")
|
||||
public AjaxResult talentSupplyDistribution(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisSectorTalentService.talentSupplyDistribution(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 职业培训技能人才等级分布
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/talentSkillLevelDistribution")
|
||||
public AjaxResult talentSkillLevelDistribution(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisSectorTalentService.talentSkillLevelDistribution(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 人才供需匹配度评估
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/talentSupplyDemandMatchingDegree")
|
||||
public AjaxResult talentSupplyDemandMatchingDegree(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisSectorTalentService.talentSupplyDemandMatchingDegree(dto));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user