1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- package com.qxgmat.data.relation;
- import com.qxgmat.data.dao.entity.UserQuestion;
- import com.qxgmat.data.relation.entity.UserRecordStatRelation;
- import com.qxgmat.data.relation.entity.UserReportLimitRelation;
- import org.apache.ibatis.annotations.Param;
- import java.util.Collection;
- import java.util.Date;
- import java.util.List;
- /**
- * Created by gaojie on 2017/11/9.
- */
- public interface UserQuestionRelationMapper {
- List<UserQuestion> listExerciseError(
- @Param("userId") Number userId,
- @Param("keyword") String keyword,
- @Param("questionTypes") String[] questionTypes,
- @Param("courseModules") String[] courseModules,
- @Param("structIds") Integer[] structIds,
- @Param("startTime") Date startTime,
- @Param("endTime") Date endTime,
- String order
- );
- List<UserQuestion> listExaminationError(
- @Param("userId") Number userId,
- @Param("keyword") String keyword,
- @Param("questionTypes") String[] questionTypes,
- @Param("structIds") Integer[] structIds,
- @Param("libraryId") Integer libraryId,
- @Param("year") String year,
- @Param("startTime") Date startTime,
- @Param("endTime") Date endTime,
- String order
- );
- List<UserQuestion> listLast(
- @Param("userId") Number userId,
- @Param("questionIds") Collection questionIds
- );
- List<UserRecordStatRelation> stat(
- @Param("userId") Integer userId,
- @Param("startTime") Date startTime,
- @Param("endTime") Date endTime
- );
- List<UserRecordStatRelation> statAvg(
- @Param("startTime") Date startTime,
- @Param("endTime") Date endTime
- );
- List<UserReportLimitRelation> statLimit(
- @Param("reportId") Integer reportId
- );
- }
|