package org.dromara.main.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.main.domain.MainBackCandidate;
import org.dromara.main.domain.bo.MainPostCandidateQueryBo;
import org.dromara.main.domain.vo.MainBackCandidateVo;
import org.dromara.main.domain.vo.MainPostCandidateVo;

import java.util.List;

public interface MainBackCandidateMapper extends BaseMapperPlus<MainBackCandidate, MainBackCandidateVo> {

    IPage<MainPostCandidateVo> selectPostCandidatePage(Page<MainPostCandidateVo> page, @Param("bo") MainPostCandidateQueryBo bo);

    List<MainPostCandidateVo> selectPostCandidateList(@Param("bo") MainPostCandidateQueryBo bo);
}
