添加功能
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
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());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package com.ruoyi.cms.controller;
|
||||
|
||||
import com.ruoyi.cms.domain.dto.QueryParamDto;
|
||||
import com.ruoyi.cms.service.AnalysisIndustryEmploymentInfoService;
|
||||
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/industryEmploymentInfo")
|
||||
@RequiredArgsConstructor
|
||||
public class AnalysisIndustryEmploymentInfoController {
|
||||
|
||||
private final AnalysisIndustryEmploymentInfoService analysisIndustryEmploymentInfoService;
|
||||
|
||||
/**
|
||||
* 数据总览
|
||||
*
|
||||
* @param dto 查询参数
|
||||
* @return 数据总览
|
||||
*/
|
||||
@PostMapping("/overview")
|
||||
// @Log(title = "根据枚举名称查询枚举的所有值", businessType = BusinessType.QUERY)
|
||||
public AjaxResult overview(@RequestBody QueryParamDto dto) {
|
||||
return AjaxResult.success(analysisIndustryEmploymentInfoService.overview(dto));
|
||||
}
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
package com.ruoyi.cms.controller;
|
||||
|
||||
/**
|
||||
* <类注释内容>
|
||||
*
|
||||
* @author 马宝龙
|
||||
* @date 2026/6/24
|
||||
*/
|
||||
public class TestController {
|
||||
}
|
||||
Reference in New Issue
Block a user