📄 dbstudentdao.java
字号:
package com.middle.graduate.biz.dao;
import java.util.List;
import com.middle.graduate.biz.entity.Student;
import com.middle.graduate.biz.entity.Topic;
import com.middle.graduate.biz.exce.DataException;
public interface DBStudentDao {
public boolean login(int studentId, String password) throws DataException;
public void changePassword(int studentId, String password) throws DataException;
//查询所有课题
public List<Topic> queryAllTopic() throws DataException;
//选择课题
public void selectTopic(int studentId, int topicId) throws DataException;
//退选课题
public void quitTopic(int studentId, int topicId) throws DataException;
//查询已选课题
public Student querySelectedTopic(int studentId) throws DataException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -