package com.jwipc.finance.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.finance.entity.CostMatching;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.finance.model.po.CostMatchingPO;
import com.jwipc.finance.model.query.CostMatchingQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 对账模块-费用匹配单主表 Mapper 接口
 * </p>
 *
 * @author shenyang.ou
 * @since 2025-10-28
 */
public interface CostMatchingMapper extends BaseMapper<CostMatching> {

    List<CostMatchingPO> findPageByQuery(@Param("query") CostMatchingQuery query);

    List<CostMatchingPO> findPageByQuery(Page<CostMatching> dbPage, @Param("query") CostMatchingQuery query);
}
