
package org.sky.scientific.mapper;

import org.sky.scientific.pojo.entity.CgKylwEntity;
import org.sky.scientific.pojo.vo.CgKylwVO;
import org.sky.scientific.excel.CgKylwExcel;
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 CgKylwMapper extends BaseMapper<CgKylwEntity> {

	/**
	 * 自定义分页
	 *
	 * @param page 分页参数
	 * @param cgKylw 查询参数
	 * @return List<CgKylwVO>
	 */
	List<CgKylwVO> selectCgKylwPage(IPage page, CgKylwVO cgKylw);


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

	boolean physicalDeleteByIds(List<Long> ids);

}
