package org.springblade.swzdr.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.core.mp.base.BaseService;
import org.springblade.swzdr.excel.RyXfxxExcel;
import org.springblade.swzdr.pojo.entity.RyXfxxEntity;
import org.springblade.swzdr.pojo.vo.RyXfxxVO;
import org.springblade.swzdr.pojo.vo.XfxxDjVO;

import java.util.List;

/**
 * 人员_信访信息 服务类
 *
 * @author BladeX
 * @since 2024-09-12
 */
public interface IRyXfxxService extends BaseService<RyXfxxEntity> {
	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param ryXfxx
	 * @return
	 */
	IPage<RyXfxxVO> selectRyXfxxPage(IPage<RyXfxxVO> page, RyXfxxVO ryXfxx);

	/**
	 * 导出数据
	 *
	 * @param queryWrapper
	 * @return
	 */
	List<RyXfxxExcel> exportRyXfxx(Wrapper<RyXfxxEntity> queryWrapper);

    List<XfxxDjVO> getByUserId(Long id);
}
