You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.0 KiB
Java

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.ibeetl.jlw.dao;
import com.ibeetl.jlw.entity.ExamStudents;
import com.ibeetl.jlw.web.query.ExamStudentsQuery;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.mapper.BaseMapper;
import org.beetl.sql.mapper.annotation.SqlResource;
import org.beetl.sql.mapper.annotation.Update;
import org.springframework.stereotype.Component;
import java.util.List;
/**
* ExamStudents Dao
*/
// 实际可以不用加Component注解调用的地方注入时候Idea会报红看着难受
@Component
@SqlResource("jlw.examStudents")
public interface ExamStudentsDao extends BaseMapper<ExamStudents>{
public PageQuery<ExamStudents> queryByCondition(PageQuery query);
public PageQuery<ExamStudents> queryExamByCondition(PageQuery query);
@Update
public void deleteExamStudentsByIds(String ids);
@Update
public void deleteByExamId(Long examId);
List<ExamStudents> getExamInfo (ExamStudentsQuery examStudentsQuery);
@Update
public int updateTotalScore (ExamStudents examStudents);
}