Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/main/java/xmu/crms/service/ClassService.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import java.math.BigInteger;
import java.util.List;

import java.io.FileNotFoundException;
import xmu.crms.entity.ClassInfo;
import xmu.crms.entity.Location;
import xmu.crms.entity.User;
Expand Down Expand Up @@ -189,4 +189,11 @@ void endCallRollById(BigInteger seminarId,BigInteger classId)
* @see ClassService #getClassByClassId(BigInteger classId)
*/
List<ClassInfo> listClassByUserId(BigInteger userId) throws IllegalArgumentException, ClassesNotFoundException;

/**
* 将文件中的学生插入数据库.
* <p>将文件中的学生插入数据库<br>
* @param filePath 文件路径及文件名,如c://1.xsl
*/
public void insertStudentFromRoster(String filePath) throws FileNotFoundException;
}