package org.springblade.modules.apply.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import org.apache.ibatis.annotations.Param;
|
import org.springblade.modules.apply.entity.Apply;
|
import org.springblade.modules.apply.vo.ApplyVO;
|
|
import java.util.List;
|
|
/**
|
* 考试报名Mapper 接口
|
* @author zhongrj
|
*/
|
public interface ApplyMapper extends BaseMapper<Apply> {
|
|
|
/**
|
* 自定义分页
|
*
|
* @param page 分页
|
* @param apply 实体
|
* @return
|
*/
|
List<ApplyVO> selectApplyPage(IPage page, @Param("apply") ApplyVO apply);
|
|
/**
|
* 详情
|
*
|
* @param apply 考试报名信息对象
|
*/
|
ApplyVO selectApplyInfo(@Param("apply") Apply apply);
|
|
/**
|
* 获取准考证前缀相同的数量
|
* @param result 前缀
|
* @return
|
*/
|
int getCandidateNoCount(@Param("result")String result);
|
|
/**
|
* 获取公司集体报名的人数
|
* @param applyCode
|
* @return
|
*/
|
Integer getApplyNum(@Param("applyCode") String applyCode);
|
}
|