package com.sqx.modules.sendRecord.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sqx.modules.app.vo.ResumesBrowseVo;
import com.sqx.modules.app.vo.UserPostPushBrowseVo;
import com.sqx.modules.sendRecord.entity.SendRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author www.javacoder.top
 * @since 2023-02-02
 */
@Mapper
public interface SendRecordDao extends BaseMapper<SendRecord> {

    IPage<UserPostPushBrowseVo> getRecordList(@Param("pages") Page<UserPostPushBrowseVo> pages, @Param("sendRecord") SendRecord sendRecord, @Param("industry") String[] industry, @Param("education") String[] education, @Param("experience") String[] experience, @Param("companyPeople") String[] companyPeople, @Param("salaryRange") String[] salaryRange);

    IPage<ResumesBrowseVo> getCompanyRecordList(@Param("pages") Page<ResumesBrowseVo> pages, @Param("sendRecord") SendRecord sendRecord, @Param("resumesCompensation") String[] resumesCompensation, @Param("resumesEducation") String[] resumesEducation, @Param("resumesWorkExperience") String[] resumesWorkExperience, @Param("industryName") String[] industryName);
}
