package org.springblade.modules.apply.service;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import org.springblade.core.tool.api.R;
|
import org.springblade.modules.apply.entity.Apply;
|
import org.springblade.modules.apply.excel.ApplyExcel;
|
import org.springblade.modules.apply.excel.ApplyInfoExcel;
|
import org.springblade.modules.apply.vo.ApplyPaPerVO;
|
import org.springblade.modules.apply.vo.ApplyVO;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 考试报名服务类
|
* @author zhongrj
|
*/
|
public interface ApplyService extends IService<Apply> {
|
|
/**
|
* 自定义分页
|
* @param page
|
* @param apply
|
* @return
|
*/
|
IPage<ApplyVO> selectApplyPage(IPage<ApplyVO> page, ApplyVO apply);
|
|
/**
|
* 详情
|
* @param apply 考试报名信息对象
|
* @return
|
*/
|
ApplyVO selectApplyInfo(Apply apply);
|
|
/**
|
* 获取准考证前缀相同的数量
|
* @param result 前缀
|
* @return
|
*/
|
int getCandidateNoCount(String result);
|
|
/**
|
* 获取公司集体报名的人数
|
* @param applyCode
|
* @return
|
*/
|
Integer getApplyNum(String applyCode);
|
|
/**
|
* 导入考试数据
|
*
|
* @param data
|
* @param isCovered
|
* @return
|
*/
|
void importApply(List<ApplyExcel> data, Boolean isCovered);
|
|
/**
|
* 获取准考证信息
|
* @param apply
|
* @return
|
*/
|
ApplyPaPerVO getApplyInfo(Apply apply);
|
|
/**
|
* 导出报名数数据
|
* @param apply 报名对象
|
*/
|
List<ApplyInfoExcel> getApplyExcelList(Apply apply);
|
|
/**
|
* 查询人员是否已报名
|
* @param apply
|
* @return
|
*/
|
Integer getIsApply(Apply apply);
|
|
/**
|
* 查询人员是否已报名
|
* @param apply
|
* @return
|
*/
|
List<Apply> getSecurityApplyInfo(Apply apply);
|
|
/**
|
* 查询报名人员未关联考试的ids集合
|
* @return
|
*/
|
List<Long> getApplyIds();
|
|
/**
|
* 查询报名清册信息
|
* @param apply 报名信息
|
* @return
|
*/
|
Map<String,Object> getApplyDetailList(ApplyVO apply);
|
|
/**
|
* 查询保安员个人报名信息
|
* @param apply 报名信息,包含userId
|
* @return
|
*/
|
ApplyVO getSecurityApplyDetail(ApplyVO apply);
|
}
|