| | |
| | | package com.gkhy.exam.admin.controller.web; |
| | | |
| | | import com.gkhy.exam.common.annotation.Log; |
| | | import com.gkhy.exam.common.annotation.RepeatSubmit; |
| | | import com.gkhy.exam.common.api.CommonResult; |
| | | import com.gkhy.exam.common.enums.BusinessType; |
| | | import com.gkhy.exam.system.domain.*; |
| | | import com.gkhy.exam.system.service.*; |
| | | import io.swagger.annotations.Api; |
| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import java.io.IOException; |
| | | |
| | | @Api(tags = "企业基础信息管理") |
| | | @RestController |
| | |
| | | return companyIndustryTemplateService.deletedCompanyIndustryTemplate(industryTemplateId); |
| | | } |
| | | |
| | | @RepeatSubmit |
| | | @Log(title = "行业管理", businessType = BusinessType.DELETE) |
| | | @ApiOperation(value = "导入行业") |
| | | @PostMapping("/industryTemplate/upload") |
| | | public CommonResult uploadQuestion(@RequestParam("file") MultipartFile file) throws IOException { |
| | | return companyIndustryTemplateService.uploadQuestion(file); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | } |