package com.template.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.template.model.pojo.SmartVisitorParentsConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.template.model.vo.SmartVisitorParentsConfigVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ceshi
 * @since 2024-05-29
 */
@Repository
public interface SmartVisitorParentsConfigMapper extends BaseMapper<SmartVisitorParentsConfig> {

    IPage<SmartVisitorParentsConfigVo> getClassIdPage(Page<SmartVisitorParentsConfigVo> p,@Param("classId") Integer classId,@Param("gradeId")Integer gradeId);

    SmartVisitorParentsConfigVo getClassId(@Param("schoolClass") Integer schoolClass);
}
