package com.jwipc.finance.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.finance.entity.PaymentAdvanceApply;
import com.jwipc.finance.entity.PaymentAdvanceRefundTransferApply;
import com.jwipc.finance.model.po.PaymentAdvanceRefundTransferApplyPO;
import com.jwipc.finance.model.query.PaymentAdvanceRefundTransferApplyHeadQuery;
import com.jwipc.finance.model.query.PaymentApplyHeadQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 * @author qzc
 * @since 2025-07-21
 */
public interface PaymentAdvanceRefundTransferApplyMapper extends BaseMapper<PaymentAdvanceRefundTransferApply> {
    List<PaymentAdvanceRefundTransferApply> selectListByPage(@Param("query")PaymentAdvanceRefundTransferApplyHeadQuery query);

    List<PaymentAdvanceRefundTransferApply>  selectListByPage(@Param("dbPage") Page<PaymentAdvanceApply> dbPage, @Param("query") PaymentAdvanceRefundTransferApplyHeadQuery query);

    PaymentAdvanceRefundTransferApplyPO findById(Long id);

    List<PaymentAdvanceRefundTransferApply> findDataStatusByIdList(@Param("applyIdList") List<Long> applyIdList);
}
