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.RyXspzExcel;
import org.springblade.swzdr.pojo.entity.RyXspzEntity;
import org.springblade.swzdr.pojo.vo.RyXspzVO;

import java.util.List;

/**
 * 人员_写实时间配置 Mapper 接口
 *
 * @author BladeX
 * @since 2024-09-19
 */
public interface RyXspzMapper extends BaseMapper<RyXspzEntity> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param ryXspz
	 * @return
	 */
	List<RyXspzVO> selectRyXspzPage(IPage page, RyXspzVO ryXspz);

	/**
	 * 获取导出数据
	 *
	 * @param queryWrapper
	 * @return
	 */
	List<RyXspzExcel> exportRyXspz(@Param("ew") Wrapper<RyXspzEntity> queryWrapper);

	int isGbsj();
}
