MoniMajorController.java 1.27 KB
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);
//    }

}