MoniMajorController.java
1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package com.subsidy.controller;
import com.subsidy.service.MoniMajorService;
import com.subsidy.vo.simulation.SimulationSeekerDTO;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import io.swagger.annotations.Api;
/**
* <p>
* 前端控制器
* </p>
*
* @author Tuyp
* @since 2024-11-04
*/
@RestController
@Api(tags = "")
@RequestMapping("/moniMajor")
public class MoniMajorController {
@Autowired
private MoniMajorService moniMajorService;
//模拟数据
@PostMapping("simulationJob")
@ApiOperation("模拟工作数据 cnt")
public void simulationJob(@RequestBody SimulationSeekerDTO simulationSeekerDTO){
moniMajorService.simulationJob(simulationSeekerDTO);
}
@PostMapping("simulationSeeker")
@ApiOperation("模拟求职数据 outPuts[majorType cnt 数量]")
public void simulationSeeker(@RequestBody SimulationSeekerDTO simulationSeekerDTO){
moniMajorService.simulationSeeker(simulationSeekerDTO);
}
// @PostMapping("analysisExcel")
// @ApiOperation("excel处理 ")
// public void analysisExcel(@RequestParam("file") MultipartFile file){
// moniMajorService.analysisExcel(file);
// }
}