| | |
| | | |
| | | import com.gkhy.exam.pay.entity.CoalPayStudent; |
| | | import com.gkhy.exam.pay.service.CoalPayStudentService; |
| | | import com.ruoyi.common.annotation.Anonymous; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.validation.annotation.Validated; |
| | |
| | | * 批量导入学生 |
| | | */ |
| | | @PostMapping("/import") |
| | | @Anonymous |
| | | @ApiModelProperty(value = "导入学员") |
| | | public AjaxResult uploadStudent(@RequestParam("file") MultipartFile file, @RequestParam("coalPayId") Long coalPayId) { |
| | | try { |
| | | return coalPayStudentService.uploadStudent(file, coalPayId); |