
package org.sky.scientific.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.sky.scientific.excel.XmOtherCostExcel;
import org.sky.scientific.pojo.dto.XmOtherCostQuery;
import org.sky.scientific.pojo.entity.XmOtherCostEntity;

import java.util.List;

/**
 * 项目-其他费用-基本信息台账 Mapper 接口
 *
 * @author Kd
 * @since 2025-07-28
 */
public interface XmOtherCostMapper extends BaseMapper<XmOtherCostEntity> {

	/**
	 * 自定义分页
	 *
	 * @param page 分页参数
	 * @param xmOtherCost 查询参数
	 * @return List<XmOtherCostVO>
	 */
	List<XmOtherCostEntity> selectXmOtherCostPage(IPage page, @Param("ew") XmOtherCostQuery param);


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

	boolean physicalDeleteByIds(List<Long> ids);
}
