package com.jeesharp.business.modules.finance.reconcile.mapper;

import com.jeesharp.business.modules.finance.payorder.entity.PayOrder;
import com.jeesharp.business.modules.finance.payrefund.entity.PayRefundOrder;
import com.jeesharp.business.modules.finance.profitsharing.entity.ProfitSharingOrder;
import com.jeesharp.business.modules.finance.reconcile.vo.FinanceReconcileQueryVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 财务对账专用 Mapper：按业务时间范围查询支付、分账、退款原始数据。
 *
 * @author jeesharp
 * @since 2026-06-11
 */
@Mapper
public interface FinanceReconcileMapper {

    List<PayOrder> listPayOrders(@Param("query") FinanceReconcileQueryVO query);

    List<ProfitSharingOrder> listSharingOrders(@Param("query") FinanceReconcileQueryVO query);

    List<PayRefundOrder> listRefundOrders(@Param("query") FinanceReconcileQueryVO query);
}
