UserPaperRelationMapper.java 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. package com.qxgmat.data.relation;
  2. import com.qxgmat.data.dao.entity.UserPaper;
  3. import com.qxgmat.data.relation.entity.UserStudyStatRelation;
  4. import org.apache.ibatis.annotations.Param;
  5. import java.util.Collection;
  6. import java.util.List;
  7. /**
  8. * Created by gaojie on 2017/11/9.
  9. */
  10. public interface UserPaperRelationMapper {
  11. List<UserPaper> listPreviewAdmin(
  12. @Param("category") Number category,
  13. @Param("userId") Number userId,
  14. @Param("previewId") Number previewId,
  15. @Param("startTime") String startTime,
  16. @Param("endTime") String endTime
  17. );
  18. List<UserPaper> listPreview(
  19. @Param("category") Number category,
  20. @Param("userId") Number userId,
  21. @Param("endTime") String endTime,
  22. @Param("finish") Boolean finish
  23. );
  24. List<UserPaper> listPreviewGroupTop(
  25. @Param("userId") Number userId,
  26. @Param("top") Number top
  27. );
  28. List<UserPaper> listExercisePaper(
  29. @Param("structId") Number structId,
  30. @Param("userId") Number userId,
  31. @Param("logic") String logic,
  32. @Param("logicExtend") String logicExtend,
  33. @Param("times") Integer times
  34. );
  35. void accumulation(
  36. @Param("id") Number userPaperId,
  37. @Param("number") Integer number,
  38. @Param("time") Integer time,
  39. @Param("current") Integer current,
  40. @Param("times") Integer times
  41. );
  42. }