123456789101112131415161718192021222324252627282930313233343536373839404142 |
- package cn.cslg.pas.controller;
- import cn.cslg.pas.common.core.base.Constants;
- import cn.cslg.pas.common.dto.ExcelImportDTO;
- import cn.cslg.pas.common.utils.Response;
- import cn.cslg.pas.service.importPatent.ProjectImportService;
- import io.swagger.v3.oas.annotations.Operation;
- import lombok.RequiredArgsConstructor;
- import lombok.extern.slf4j.Slf4j;
- import org.springframework.web.bind.annotation.PostMapping;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- import org.springframework.web.multipart.MultipartFile;
- import java.io.IOException;
- /**
- * @author chenyu
- * @date 2023/10/23
- */
- @Slf4j
- @RequiredArgsConstructor
- @RequestMapping(Constants.API_XiaoSHI + "/import")
- @RestController
- public class ProjectImportController {
- // private final ProjectImportService projectImportService;
- //
- // @Operation(summary = "Excel导入专利任务")
- // @PostMapping("/excelImport")
- // public String excelImport(MultipartFile file, ExcelImportDTO excelImportDTO) throws IOException {
- // projectImportService.addExcelImportTask(file, excelImportDTO);
- // return Response.success();
- // }
- //
- // @Operation(summary = "检索导入专利任务")
- // @PostMapping("/patentStarImport")
- // public String patentStarImport(ExcelImportDTO excelImportDTO) throws IOException {
- // return Response.success();
- // }
- }
|