|
|
|
|
package com.ibeetl.jlw.dao;
|
|
|
|
|
|
|
|
|
|
import com.ibeetl.jlw.entity.TeacherOpenCourseQuestionLog;
|
|
|
|
|
import com.ibeetl.jlw.web.query.TeacherOpenCourseQuestionLogQuery;
|
|
|
|
|
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.Repository;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 题目日志 Dao
|
|
|
|
|
*/
|
|
|
|
|
// 实际可以不用加Repository注解,调用的地方注入时候,Idea会报红,看着难受
|
|
|
|
|
@Repository
|
|
|
|
|
@SqlResource("jlw.teacherOpenCourseQuestionLog")
|
|
|
|
|
public interface TeacherOpenCourseQuestionLogDao extends BaseMapper<TeacherOpenCourseQuestionLog>{
|
|
|
|
|
PageQuery<TeacherOpenCourseQuestionLog> queryByCondition(PageQuery query);
|
|
|
|
|
PageQuery<TeacherOpenCourseQuestionLog> queryByConditionQuery(PageQuery query);
|
|
|
|
|
@Update
|
|
|
|
|
void deleteTeacherOpenCourseQuestionLogByIds(String ids);
|
|
|
|
|
@Update
|
|
|
|
|
void deleteByIds(String ids);
|
|
|
|
|
@Update
|
|
|
|
|
int updateGivenByIds(TeacherOpenCourseQuestionLogQuery teacherOpenCourseQuestionLogQuery);
|
|
|
|
|
List<TeacherOpenCourseQuestionLog> getByIds(String ids);
|
|
|
|
|
List<TeacherOpenCourseQuestionLog> getValuesByQuery(TeacherOpenCourseQuestionLogQuery teacherOpenCourseQuestionLogQuery);
|
|
|
|
|
List<TeacherOpenCourseQuestionLog> getValuesByQueryNotWithPermission(TeacherOpenCourseQuestionLogQuery teacherOpenCourseQuestionLogQuery);
|
|
|
|
|
|
|
|
|
|
PageQuery<TeacherOpenCourseQuestionLog> studentScoreList(PageQuery query);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据题目配置ID逻辑删除
|
|
|
|
|
* @param settingIds
|
|
|
|
|
*/
|
|
|
|
|
@Update
|
|
|
|
|
void logicDeleteBySettingIds(String settingIds);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据题目配置ID 批量真删除
|
|
|
|
|
* @param settingIds
|
|
|
|
|
*/
|
|
|
|
|
@Update
|
|
|
|
|
void deleteBySettingIds(String settingIds);
|
|
|
|
|
|
|
|
|
|
}
|