2026-06-25 16:44:47 +08:00
|
|
|
package com.ruoyi.cms.controller;
|
|
|
|
|
|
|
|
|
|
import com.ruoyi.cms.service.AnalysisCommonService;
|
|
|
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 分析通用
|
|
|
|
|
*
|
|
|
|
|
* @author 马宝龙
|
|
|
|
|
* @date 2026/6/25
|
|
|
|
|
*/
|
|
|
|
|
@RestController
|
|
|
|
|
@RequestMapping("/analysis/common")
|
|
|
|
|
@RequiredArgsConstructor
|
|
|
|
|
public class AnalysisCommonController {
|
|
|
|
|
|
|
|
|
|
private final AnalysisCommonService analysisCommonService;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询团场列表
|
|
|
|
|
*
|
|
|
|
|
* @return 团场列表
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping("/areaList")
|
|
|
|
|
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
|
|
|
|
public AjaxResult areaList() {
|
|
|
|
|
return AjaxResult.success(analysisCommonService.areaList());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询行业列表
|
|
|
|
|
*
|
|
|
|
|
* @return 行业列表
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping("/industryList")
|
|
|
|
|
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
|
|
|
|
public AjaxResult industryList() {
|
|
|
|
|
return AjaxResult.success(analysisCommonService.industryList());
|
|
|
|
|
}
|
2026-06-26 12:37:58 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询高校类型列表
|
|
|
|
|
*
|
|
|
|
|
* @return 高校类型列表
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping("/universityTypeList")
|
|
|
|
|
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
|
|
|
|
public AjaxResult universityTypeList() {
|
|
|
|
|
return AjaxResult.success(analysisCommonService.universityTypeList());
|
|
|
|
|
}
|
2026-06-26 16:19:10 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询重点行业列表
|
|
|
|
|
*
|
|
|
|
|
* @return 重点行业列表
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping("/majorIndustryList")
|
|
|
|
|
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
|
|
|
|
public AjaxResult majorIndustryList() {
|
|
|
|
|
return AjaxResult.success(analysisCommonService.majorIndustryList());
|
|
|
|
|
}
|
2026-06-25 16:44:47 +08:00
|
|
|
}
|