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.XmOtherCostExcel;
import org.sky.scientific.pojo.dto.XmOtherCostQuery;
import org.sky.scientific.pojo.entity.XmOtherCostEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 项目-其他费用-基本信息台账 服务类
 *
 * @author Kd
 * @since 2025-07-28
 */
public interface IXmOtherCostService extends BaseService<XmOtherCostEntity> {
	/**
	 * 自定义分页
	 *
	 * @param page 分页参数
	 * @param param 查询参数
	 * @return IPage<XmOtherCostEntity>
	 */
	IPage<XmOtherCostEntity> selectPage(IPage<XmOtherCostEntity> page, XmOtherCostQuery param);


	/**
	 * 导出数据
	 *
	 * @param queryWrapper 查询条件
	 * @return List<XmOtherCostExcel>
	 */
	List<XmOtherCostExcel> export(Wrapper<XmOtherCostEntity> queryWrapper);

    void importData(MultipartFile file, String yearAndMonth);

	boolean submit(XmOtherCostEntity entity);

	boolean physicalDeleteByIds(List<Long> ids);
}
