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.RyCgspExcel;
import org.springblade.swzdr.pojo.entity.RyCgspEntity;
import org.springblade.swzdr.pojo.vo.RyCgspVO;

import java.util.List;
import java.util.Map;

/**
 * 人员_撤管记录 服务类
 *
 * @author BladeX
 * @since 2024-09-27
 */
public interface IRyCgspService extends BaseService<RyCgspEntity> {
	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param params
	 * @return
	 */
	IPage<RyCgspVO> selectRyCgspPage(IPage<RyCgspVO> page, Map<String, String> params);

	/**
	 * 导出数据
	 *
	 * @param queryWrapper
	 * @return
	 */
	List<RyCgspExcel> exportRyCgsp(Wrapper<RyCgspEntity> queryWrapper);

	List<RyCgspVO> getListByRyId(Long ryId);
}
