package org.sky.scientific.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.sky.core.tenant.annotation.TenantIgnore;
import org.sky.scientific.pojo.entity.CgKylwEntity;

import java.util.List;

/**
 * 科研成果-科研论文 Mapper 接口
 *
 * @author Kd
 * @since 2025-06-29
 */
public interface CgKylwMapper extends BaseMapper<CgKylwEntity> {

	/**
	 * 分页
	 *
	 * @param page 分页参数
	 * @param cgKylw 查询参数
	 * @return List<CgKylwVO>
	 */
	@TenantIgnore
	List<CgKylwEntity> selectPageByCondition(IPage<CgKylwEntity> page, @Param("ew") CgKylwEntity cgKylw);

	boolean physicalDeleteByIds(List<Long> ids);

}
