添加功能
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.AnalysisLaborForceEmploymentService;
|
||||
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/27
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/analysis/laborForceEmployment")
|
||||
@RequiredArgsConstructor
|
||||
public class AnalysisLaborForceEmploymentController {
|
||||
|
||||
private final AnalysisLaborForceEmploymentService analysisLaborForceEmploymentService;
|
||||
|
||||
/**
|
||||
* 数据总览
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 数据总览
|
||||
*/
|
||||
@PostMapping("/overview")
|
||||
public AjaxResult overview(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisLaborForceEmploymentService.overview(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 城镇新增就业完成情况
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 完成情况
|
||||
*/
|
||||
@PostMapping("/taget")
|
||||
public AjaxResult taget(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisLaborForceEmploymentService.taget(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 就业产业情况分析
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/employIndustrySituation")
|
||||
public AjaxResult employIndustrySituation(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisLaborForceEmploymentService.employIndustrySituation(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 就业人员性别分布
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/employmentGender")
|
||||
public AjaxResult employmentGender(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisLaborForceEmploymentService.employmentGender(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 就业形式
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/employmentMode")
|
||||
public AjaxResult employmentMode(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisLaborForceEmploymentService.employmentMode(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 就业热力图
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 热力图列表
|
||||
*/
|
||||
@PostMapping("/employmentHeatmap")
|
||||
public AjaxResult employmentHeatmap(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisLaborForceEmploymentService.employmentHeatmap(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 失业热力图
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 热力图列表
|
||||
*/
|
||||
@PostMapping("/unemploymentHeatmap")
|
||||
public AjaxResult unemploymentHeatmap(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisLaborForceEmploymentService.unemploymentHeatmap(dto));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user