xiaoCJ 10 months ago
parent 35cafe2ce2
commit 5b034247f8

@ -31,9 +31,9 @@ public class CompetitionMemberController extends BaseController {
} }
@PostMapping("uploadPersonExcel") @PostMapping("uploadPersonExcel")
public Result<String> uploadPersonExcel(MultipartFile file,Long competitionId,Integer stageId,Long userId){ public Result<String> uploadPersonExcel(MultipartFile file,Long competitionId,Integer stageId){
// long userNo = getUserNo(); // long userNo = getUserNo();
return teamMemberImportBiz.uploadPersonExcel(file,competitionId,stageId,userId); return teamMemberImportBiz.uploadPersonExcel(file,competitionId,stageId);
} }
@PostMapping("importMember") @PostMapping("importMember")

@ -50,7 +50,7 @@ public class TeamMemberImportBiz {
@Autowired @Autowired
CompetitionDao competitionDao; CompetitionDao competitionDao;
public Result<String> uploadPersonExcel(MultipartFile file, Long competitionId, Integer stageId, Long userId) { public Result<String> uploadPersonExcel(MultipartFile file, Long competitionId, Integer stageId) {
if (file == null) { if (file == null) {
return Result.error("请上传文件"); return Result.error("请上传文件");
} }

Loading…
Cancel
Save