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

import com.jeesharp.business.modules.finance.merchantsettlement.entity.MerchantSettlementPayout;
import com.jeesharp.business.modules.finance.merchantsettlement.vo.MerchantSettlementPayoutQueryVO;
import com.jeesharp.framework.mybatis.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商户结算打款记录 MyBatis Mapper。
 *
 * @author jeesharp
 * @since 2026-06-29
 */
@Mapper
public interface MerchantSettlementPayoutMapper extends BaseMapper<MerchantSettlementPayout, MerchantSettlementPayoutQueryVO> {

    /**
     * 按结算单查询打款记录，按打款时间倒序。
     */
    List<MerchantSettlementPayout> listBySettlementBillId(@Param("settlementBillId") String settlementBillId);
}
