up
This commit is contained in:
parent
4a286b0c17
commit
dfb6c67a5a
@ -1,4 +1,21 @@
|
||||
package cyou.chenx221.dao;
|
||||
|
||||
import cyou.chenx221.modal.Score;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ScoreDao {
|
||||
void addScore(Score score);
|
||||
|
||||
void updateScore(Score score);
|
||||
|
||||
void deleteScore(int scoreId);
|
||||
|
||||
Score getScoreById(int scoreId);
|
||||
|
||||
List<Score> getScoresByStudentId(int studentId);
|
||||
|
||||
List<Score> getScoresByCourse(String course);
|
||||
|
||||
List<Score> getAllScores();
|
||||
}
|
||||
|
@ -1,4 +1,17 @@
|
||||
package cyou.chenx221.dao;
|
||||
|
||||
import cyou.chenx221.modal.Student;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface StudentDao {
|
||||
void addStudent(Student student);
|
||||
|
||||
void updateStudent(Student student);
|
||||
|
||||
void deleteStudent(int studentId);
|
||||
|
||||
Student getStudentById(int studentId);
|
||||
|
||||
List<Student> getAllStudents();
|
||||
}
|
||||
|
Reference in New Issue
Block a user