添加功能
This commit is contained in:
@@ -41,4 +41,15 @@ public class AnalysisCommonController {
|
||||
public AjaxResult industryList() {
|
||||
return AjaxResult.success(analysisCommonService.industryList());
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询高校类型列表
|
||||
*
|
||||
* @return 高校类型列表
|
||||
*/
|
||||
@GetMapping("/universityTypeList")
|
||||
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
||||
public AjaxResult universityTypeList() {
|
||||
return AjaxResult.success(analysisCommonService.universityTypeList());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,168 @@
|
||||
package com.ruoyi.cms.controller;
|
||||
|
||||
import com.ruoyi.cms.domain.dto.QueryParamDto;
|
||||
import com.ruoyi.cms.service.AnalysisGraduateEmploymentInfoService;
|
||||
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/25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/analysis/graduateEmploymentInfo")
|
||||
@RequiredArgsConstructor
|
||||
public class AnalysisGraduateEmploymentInfoController {
|
||||
|
||||
private final AnalysisGraduateEmploymentInfoService analysisGraduateEmploymentInfoService;
|
||||
|
||||
/**
|
||||
* 数据总览
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 数据总览
|
||||
*/
|
||||
@PostMapping("/overview")
|
||||
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
||||
public AjaxResult overview(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisGraduateEmploymentInfoService.overview(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 毕业生就业规模与趋势
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/scaleAndTrend")
|
||||
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
||||
public AjaxResult scaleAndTrend(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisGraduateEmploymentInfoService.scaleAndTrend(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 学历层次就业分析
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/educationLevel")
|
||||
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
||||
public AjaxResult educationLevel(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisGraduateEmploymentInfoService.educationLevel(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 高校类型就业对比
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/universityType")
|
||||
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
||||
public AjaxResult universityType(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisGraduateEmploymentInfoService.universityType(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 主要专业就业情况
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/majorProfessional")
|
||||
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
||||
public AjaxResult majorProfessional(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisGraduateEmploymentInfoService.majorProfessional(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 性别就业差异分析
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/gender")
|
||||
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
||||
public AjaxResult gender(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisGraduateEmploymentInfoService.gender(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 毕业生地区流向分析
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/areaFlow")
|
||||
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
||||
public AjaxResult areaFlow(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisGraduateEmploymentInfoService.areaFlow(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 就业行业分布
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/industryDistribution")
|
||||
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
||||
public AjaxResult industryDistribution(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisGraduateEmploymentInfoService.industryDistribution(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 薪资水平分析
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/salaryLevel")
|
||||
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
||||
public AjaxResult salaryLevel(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisGraduateEmploymentInfoService.salaryLevel(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 就业满意度评估
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/satisfactionAssessment")
|
||||
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
||||
public AjaxResult satisfactionAssessment(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisGraduateEmploymentInfoService.satisfactionAssessment(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 毕业生创业情况
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 创业情况
|
||||
*/
|
||||
@PostMapping("/startupSituation")
|
||||
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
||||
public AjaxResult startupSituation(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisGraduateEmploymentInfoService.startupSituation(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 未就业人群分析
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 结果列表
|
||||
*/
|
||||
@PostMapping("/notEmploymentCrowd")
|
||||
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
||||
public AjaxResult notEmploymentCrowd(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisGraduateEmploymentInfoService.notEmploymentCrowd(dto));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user