package org.sky.scientific.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.sky.core.mp.base.BaseService;
import org.sky.scientific.excel.XmDesignCostExcel;
import org.sky.scientific.pojo.dto.XmDesignCostQuery;
import org.sky.scientific.pojo.entity.XmDesignCostEntity;
import org.sky.scientific.pojo.vo.XmDesignCostVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 项目-设计费用、装备调试费用与试验费用基本信息台账 服务类
 *
 * @author Kd
 * @since 2025-07-28
 */
public interface IXmDesignCostService extends BaseService<XmDesignCostEntity> {
	/**
	 * 自定义分页
	 *
	 * @param page 分页参数
	 * @param xmDesignCost 查询参数
	 * @return IPage<XmDesignCostVO>
	 */
	IPage<XmDesignCostVO> selectXmDesignCostPage(IPage<XmDesignCostVO> page, XmDesignCostQuery param);


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

    void importData(MultipartFile file, String yearAndMonth);

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