package com.sundot.airport.exam.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sundot.airport.exam.common.model.result.QuesCatPageResult;
import com.sundot.airport.exam.domain.QuesCat;
import com.sundot.airport.exam.logic.manage.model.params.QuesCatPageParam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <b>功能名：</b>QuesCatMapper<br>
 * <b>说明：</b> 题目分类表 <br>
 * <b>著作权：</b> Copyright (C) 2021 HUIFANEDU  CORPORATION<br>
 * <b>修改履历：
 *
 * @author 2021-06-17 liangxiao
 */
@Mapper
public interface QuesCatMapper extends BaseMapper<QuesCat> {

    /**
     * <b>方法名: </b> getQueCatList <br>
     * <b>说明: 题目分类列表（包括未分类）并获取每个分类下的题目数</b> <br>
     *
     * @param param com.sundot.airport.logic.manage.model.params.QuesCatPageParam 题目分类表分页列表请求参数
     * @return com.sundot.airport.exam.common.model.result.QuesCatPageResult><br>
     * <b>修改履历: </b>
     * @author 2021/7/20 lity
     */
    List<QuesCatPageResult> getQueCatList(QuesCatPageParam param);
}
