
package org.sky.scientific.mapper;

import org.sky.scientific.pojo.entity.YsZjtrfyEntity;
import org.sky.scientific.pojo.vo.YsZjtrfyVO;
import org.sky.scientific.excel.YsZjtrfyExcel;
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 YsZjtrfyMapper extends BaseMapper<YsZjtrfyEntity> {

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


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

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