xiangpei
2025-05-14 47cd9ecc0eff38ffe6b3b794b2bf197e958f4403
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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<ExamTemplatesUserCount>{
 
    Integer add(ExamTemplatesUserCount examTemplatesUserCount);
 
    List<ExamTemplatesUserCountVO> list(ExamPaperPageRequestVM requestVM);
 
    List<ExamTemplatesUserCount> getByTemplatesIds(@Param("ids") Integer[] templatesIds);
 
    List<ExamTemplatesUserCount> getByUserIds(@Param("ids") Integer[] userIds);
 
    List<ExamTemplatesUserCount> getByUserIdAndTemplatesId(ExamTemplatesUserCountVO examTemplatesUserCountVO);
 
    List<ExamTemplatesUserCount> getByTemplates(@Param("id") Integer id);
 
    List<UserCountExcelVO> getByExamTemplates(@Param("id") Integer id);
 
    Integer getCountByUserIdAndTemplatesId(ExamTemplatesUserCountVO examTemplatesUserCountVO);
 
    List<UserCountExcelVO> getByExamTemplatesUser(@Param("id") Integer id);
}