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.RyShgxExcel;
import org.springblade.swzdr.pojo.entity.RyShgxEntity;
import org.springblade.swzdr.pojo.vo.RyShgxVO;

import java.util.List;

/**
 * 人员_社会关系信息 Mapper 接口
 *
 * @author BladeX
 * @since 2024-09-12
 */
public interface RyShgxMapper extends BaseMapper<RyShgxEntity> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param ryShgx
	 * @return
	 */
	List<RyShgxVO> selectRyShgxPage(IPage page, RyShgxVO ryShgx);

	/**
	 * 获取导出数据
	 *
	 * @param queryWrapper
	 * @return
	 */
	List<RyShgxExcel> exportRyShgx(@Param("ew") Wrapper<RyShgxEntity> queryWrapper);

}
