
package org.sky.scientific.mapper;

import org.sky.scientific.pojo.entity.YfzdEntity;
import org.sky.scientific.pojo.vo.YfzdVO;
import org.sky.scientific.excel.YfzdExcel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 研发制度 Mapper 接口
 *
 * @author Kd
 * @since 2025-06-29
 */
public interface YfzdMapper extends BaseMapper<YfzdEntity> {

	/**
	 * 自定义分页
	 *
	 * @param page 分页参数
	 * @param yfzd 查询参数
	 * @return List<YfzdVO>
	 */
	List<YfzdVO> selectYfzdPage(IPage page, YfzdVO yfzd);


	/**
	 * 获取导出数据
	 *
	 * @param queryWrapper 查询条件
	 * @return List<YfzdExcel>
	 */
	List<YfzdExcel> exportYfzd(@Param("ew") Wrapper<YfzdEntity> queryWrapper);

	List<String> selectWJLXType();

	boolean physicalDeleteByIds(List<Long> ids);
}
