package org.springblade.swzdr.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springblade.swzdr.excel.RyGzdwExcel;
import org.springblade.swzdr.pojo.entity.RyGzdwEntity;
import org.springblade.swzdr.pojo.vo.RyGzdwVO;

import java.util.List;

/**
 * 人员_工作单位信息 Mapper 接口
 *
 * @author BladeX
 * @since 2024-09-12
 */
public interface RyGzdwMapper extends BaseMapper<RyGzdwEntity> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param ryGzdw
	 * @return
	 */
	List<RyGzdwVO> selectRyGzdwPage(IPage page, RyGzdwVO ryGzdw);

	/**
	 * 获取导出数据
	 *
	 * @param queryWrapper
	 * @return
	 */
	List<RyGzdwExcel> exportRyGzdw(@Param("ew") Wrapper<RyGzdwEntity> queryWrapper);
}
