package com.jwipc.finance.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jwipc.finance.entity.PaymentAdvanceApply;
import com.jwipc.finance.entity.PaymentAdvanceRefundTransferApply;
import com.jwipc.finance.entity.PaymentAdvanceRefundTransferApplyDetail;
import com.jwipc.finance.model.po.PaymentAdvanceRefundTransferApplyPO;
import com.jwipc.finance.model.query.PaymentAdvanceRefundTransferApplyHeadQuery;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author qzc
 * @since 2025-07-21
 */
public interface IPaymentAdvanceRefundTransferApplyService extends IService<PaymentAdvanceRefundTransferApply> {

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

    PaymentAdvanceRefundTransferApplyPO selectById(Long id);

    String createRefundTransfer(PaymentAdvanceRefundTransferApply headData, List<PaymentAdvanceRefundTransferApplyDetail> refundTransferDetailList);

    String editRefundTransfer(PaymentAdvanceRefundTransferApply headData, List<PaymentAdvanceRefundTransferApplyDetail> refundTransferDetailList);

    List<PaymentAdvanceRefundTransferApply> findDataStatusByIdList(List<Long> applyIdList);
}
