package com.zjrs.ggfw.rlzysc.entity;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.zjrs.ggfw.rlzysc.dto.JlxxQueryDTO;
import com.zjrs.ggfw.rlzysc.dto.TjjlListDTO;
import com.zjrs.ggfw.rlzysc.dto.dwzp.DwzpJlListQueryDTO;
import com.zjrs.ggfw.rlzysc.po.JlxxPO;

import java.util.HashMap;
import java.util.Map;

@Mapper
public interface JlxxMapper extends BaseMapper<JlxxPO> {

    JlxxPO getjlxxById(@Param("yhlshid") String id);

    //简历信息*获取推荐简历
    Page<TjjlListDTO> getTjjlList(Page<TjjlListDTO> page1, @Param("rsrlzyqyxxlsh") String rsrlzyqyxxlsh);
    //机构端推荐
    Page<TjjlListDTO> getDwTjjlList(Page<TjjlListDTO> page1, @Param("rsrlzyqyxxlsh") String rsrlzyqyxxlsh);

    //简历信息*获取简历信息列表
    Page<Map<String,Object>> getJlxxList(Page<JlxxPO> page1, @Param("dto") JlxxQueryDTO dto);

    //简历信息*获取简历信息列表(带时间查询)
     Page<Map<String,Object>> getJlxxList(Page<JlxxPO> page1, @Param("dto") JlxxQueryDTO dto,@Param("currentDate") String currentDate,@Param("beforeDate") String beforeDate);

    //单位招聘*简历管理*获取简历信息列表
    public Page<Map<String,Object>> getDwzpJlxxList(Page<Map<String,Object>> page, @Param("dto") DwzpJlListQueryDTO dto);
    public Map getJbxxglGrjbxx(String userid);
    public Map getJdjlxx(String userid);
    public Map getJljbxx(@Param("map") HashMap map);
    public Map getJljbxxAndJbxx(@Param("map") HashMap map);
    public Map getJljbxxForDw(@Param("map") HashMap map);
    public Integer getJlAndDwMszt(@Param("map") HashMap map);
    public Map getjlyxbydyb(@Param("map") HashMap map);
    public Map getJlqzyx(@Param("map") HashMap map);
    public Map getJlqzyxForDw(@Param("map") HashMap qmap);
    public Map getJlgzjy(@Param("map")HashMap map);
    public Map getJljyjl(@Param("map")HashMap map);
    public Map getJlpxjl(@Param("map")HashMap map);
    public Map getJlzyjn(@Param("map")HashMap map);
    public Map getJlshzs(@Param("map")HashMap map);
    public Map getJlhjqk(@Param("map")HashMap map);
    public Map getJlzcqk(@Param("map")HashMap map);
    public Map getgzjybydyb(@Param("map")HashMap map);
    public Map getjyjlbydyb(@Param("map")HashMap map);
    public Map getpxjlbydyb(@Param("map")HashMap map);
    public Map getzyjnbydyb(@Param("map")HashMap map);
    public Map getshzsbydyb(@Param("map")HashMap map);
    public Map gethjqkbydyb(@Param("map")HashMap map);
    public Map getzcqkbydyb(@Param("map")HashMap map);


    public void updateMrToWmr(@Param("map")HashMap map);
    public Map getGrXm(@Param("map") HashMap map);

    public Page<Map<String,Object>> getJlzntjList(Page<Map<String,Object>> page, String userid);
    public Page<Map<String,Object>> getJlrgtjList(Page<Map<String,Object>> page, String userid);

   public JlxxPO getMrjllsh(@Param("yhlsh") String userid);//获取用户默认简历流水号

    public Integer ajaxJltjsh(@Param("map") HashMap map);
    public Page<Map<String,Object>> getMyJlxxlist(Page<Map<String,Object>> page,String userid);


    public JlxxPO getzxJlxx(@Param("yhlsh") String userid);//获取用户最新的简历信息

    public Map getGrzxJljbxx(@Param("userid") String userid, @Param("rsrlzyjlxxlsh") String zjlsh);

    public Page<Map<String,Object>> getMyJlxxMrlist(Page<Map<String, Object>> page, String userid);
}

