package com.jwipc.finance.mapper;

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

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 对账模块-付款通知单主表 Mapper 接口
 * </p>
 *
 * @author shenyang.ou
 * @since 2025-10-27
 */
public interface PaymentNoticeMapper extends BaseMapper<PaymentNotice> {

    List<PaymentNoticePO> findPageByQuery(@Param("query") PaymentNoticeQuery query);

    List<PaymentNoticePO> findPageByQuery(Page<PaymentNotice> dbPage, @Param("query") PaymentNoticeQuery query);

    Map findCostNoById(@Param("id") Long id);
}
