
package org.sky.scientific.mapper;

import org.sky.scientific.pojo.entity.YsWtwbyjkffyEntity;
import org.sky.scientific.pojo.vo.YsWtwbyjkffyVO;
import org.sky.scientific.excel.YsWtwbyjkffyExcel;
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 YsWtwbyjkffyMapper extends BaseMapper<YsWtwbyjkffyEntity> {

	/**
	 * 自定义分页
	 *
	 * @param page 分页参数
	 * @param ysWtwbyjkffy 查询参数
	 * @return List<YsWtwbyjkffyVO>
	 */
	List<YsWtwbyjkffyVO> selectYsWtwbyjkffyPage(IPage page, @Param("ysWtwbyjkffy") YsWtwbyjkffyVO ysWtwbyjkffy);


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

	/**
	 * 物理删除
	 * @param ids
	 * @return
	 */
    int physicalDeleteByIds(List<Long> ids);
}
