
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.scientific.pojo.entity.YsZjtrfyEntity;
import org.sky.scientific.pojo.vo.YsZjtrfyVO;

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<YsZjtrfyVO> page, @Param("ysZjtrfy") YsZjtrfyVO ysZjtrfy);


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