Administrator
2021-08-10 c8ebf3038d2a7f69d9eb40f5a276dc3fa826fa9b
src/main/java/org/springblade/modules/apply/mapper/ApplyMapper.java
@@ -4,6 +4,9 @@
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.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;
@@ -31,4 +34,72 @@
    */
   ApplyVO selectApplyInfo(@Param("apply") Apply apply);
   /**
    * 获取准考证前缀相同的数量
    * @param result 前缀
    * @return
    */
    int getCandidateNoCount(@Param("result")String result);
   /**
    * 获取公司集体报名的人数
    * @param applyCode
    * @return
    */
   Integer getApplyNum(@Param("applyCode") String applyCode);
   /**
    * 获取准考证信息(正式考试)
    * @param apply
    * @return
    */
    ApplyPaPerVO getApplyInfo(@Param("apply")Apply apply);
   /**
    * 导出报名数数据
    * @param apply 报名对象
    * @return
    */
    List<ApplyInfoExcel> getApplyExcelList(@Param("apply")Apply apply);
   /**
    * 获取准考证信息(模拟考试)
    * @param apply
    * @return
    */
   ApplyPaPerVO getTrainApplyInfo(@Param("apply")Apply apply);
   /**
    * 查询人员是否已报名
    * @param apply
    * @return
    */
    Integer getIsApply(@Param("apply")Apply apply);
   /**
    * 查询人员是否已报名
    * @param apply
    * @return
    */
   List<Apply> getSecurityApplyInfo(@Param("apply")Apply apply);
   /**
    * 查询报名人员未关联考试的ids集合
    * @return
    */
    List<Long> getApplyIds();
   /**
    * 查询考试人数
    * @param id 考试id
    * @return
    */
   int getApplyDeatailNum(Long id);
   /**
    * 查询已报名的的人信息集合
    * @param id 考试id
    * @return
    */
   List<ApplyVO> getApplyDetailList(Long id);
}