package com.liquidnet.service.goblin.mapper;

import com.liquidnet.service.goblin.entity.GoblinSqbOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 收钱吧订单 Mapper 接口
 * </p>
 *
 * @author liquidnet
 * @since 2025-01-01
 */
public interface GoblinSqbOrderMapper extends BaseMapper<GoblinSqbOrder> {

    /**
     * 联表过滤：主单已支付(2)、演出已结束、扩展未核销；可选按演出 id 缩小范围
     */
    List<GoblinSqbOrder> selectAutoRefundCandidates(@Param("performancesId") String performancesId);
}
