package com.mindskip.xzs.repository; import com.mindskip.xzs.domain.ExamPaperUser; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; @Mapper public interface ExamPaperUserMapper extends BaseMapper{ Integer add(ExamPaperUser examPaperUser); List getByUserId(@Param("userId") Integer userId); Integer saves(List list); List getByExamPaperId(@Param("examPaperId") Integer examPaperId); Integer removeByExamPaperId(@Param("examPaperId") Integer examPaperId); Integer getByPaperIdAndCreatUser(Integer examPaperId, Integer createUser); }