package com.mindskip.xzs.repository; import com.mindskip.xzs.domain.ExamTemplatesUserCount; import com.mindskip.xzs.domain.vo.ExamTemplatesUserCountVO; import com.mindskip.xzs.domain.vo.TemplatesUserVO; import com.mindskip.xzs.domain.vo.UserCountExcelVO; import com.mindskip.xzs.viewmodel.admin.exam.ExamPaperPageRequestVM; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; @Mapper public interface ExamTemplatesUserCountMapper extends BaseMapper{ Integer add(ExamTemplatesUserCount examTemplatesUserCount); List list(ExamPaperPageRequestVM requestVM); List getByTemplatesIds(@Param("ids") Integer[] templatesIds); List getByUserIds(@Param("ids") Integer[] userIds); List getByUserIdAndTemplatesId(ExamTemplatesUserCountVO examTemplatesUserCountVO); List getByTemplates(@Param("id") Integer id); List getByExamTemplates(@Param("id") Integer id); Integer getCountByUserIdAndTemplatesId(ExamTemplatesUserCountVO examTemplatesUserCountVO); List getByExamTemplatesUser(@Param("id") Integer id); }