JobDictMapper.java 1.03 KB
package com.laowu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.laowu.model.JobDictDO;
import com.laowu.vo.job.JobManagementVO;
import com.laowu.vo.job.JobVO;
import com.laowu.vo.job.OneJobVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 职位字典表 Mapper 接口
 * </p>
 *
 * @author Tuyp
 * @since 2023-02-15
 */
@Repository
public interface JobDictMapper extends BaseMapper<JobDictDO> {

    /**
     * 查询工作  分页
     */
    IPage<JobVO> jobs(IPage page, List<Long> recruitId, List<Long> cityId, List<Long> positions,Integer jobType,String jobName,String recruitStatus);

    /**
     * 查询 一个工作
     */
    OneJobVO oneJob(Long id);

    /**
     * 相关推荐
     */
    List<JobVO> relativeJobs(Long positionId);

    /**
     * 职位管理
     */
    IPage<JobManagementVO> jobManagement(IPage page,Long recruitId, Long cityId, List<Long> positions,Integer jobType,String recruitStatus);

}