
package org.sky.scientific.mapper;

import org.sky.scientific.pojo.dto.XmDesignCostQuery;
import org.sky.scientific.pojo.entity.XmDesignCostEntity;
import org.sky.scientific.pojo.vo.XmDesignCostVO;
import org.sky.scientific.excel.XmDesignCostExcel;
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-07-28
 */
public interface XmDesignCostMapper extends BaseMapper<XmDesignCostEntity> {

	/**
	 * 自定义分页
	 *
	 * @param page 分页参数
	 * @param xmDesignCost 查询参数
	 * @return List<XmDesignCostVO>
	 */
	List<XmDesignCostVO> selectXmDesignCostPage(IPage page, @Param("ew") XmDesignCostQuery param);


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

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