package com.jeeplus.test.jobPosion.mapper;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jeeplus.test.jobPosion.domain.JobPosition;
import com.jeeplus.test.jobPosion.domain.Position;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface JobPositionMapper extends BaseMapper<JobPosition> {

    public IPage<JobPosition> findList(Page<JobPosition> page, @Param(Constants.WRAPPER) QueryWrapper<JobPosition> queryWrapper);

    public void updateUseFlagById(@Param("ids") List<String> ids, @Param("useFlag") String useFlag);

}