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.RyDjclExcel;
import org.springblade.swzdr.pojo.entity.RyDjclEntity;
import org.springblade.swzdr.pojo.vo.RyDjclVO;

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

/**
 * 人员_打击处理 Mapper 接口
 *
 * @author BladeX
 * @since 2024-09-29
 */
public interface RyDjclMapper extends BaseMapper<RyDjclEntity> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param params
	 * @return
	 */
	List<RyDjclVO> selectRyDjclPage(IPage page, @Param("params") Map<String, String> params);

	/**
	 * 获取导出数据
	 *
	 * @param queryWrapper
	 * @return
	 */
	List<RyDjclExcel> exportRyDjcl(@Param("ew") Wrapper<RyDjclEntity> queryWrapper);

    List<RyDjclVO> getListByRyId(Long ryId);
}
