
package org.sky.scientific.mapper;

import org.sky.scientific.pojo.dto.XmCqdtfyDTO;
import org.sky.scientific.pojo.entity.XmCqdtfyEntity;
import org.sky.scientific.pojo.vo.XmCqdtfyVO;
import org.sky.scientific.excel.XmCqdtfyExcel;
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-24
 */
public interface XmCqdtfyMapper extends BaseMapper<XmCqdtfyEntity> {

	/**
	 * 自定义分页
	 *
	 * @param page 分页参数
	 * @param dto 查询参数
	 * @return List<XmCqdtfyVO>
	 */
	List<XmCqdtfyVO> selectPageByCondition(IPage page, @Param("ew") XmCqdtfyDTO dto);


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

	int physicalDeleteByIds(List<Long> ids);
}
