⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scoredao.java

📁 are are are are are are are are are are are are
💻 JAVA
字号:
/*
 * ScoreDao.java
 *
 * Created on 2006年5月19日, 上午8:19
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package enova.dao;

import java.util.List;
import enova.pojo.*;

/**
 *
 * @author vlinux
 */
public interface ScoreDao {
    
    public Score get(Integer studentId, Integer courseId) throws DataAccessException;
    //public void update(Score score) throws DataAccessException;
    public void insert(Score score) throws RecordExistException, DataAccessException;
    //public void updateOrInsert(Score score) throws RecordExistException, DataAccessException;
    public void delete(Integer studentId, Integer courseId) throws DataAccessException;
    
    public void update(Integer studentId,Integer courseId,Integer grade) throws DataAccessException;
    public void clean(Integer studentId,Integer courseId) throws DataAccessException;
    public void cleanByClassId(Integer classId,Integer courseId) throws DataAccessException;
    public void cleanByClassIdAndYearAndTerm(Integer classId,Integer year,String term) throws DataAccessException;
    
    public List getByTeacherIdAndCourseIdAndClassIdSortNumber(Integer teacherId,Integer courseId,Integer classId) throws DataAccessException;
    public List getByStudentIdAndYearAndTerm(Integer studentId,Integer year,String term) throws DataAccessException;
    public List getByStudentIdSortYearAndTerm(Integer studentId) throws DataAccessException;
    public List getByClassIdSortYearAndTermAndNumber(Integer classId) throws DataAccessException;
    public List getByClassIdAndYearAndTermSortNumber(Integer classId,Integer year,String term) throws DataAccessException;
    public List getByNumberAndYearAndTerm(String number,Integer year,String term) throws DataAccessException;
    public List getByNumber(String number) throws DataAccessException;
    
    public void updateByTeacherIdAndStudentIdAndCourseId(Integer teacherId,Integer studentId,Integer courseId,Integer value) 
        throws DataAccessException;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -